/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/ |
if_ether.h | 18 #define ETH_HLEN 14
|
/external/grub/netboot/ |
tiara.c | 171 len = s + ETH_HLEN; 181 while (s++ < ETH_ZLEN - ETH_HLEN) /* pad */
|
etherboot.h | 60 #define MAX_BOOTP_EXTLEN (ETH_FRAME_LEN - ETH_HLEN - \ 96 #define ETH_HLEN 14 /* Size of ethernet header */ 104 #define ETH_MAX_MTU (ETH_FRAME_LEN - ETH_HLEN \
|
main.c | 367 tr = (struct tftp_t *) &nic.packet[ETH_HLEN]; 747 unsigned int protohdrlen = (ETH_HLEN + sizeof (struct iphdr) 764 if (nic.packetlen >= ETH_HLEN) 773 if (nic.packetlen >= ETH_HLEN + sizeof (struct arprequest) 778 arpreply = (struct arprequest *) &nic.packet[ETH_HLEN]; 824 && nic.packetlen >= ETH_HLEN + sizeof (struct arprequest) 827 arpreply = (struct arprequest *) &nic.packet[ETH_HLEN]; 848 ip = (struct iphdr *) &nic.packet[ETH_HLEN]; 870 udp = (struct udphdr *) &nic.packet[(ETH_HLEN 880 &nic.packet[(ETH_HLEN + sizeof (struct iphdr [all...] |
3c595.c | 174 printf("{l=%d,t=%hX}",s+ETH_HLEN,t); 180 len=s+ETH_HLEN; /* actual length of packet */
|
epic100.c | 319 memcpy(txp + ETH_HLEN, data, len); 321 len += ETH_HLEN;
|
ni5010.c | 251 len = s + ETH_HLEN; 264 while (s++ < ETH_ZLEN - ETH_HLEN) /* Pad to min size */
|
otulip.c | 54 static unsigned char ehdr[ETH_HLEN]; /* buffer for ethernet header */ 283 txd.buf1sz = ETH_HLEN;
|
ns8390.c | 353 memcpy((char *)eth_bmem+ETH_HLEN, p, s); 354 s += ETH_HLEN; 374 memcpy((char *)eth_bmem+ETH_HLEN, p, s); 375 s += ETH_HLEN; 398 eth_pio_write(p, (eth_tx_start<<8)+ETH_HLEN, s); 399 s += ETH_HLEN;
|
w89c840.c | 516 memcpy (tx_packet + ETH_HLEN, p, s); 517 s += ETH_HLEN; 520 *((char *) tx_packet + ETH_HLEN + (s++)) = 0;
|
3c509.c | 166 printf("{l=%d,t=%hX}",s+ETH_HLEN,t); 172 len=s+ETH_HLEN; /* actual length of packet */
|
davicom.c | 576 memcpy(&txb[ETH_HLEN], p, s); /* Frame data */ 579 txd[TxPtr].buf1sz = ETH_HLEN+s;
|
depca.c | 626 memcpy_toio(mem + ETH_HLEN, p, s); 627 s += ETH_HLEN;
|
fa311.c | 287 memcpy(txp + ETH_HLEN, data, len); 288 len += ETH_HLEN;
|
natsemi.c | 627 memcpy(txb + ETH_HLEN, p, s); 629 s += ETH_HLEN;
|
rtl8139.c | 344 memcpy(tx_buffer + ETH_HLEN, data, len); 346 len += ETH_HLEN;
|
fsys_tftp.c | 103 tr = (struct tftp_t *) &nic.packet[ETH_HLEN];
|
via-rhine.c | 1150 memcpy (tp->tx_buffs[entry] + ETH_HLEN, p, s); 1151 s += ETH_HLEN; 1153 *((char *) tp->tx_buffs[entry] + ETH_HLEN + (s++)) = 0; 1155 tp->tx_ring[entry].tx_ctrl.bits.tx_buf_size = ETH_HLEN + s;
|
/external/libpcap/ |
pcap-dos.h | 24 #define ETH_HLEN (2*ETH_ALEN+2) /* Ether header length */ 27 #define ETH_MAX (ETH_MTU+ETH_HLEN)
|
/bionic/libc/kernel/common/linux/ |
if_ether.h | 24 #define ETH_HLEN 14
|
/external/iproute2/include/linux/ |
if_ether.h | 32 #define ETH_HLEN 14 /* Total octets in header. */
|
/external/qemu/slirp/ |
slirp.c | 565 #define ETH_HLEN 14 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/kernel-headers/original/linux/ |
if_ether.h | 32 #define ETH_HLEN 14 /* Total octets in header. */
|
/external/qemu/slirp-android/ |
slirp.c | 654 #define ETH_HLEN 14 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...] |
/external/dhcpcd/ |
lpf.c | 42 # define BPF_ETHCOOK -ETH_HLEN
|