/external/grub/netboot/ |
D | main.c | 367 tr = (struct tftp_t *) &nic.packet[ETH_HLEN]; in tftp() 747 unsigned int protohdrlen = (ETH_HLEN + sizeof (struct iphdr) in await_reply() 764 if (nic.packetlen >= ETH_HLEN) in await_reply() 773 if (nic.packetlen >= ETH_HLEN + sizeof (struct arprequest) in await_reply() 778 arpreply = (struct arprequest *) &nic.packet[ETH_HLEN]; in await_reply() 824 && nic.packetlen >= ETH_HLEN + sizeof (struct arprequest) in await_reply() 827 arpreply = (struct arprequest *) &nic.packet[ETH_HLEN]; in await_reply() 848 ip = (struct iphdr *) &nic.packet[ETH_HLEN]; in await_reply() 870 udp = (struct udphdr *) &nic.packet[(ETH_HLEN in await_reply() 880 &nic.packet[(ETH_HLEN + sizeof (struct iphdr) in await_reply() [all …]
|
D | etherboot.h | 60 #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 \
|
D | tiara.c | 171 len = s + ETH_HLEN; in tiara_transmit() 181 while (s++ < ETH_ZLEN - ETH_HLEN) /* pad */ in tiara_transmit()
|
D | ns8390.c | 353 memcpy((char *)eth_bmem+ETH_HLEN, p, s); in ns8390_transmit() 354 s += ETH_HLEN; in ns8390_transmit() 374 memcpy((char *)eth_bmem+ETH_HLEN, p, s); in ns8390_transmit() 375 s += ETH_HLEN; in ns8390_transmit() 398 eth_pio_write(p, (eth_tx_start<<8)+ETH_HLEN, s); in ns8390_transmit() 399 s += ETH_HLEN; in ns8390_transmit()
|
D | ni5010.c | 251 len = s + ETH_HLEN; in ni5010_transmit() 264 while (s++ < ETH_ZLEN - ETH_HLEN) /* Pad to min size */ in ni5010_transmit()
|
D | otulip.c | 54 static unsigned char ehdr[ETH_HLEN]; /* buffer for ethernet header */ 283 txd.buf1sz = ETH_HLEN; in tulip_transmit()
|
D | via-rhine.c | 1150 memcpy (tp->tx_buffs[entry] + ETH_HLEN, p, s); in rhine_transmit() 1151 s += ETH_HLEN; in rhine_transmit() 1153 *((char *) tp->tx_buffs[entry] + ETH_HLEN + (s++)) = 0; in rhine_transmit() 1155 tp->tx_ring[entry].tx_ctrl.bits.tx_buf_size = ETH_HLEN + s; in rhine_transmit()
|
D | epic100.c | 319 memcpy(txp + ETH_HLEN, data, len); in epic100_transmit() 321 len += ETH_HLEN; in epic100_transmit()
|
D | 3c595.c | 174 printf("{l=%d,t=%hX}",s+ETH_HLEN,t); in t595_transmit() 180 len=s+ETH_HLEN; /* actual length of packet */ in t595_transmit()
|
D | rtl8139.c | 344 memcpy(tx_buffer + ETH_HLEN, data, len); in rtl_transmit() 346 len += ETH_HLEN; in rtl_transmit()
|
D | w89c840.c | 516 memcpy (tx_packet + ETH_HLEN, p, s); in w89c840_transmit() 517 s += ETH_HLEN; in w89c840_transmit() 520 *((char *) tx_packet + ETH_HLEN + (s++)) = 0; in w89c840_transmit()
|
D | depca.c | 626 memcpy_toio(mem + ETH_HLEN, p, s); in depca_transmit() 627 s += ETH_HLEN; in depca_transmit()
|
D | fa311.c | 287 memcpy(txp + ETH_HLEN, data, len); in fa311_transmit() 288 len += ETH_HLEN; in fa311_transmit()
|
D | 3c509.c | 166 printf("{l=%d,t=%hX}",s+ETH_HLEN,t); in t509_transmit() 172 len=s+ETH_HLEN; /* actual length of packet */ in t509_transmit()
|
D | natsemi.c | 626 memcpy(txb + ETH_HLEN, p, s); in natsemi_transmit() 628 s += ETH_HLEN; in natsemi_transmit()
|
D | lance.c | 349 memcpy(&lp->tbuf[ETH_HLEN], p, s); in lance_transmit() 350 s += ETH_HLEN; in lance_transmit()
|
D | davicom.c | 568 memcpy(&txb[ETH_HLEN], p, s); /* Frame data */ in davicom_transmit() 571 txd[TxPtr].buf1sz = ETH_HLEN+s; in davicom_transmit()
|
D | sk_g16.c | 642 memcpy(&p->ram->tmdbuf[p->tmdnum][ETH_HLEN], pack, s); in SK_transmit() 643 s += ETH_HLEN; in SK_transmit()
|
D | fsys_tftp.c | 103 tr = (struct tftp_t *) &nic.packet[ETH_HLEN]; in buf_fill()
|
/external/qemu/slirp/ |
D | slirp.c | 565 #define ETH_HLEN 14 macro 600 struct arphdr *ah = (struct arphdr *)(pkt + ETH_HLEN); in arp_input() 601 uint8_t arp_reply[ETH_HLEN + sizeof(struct arphdr)]; in arp_input() 603 struct arphdr *rah = (struct arphdr *)(arp_reply + ETH_HLEN); in arp_input() 657 if (pkt_len < ETH_HLEN) in slirp_input() 676 m->m_data += 2 + ETH_HLEN; in slirp_input() 677 m->m_len -= 2 + ETH_HLEN; in slirp_input() 692 if (ip_data_len + ETH_HLEN > sizeof(buf)) in if_encap() 696 uint8_t arp_req[ETH_HLEN + sizeof(struct arphdr)]; in if_encap() 698 struct arphdr *rah = (struct arphdr *)(arp_req + ETH_HLEN); in if_encap() [all …]
|
/external/qemu/slirp-android/ |
D | slirp.c | 654 #define ETH_HLEN 14 macro 689 struct arphdr *ah = (struct arphdr *)(pkt + ETH_HLEN); in arp_input() 690 uint8_t arp_reply[ETH_HLEN + sizeof(struct arphdr)]; in arp_input() 692 struct arphdr *rah = (struct arphdr *)(arp_reply + ETH_HLEN); in arp_input() 750 if (pkt_len < ETH_HLEN) in slirp_input() 769 m->m_data += 2 + ETH_HLEN; in slirp_input() 770 m->m_len -= 2 + ETH_HLEN; in slirp_input() 785 if (ip_data_len + ETH_HLEN > sizeof(buf)) in if_encap() 789 uint8_t arp_req[ETH_HLEN + sizeof(struct arphdr)]; in if_encap() 791 struct arphdr *rah = (struct arphdr *)(arp_req + ETH_HLEN); in if_encap() [all …]
|
/external/libpcap/ |
D | pcap-dos.h | 24 #define ETH_HLEN (2*ETH_ALEN+2) /* Ether header length */ macro 27 #define ETH_MAX (ETH_MTU+ETH_HLEN)
|
/external/iproute2/include/linux/ |
D | if_ether.h | 32 #define ETH_HLEN 14 /* Total octets in header. */ macro
|
/external/kernel-headers/original/linux/ |
D | if_ether.h | 32 #define ETH_HLEN 14 /* Total octets in header. */ macro
|
/external/dhcpcd/ |
D | lpf.c | 42 # define BPF_ETHCOOK -ETH_HLEN
|