Home
last modified time | relevance | path

Searched refs:ETH_HLEN (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dif_ether.h13 #define ETH_HLEN 14 /* Size of ethernet header */ macro
18 #define ETH_MAX_MTU (ETH_FRAME_LEN-ETH_HLEN)
H A Dnic.c284 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 Dpnic.c165 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 Dns8390.c405 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 D3c595.c173 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 Depic100.c325 memcpy(txp + ETH_HLEN, data, len); in epic100_transmit()
327 len += ETH_HLEN; in epic100_transmit()
H A Dw89c840.c507 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 Drtl8139.c378 memcpy(tx_buffer + ETH_HLEN, data, len); in rtl_transmit()
380 len += ETH_HLEN; in rtl_transmit()
H A Dnatsemi.c625 memcpy(txb + ETH_HLEN, p, s); in natsemi_transmit()
627 s += ETH_HLEN; in natsemi_transmit()
H A Ddavicom.c554 memcpy(&txb[ETH_HLEN], p, s); /* Frame data */ in davicom_transmit()
557 txd[TxPtr].buf1sz = ETH_HLEN+s; in davicom_transmit()
H A Dvia-rhine.c1268 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 Dfsys_tftp.c141 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 Dr8169.c518 memcpy(ptxb + ETH_HLEN, p, s); in r8169_transmit()
519 s += ETH_HLEN; in r8169_transmit()
H A Dsundance.c530 memcpy(txb + ETH_HLEN, p, s); in sundance_transmit()
532 s += ETH_HLEN; in sundance_transmit()
H A Dforcedeth.c857 memcpy(ptxb + ETH_HLEN, p, s); in forcedeth_transmit()
859 s += ETH_HLEN; in forcedeth_transmit()
H A Dns83820.c735 memcpy(txb + ETH_HLEN, p, s); in ns83820_transmit()
736 s += ETH_HLEN; in ns83820_transmit()
H A Dpcnet32.c602 memcpy(ptxb + ETH_HLEN, p, s); in pcnet32_transmit()
604 s += ETH_HLEN; in pcnet32_transmit()
H A Dsis900.c1094 memcpy(txb + ETH_HLEN, p, s); in sis900_transmit()
1096 s += ETH_HLEN; in sis900_transmit()
H A Dtulip.c413 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 Dtlan.c658 memcpy(tail_buffer + ETH_HLEN, p, s); in tlan_transmit()
660 s += ETH_HLEN; in tlan_transmit()
H A Dtg3.c2065 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()