/bionic/libc/kernel/common/linux/ |
if_ether.h | 88 struct ethhdr { struct
|
/external/qemu/slirp/ |
slirp.c | 573 struct ethhdr struct 599 struct ethhdr *eh = (struct ethhdr *)pkt; 602 struct ethhdr *reh = (struct ethhdr *)arp_reply; 690 struct ethhdr *eh = (struct ethhdr *)buf; 697 struct ethhdr *reh = (struct ethhdr *)arp_req; 732 memcpy(buf + sizeof(struct ethhdr), ip_data, ip_data_len) [all...] |
/external/qemu/slirp-android/ |
slirp.c | 654 struct ethhdr struct 680 struct ethhdr *eh = (struct ethhdr *)pkt; 683 struct ethhdr *reh = (struct ethhdr *)arp_reply; 775 struct ethhdr *eh = (struct ethhdr *)buf; 782 struct ethhdr *reh = (struct ethhdr *)arp_req; 817 memcpy(buf + sizeof(struct ethhdr), ip_data, ip_data_len) [all...] |
/external/kernel-headers/original/linux/ |
if_arcnet.h | 86 struct ethhdr eth; /* standard ethernet header (yuck!) */
|
/external/ppp/pppd/plugins/rp-pppoe/ |
common.c | 409 memcpy(packet.ethHdr.h_dest, conn->peerEth, ETH_ALEN); 410 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); 412 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery);
|
if.c | 128 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); 551 tmp_sap = htons(pkt->ethHdr.h_proto); 552 data_size = size - sizeof(struct ethhdr); 554 memcpy((char *)phys, (char *)pkt->ethHdr.h_dest, ETHERADDRL); 556 memcpy((char *)xmitbuf, (char *)pkt + sizeof(struct ethhdr), data_size);
|
/external/iproute2/include/linux/ |
if_ether.h | 117 struct ethhdr { struct
|