Searched defs:ETH_HLEN (Results 1 - 6 of 6) sorted by relevance

/external/iproute2/include/linux/
H A Dif_ether.h32 #define ETH_HLEN 14 /* Total octets in header. */ macro
/external/kernel-headers/original/linux/
H A Dif_ether.h32 #define ETH_HLEN 14 /* Total octets in header. */ macro
/external/libpcap/
H A Dpcap-dos.h24 #define ETH_HLEN (2*ETH_ALEN+2) /* Ether header length */ macro
27 #define ETH_MAX (ETH_MTU+ETH_HLEN)
/external/qemu/slirp/
H A Dslirp.c565 #define ETH_HLEN 14 macro
600 struct arphdr *ah = (struct arphdr *)(pkt + ETH_HLEN);
601 uint8_t arp_reply[ETH_HLEN + sizeof(struct arphdr)];
603 struct arphdr *rah = (struct arphdr *)(arp_reply + ETH_HLEN);
657 if (pkt_len < ETH_HLEN)
676 m->m_data += 2 + ETH_HLEN;
677 m->m_len -= 2 + ETH_HLEN;
692 if (ip_data_len + ETH_HLEN > sizeof(buf))
696 uint8_t arp_req[ETH_HLEN + sizeof(struct arphdr)];
698 struct arphdr *rah = (struct arphdr *)(arp_req + ETH_HLEN);
[all...]
/external/grub/netboot/
H A Detherboot.h60 #define MAX_BOOTP_EXTLEN (ETH_FRAME_LEN - ETH_HLEN - \
96 #define ETH_HLEN 14 /* Size of ethernet header */ macro
104 #define ETH_MAX_MTU (ETH_FRAME_LEN - ETH_HLEN \
/external/qemu/slirp-android/
H A Dslirp.c654 #define ETH_HLEN 14 macro
689 struct arphdr *ah = (struct arphdr *)(pkt + ETH_HLEN);
690 uint8_t arp_reply[ETH_HLEN + sizeof(struct arphdr)];
692 struct arphdr *rah = (struct arphdr *)(arp_reply + ETH_HLEN);
750 if (pkt_len < ETH_HLEN)
769 m->m_data += 2 + ETH_HLEN;
770 m->m_len -= 2 + ETH_HLEN;
785 if (ip_data_len + ETH_HLEN > sizeof(buf))
789 uint8_t arp_req[ETH_HLEN + sizeof(struct arphdr)];
791 struct arphdr *rah = (struct arphdr *)(arp_req + ETH_HLEN);
[all...]

Completed in 943 milliseconds