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

12

/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dif_ether.h9 #define ETH_HLEN 14 /* Size of ethernet header */ macro
14 #define ETH_MAX_MTU (ETH_FRAME_LEN-ETH_HLEN)
/vbox/src/VBox/Devices/Network/slirp/
H A Dtcp_output.c395 if ((len + hdrlen + ETH_HLEN) < MSIZE)
397 else if ((len + hdrlen + ETH_HLEN) < MCLBYTES)
399 else if((len + hdrlen + ETH_HLEN) < MJUM9BYTES)
401 else if ((len + hdrlen + ETH_HLEN) < MJUM16BYTES)
456 if ((hdrlen + ETH_HLEN) < MSIZE)
460 else if ((hdrlen + ETH_HLEN) < MCLBYTES)
464 else if((hdrlen + ETH_HLEN) < MJUM9BYTES)
468 else if ((hdrlen + ETH_HLEN) < MJUM16BYTES)
H A Dip_output.c164 eh = (struct ethhdr *)(m->m_data - ETH_HLEN);
323 m->m_data -= ETH_HLEN;
325 m->m_data += ETH_HLEN;
H A Dslirp.c1288 pMbufResponse->m_data += ETH_HLEN;
1384 if (cbBuf < ETH_HLEN)
1405 m_adj(m, ETH_HLEN);
1446 Assert(M_LEADINGSPACE(m) >= ETH_HLEN);
1447 m->m_data -= ETH_HLEN;
1448 m->m_len += ETH_HLEN;
1928 m->m_len = sizeof(struct arphdr) + ETH_HLEN;
1929 m->m_data += ETH_HLEN;
1930 m->m_len -= ETH_HLEN;
H A Dslirp.h377 # define ETH_HLEN 14 macro
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dethernet.c173 .ll_header_len = ETH_HLEN,
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/vxge/
H A Dvxge_traffic.h42 (ETH_HLEN + \
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A D3c5x9.c147 printf("{l=%d,t=%hX}",s+ETH_HLEN,t);
153 len=s+ETH_HLEN; /* actual length of packet */
H A Dns8390.c419 memcpy((char *)eth_vmem+ETH_HLEN, p, s);
420 s += ETH_HLEN;
441 memcpy((char *)eth_vmem+ETH_HLEN, p, s);
442 s += ETH_HLEN;
465 eth_pio_write( (unsigned char *) p, (eth_tx_start<<8)+ETH_HLEN, s);
466 s += ETH_HLEN;
H A Dw89c840.c514 memcpy (w89c840_buf.tx_packet + ETH_HLEN, p, s);
515 s += ETH_HLEN;
518 *((char *) w89c840_buf.tx_packet + ETH_HLEN + (s++)) = 0;
H A Damd8111e.c61 #define TX_PKT_LEN_MAX (ETH_FRAME_LEN - ETH_HLEN)
94 u8 data[ETH_FRAME_LEN - ETH_HLEN];
558 lp->tx_ring[index].buf_len = cpu_to_le16(ETH_HLEN + size);
H A D3c595.c177 printf("{l=%d,t=%hX}",s+ETH_HLEN,t);
183 len=s+ETH_HLEN; /* actual length of packet */
H A Ddepca.c629 memcpy_toio(mem + ETH_HLEN, p, s);
630 s += ETH_HLEN;
H A Depic100.c330 memcpy(txp + ETH_HLEN, data, len);
332 len += ETH_HLEN;
H A Dne2k_isa.c350 eth_pio_write((unsigned char *) p, (eth_tx_start << 8) + ETH_HLEN, s);
351 s += ETH_HLEN;
H A D3c515.c521 DBG ( "{l=%d,t=0x%hX}", s + ETH_HLEN, t );
526 len = s + ETH_HLEN; /* actual length of packet */
H A Ddavicom.c547 memcpy(&txb[ETH_HLEN], p, s); /* Frame data */
550 txd[TxPtr].buf1sz = ETH_HLEN+s;
H A Datl1e.c35 #define RX_JUMBO_THRESH ((MAX_FRAME_SIZE + ETH_HLEN + \
326 + ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN;
525 extra_size = ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN;
682 AT_WRITE_REG(hw, REG_MTU, MAX_FRAME_SIZE + ETH_HLEN +
H A Dcs89x0.c401 if ((sr = ((s + ETH_HLEN + 1)&~1)) < ETH_ZLEN)
H A Db44.c354 bw32(bp, B44_RXMAXLEN, B44_MAX_MTU + ETH_HLEN + 8 + RX_HEADER_LEN);
355 bw32(bp, B44_TXMAXLEN, B44_MAX_MTU + ETH_HLEN + 8 + RX_HEADER_LEN);
H A Ddmfe.c424 memcpy(ptxb + ETH_HLEN, packet, size);
426 size += ETH_HLEN;
H A Dsis900.c1142 memcpy(txb + ETH_HLEN, p, s);
1144 s += ETH_HLEN;
H A Dsundance.c514 memcpy(txb + ETH_HLEN, p, s);
516 s += ETH_HLEN;
H A Dvia-rhine.c1369 memcpy (tp->tx_buffs[entry] + ETH_HLEN, p, s);
1370 s += ETH_HLEN;
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/efi/
H A Dsnpnet.c101 len = snp->Mode->MaxPacketSize + ETH_HLEN + 8;

Completed in 2221 milliseconds

12