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

/osnet-11/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))
286 arpreply = (struct arprequest *)&nic.packet[ETH_HLEN];
461 if (nic.packetlen < ETH_HLEN + sizeof(struct arprequest))
463 arpreply = (struct arprequest *)&nic.packet[ETH_HLEN];
535 &nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)];
536 len = nic.packetlen - (ETH_HLEN + sizeof(struct iphdr) +
632 &nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)];
633 len = nic.packetlen - (ETH_HLEN + sizeof(struct iphdr) +
919 if (nic.packetlen >= ETH_HLEN) {
925 if ((ptype == IP) && (nic.packetlen >= ETH_HLEN
[all...]
H A Dpnic.c165 if ( ( ETH_HLEN + size ) >= ETH_FRAME_LEN ) {
174 memcpy ( tx_buffer + ETH_HLEN, data, size );
176 pnic_command ( nic, PNIC_CMD_XMIT, tx_buffer, ETH_HLEN + size,
H A Dns8390.c405 memcpy((char *)eth_vmem+ETH_HLEN, p, s);
406 s += ETH_HLEN;
427 memcpy((char *)eth_vmem+ETH_HLEN, p, s);
428 s += ETH_HLEN;
451 eth_pio_write(p, (eth_tx_start<<8)+ETH_HLEN, s);
452 s += ETH_HLEN;
H A Dw89c840.c507 memcpy (tx_packet + ETH_HLEN, p, s);
508 s += ETH_HLEN;
511 *((char *) tx_packet + ETH_HLEN + (s++)) = 0;
H A D3c595.c173 printf("{l=%d,t=%hX}",s+ETH_HLEN,t);
179 len=s+ETH_HLEN; /* actual length of packet */
H A Depic100.c325 memcpy(txp + ETH_HLEN, data, len);
327 len += ETH_HLEN;
H A Drtl8139.c378 memcpy(tx_buffer + ETH_HLEN, data, len);
380 len += ETH_HLEN;
H A Ddavicom.c561 memcpy(&txb[ETH_HLEN], p, s); /* Frame data */
564 txd[TxPtr].buf1sz = ETH_HLEN+s;
H A Dfsys_tftp.c141 tr = (struct tftp_t *)&nic.packet[ETH_HLEN];
290 tr = (struct tftp_t *) &nic.packet[ETH_HLEN];
H A Dnatsemi.c625 memcpy(txb + ETH_HLEN, p, s);
627 s += ETH_HLEN;
H A Dr8169.c518 memcpy(ptxb + ETH_HLEN, p, s);
519 s += ETH_HLEN;
H A Dvia-rhine.c1268 memcpy (tp->tx_buffs[entry] + ETH_HLEN, p, s);
1269 s += ETH_HLEN;
1271 *((char *) tp->tx_buffs[entry] + ETH_HLEN + (s++)) = 0;
H A Dforcedeth.c857 memcpy(ptxb + ETH_HLEN, p, s);
859 s += ETH_HLEN;
H A Dns83820.c735 memcpy(txb + ETH_HLEN, p, s);
736 s += ETH_HLEN;
H A Dpcnet32.c602 memcpy(ptxb + ETH_HLEN, p, s);
604 s += ETH_HLEN;
H A Dsis900.c1094 memcpy(txb + ETH_HLEN, p, s);
1096 s += ETH_HLEN;
H A Dsundance.c530 memcpy(txb + ETH_HLEN, p, s);
532 s += ETH_HLEN;
H A Dtlan.c658 memcpy(tail_buffer + ETH_HLEN, p, s);
660 s += ETH_HLEN;
H A Dtg3.c2065 MAC_RX_MTU_SIZE, ETH_MAX_MTU + ETH_HLEN + 8,
3062 uint8_t data [ETH_FRAME_LEN - ETH_HLEN];
3102 txd->len_flags = ((size + ETH_HLEN) << TXD_LEN_SHIFT) | TXD_FLAG_END;
H A Dtulip.c413 unsigned char ehdr[ETH_HLEN]; /* buffer for ethernet header */
1088 memcpy(txb + ETH_HLEN, p, s);
1090 s += ETH_HLEN;

Completed in 91 milliseconds