/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | if_ether.h | 13 #define ETH_HLEN 14 /* Size of ethernet header */ macro 18 #define ETH_MAX_MTU (ETH_FRAME_LEN-ETH_HLEN)
|
H A D | nic.c | 284 if (nic.packetlen < ETH_HLEN + sizeof(struct arprequest)) in await_arp() 286 arpreply = (struct arprequest *)&nic.packet[ETH_HLEN]; in await_arp() 461 if (nic.packetlen < ETH_HLEN + sizeof(struct arprequest)) in await_rarp() 463 arpreply = (struct arprequest *)&nic.packet[ETH_HLEN]; in await_rarp() 535 &nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)]; in await_bootp() 536 len = nic.packetlen - (ETH_HLEN + sizeof(struct iphdr) + in await_bootp() 632 &nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)]; in await_dhcp() 633 len = nic.packetlen - (ETH_HLEN + sizeof(struct iphdr) + in await_dhcp() 919 if (nic.packetlen >= ETH_HLEN) { in await_reply() 925 if ((ptype == IP) && (nic.packetlen >= ETH_HLEN + sizeof(struct iphdr))) { in await_reply() [all …]
|
H A D | pnic.c | 165 if ( ( ETH_HLEN + size ) >= ETH_FRAME_LEN ) { in pnic_transmit() 174 memcpy ( tx_buffer + ETH_HLEN, data, size ); in pnic_transmit() 176 pnic_command ( nic, PNIC_CMD_XMIT, tx_buffer, ETH_HLEN + size, in pnic_transmit()
|
H A D | ns8390.c | 405 memcpy((char *)eth_vmem+ETH_HLEN, p, s); in ns8390_transmit() 406 s += ETH_HLEN; in ns8390_transmit() 427 memcpy((char *)eth_vmem+ETH_HLEN, p, s); in ns8390_transmit() 428 s += ETH_HLEN; in ns8390_transmit() 451 eth_pio_write(p, (eth_tx_start<<8)+ETH_HLEN, s); in ns8390_transmit() 452 s += ETH_HLEN; in ns8390_transmit()
|
H A D | 3c595.c | 173 printf("{l=%d,t=%hX}",s+ETH_HLEN,t); in t595_transmit() 179 len=s+ETH_HLEN; /* actual length of packet */ in t595_transmit()
|
H A D | epic100.c | 325 memcpy(txp + ETH_HLEN, data, len); in epic100_transmit() 327 len += ETH_HLEN; in epic100_transmit()
|
H A D | w89c840.c | 507 memcpy (tx_packet + ETH_HLEN, p, s); in w89c840_transmit() 508 s += ETH_HLEN; in w89c840_transmit() 511 *((char *) tx_packet + ETH_HLEN + (s++)) = 0; in w89c840_transmit()
|
H A D | rtl8139.c | 378 memcpy(tx_buffer + ETH_HLEN, data, len); in rtl_transmit() 380 len += ETH_HLEN; in rtl_transmit()
|
H A D | natsemi.c | 625 memcpy(txb + ETH_HLEN, p, s); in natsemi_transmit() 627 s += ETH_HLEN; in natsemi_transmit()
|
H A D | davicom.c | 554 memcpy(&txb[ETH_HLEN], p, s); /* Frame data */ in davicom_transmit() 557 txd[TxPtr].buf1sz = ETH_HLEN+s; in davicom_transmit()
|
H A D | via-rhine.c | 1268 memcpy (tp->tx_buffs[entry] + ETH_HLEN, p, s); in rhine_transmit() 1269 s += ETH_HLEN; in rhine_transmit() 1271 *((char *) tp->tx_buffs[entry] + ETH_HLEN + (s++)) = 0; in rhine_transmit()
|
H A D | fsys_tftp.c | 141 tr = (struct tftp_t *)&nic.packet[ETH_HLEN]; in tftp_file_read() 290 tr = (struct tftp_t *) &nic.packet[ETH_HLEN]; in buf_fill()
|
H A D | r8169.c | 518 memcpy(ptxb + ETH_HLEN, p, s); in r8169_transmit() 519 s += ETH_HLEN; in r8169_transmit()
|
H A D | sundance.c | 530 memcpy(txb + ETH_HLEN, p, s); in sundance_transmit() 532 s += ETH_HLEN; in sundance_transmit()
|
H A D | forcedeth.c | 857 memcpy(ptxb + ETH_HLEN, p, s); in forcedeth_transmit() 859 s += ETH_HLEN; in forcedeth_transmit()
|
H A D | ns83820.c | 735 memcpy(txb + ETH_HLEN, p, s); in ns83820_transmit() 736 s += ETH_HLEN; in ns83820_transmit()
|
H A D | pcnet32.c | 602 memcpy(ptxb + ETH_HLEN, p, s); in pcnet32_transmit() 604 s += ETH_HLEN; in pcnet32_transmit()
|
H A D | sis900.c | 1094 memcpy(txb + ETH_HLEN, p, s); in sis900_transmit() 1096 s += ETH_HLEN; in sis900_transmit()
|
H A D | tulip.c | 413 unsigned char ehdr[ETH_HLEN]; /* buffer for ethernet header */ 1088 memcpy(txb + ETH_HLEN, p, s); in tulip_transmit() 1090 s += ETH_HLEN; in tulip_transmit()
|
H A D | tlan.c | 658 memcpy(tail_buffer + ETH_HLEN, p, s); in tlan_transmit() 660 s += ETH_HLEN; in tlan_transmit()
|
H A D | tg3.c | 2065 MAC_RX_MTU_SIZE, ETH_MAX_MTU + ETH_HLEN + 8, in tg3_setup_hw() 3062 uint8_t data [ETH_FRAME_LEN - ETH_HLEN]; in tg3_transmit() 3102 txd->len_flags = ((size + ETH_HLEN) << TXD_LEN_SHIFT) | TXD_FLAG_END; in tg3_transmit()
|