/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_tx.c | 671 if (msgSize < sizeof(struct ether_header)) 677 ASSERT(msgSize >= sizeof(struct ether_header)); 700 if (((struct ether_header *)pMblk->b_rptr)->ether_type == 710 if (((struct ether_header *)pL2Hdr)->ether_type == htons(ETHERTYPE_VLAN)) 719 l2HdrLen = sizeof(struct ether_header);
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_send.c | 271 buf += sizeof (struct ether_header); 528 ASSERT(txbuf->copy_len >= sizeof (struct ether_header));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop.h | 260 extern int interpret_trill(int, struct ether_header **, char *, int *);
|
/illumos-gate/usr/src/uts/common/io/ppp/sppp/ |
H A D | sppp_dlpi.c | 1101 if ((eh = allocb(sizeof (struct ether_header), BPRI_MED)) == NULL) { 1122 eh->b_wptr += sizeof (struct ether_header); 1123 bzero((caddr_t)eh->b_rptr, sizeof (struct ether_header)); 1124 ((struct ether_header *)eh->b_rptr)->ether_type = htons((int16_t)type);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_rxdring.c | 720 struct ether_header *ehp; 811 ehp = (struct ether_header *)mp->b_rptr; 859 struct ether_header *ehp; 913 ehp = (struct ether_header *)mp->b_rptr;
|
H A D | vnet_rxdring.c | 581 struct ether_header *ehp; 619 ehp = (struct ether_header *)mp->b_rptr; 1054 struct ether_header *ehp; 1150 ehp = (struct ether_header *)mp->b_rptr;
|
H A D | vsw_txdring.c | 796 struct ether_header *ehp = (struct ether_header *)mp->b_rptr; 1041 struct ether_header *ehp; 1246 ehp = (struct ether_header *)mp->b_rptr;
|
H A D | vsw_phys.c | 1203 struct ether_header *ehp; 1214 ehp = (struct ether_header *)mp->b_rptr; 1220 arh = (struct arphdr *)(mp->b_rptr + sizeof (struct ether_header));
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge.h | 304 struct ether_header *__srp_etherhp; 382 struct ether_header *srf_etherhp; 508 struct ether_header *stp_etherhp; 981 struct ether_header **, struct ip **, struct tcphdr **, size_t *, size_t *,
|
H A D | sfxge_rx.c | 1324 struct ether_header *etherhp; 1338 sizeof (struct ether_header)) + 1364 struct ether_header *etherhp = srpp->srp_etherhp; 1510 struct ether_header *etherhp; 1775 sizeof (struct ether_header); 1783 struct ether_header *etherhp; 1786 etherhp = (struct ether_header *)(mp->b_rptr); 2623 hdrlen = sp->s_rx_prefix_size + sizeof (struct ether_header); 2650 hdrlen = sp->s_rx_prefix_size + sizeof (struct ether_header);
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | net.c | 244 struct ether_header *eh;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mac_client_impl.h | 268 if (ntohs(((struct ether_header *)(mp)->b_rptr)->ether_type) == \
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_ht.c | 89 (sizeof (struct ether_header) + sizeof (struct ieee80211_llc)) 94 struct ether_header *eh; 116 * 802.3 header is first (struct ether_header) 120 eh = (struct ether_header *)mp->b_rptr; 131 mp->b_rptr + sizeof (struct ether_header), framelen); 140 framelen += sizeof (struct ether_header);
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_lacp.c | 107 static void fill_lacp_ether(aggr_port_t *, struct ether_header *); 643 len = sizeof (lacp_t) + sizeof (struct ether_header); 651 fill_lacp_ether(portp, (struct ether_header *)mp->b_rptr); 653 (lacp_t *)(mp->b_rptr + sizeof (struct ether_header))); 669 fill_lacp_ether(aggr_port_t *port, struct ether_header *ether) 974 ASSERT(MBLKHEAD(mp) >= sizeof (struct ether_header)); 975 mp->b_rptr -= sizeof (struct ether_header); 976 fill_lacp_ether(portp, (struct ether_header *)mp->b_rptr); 2226 dmp->b_rptr += sizeof (struct ether_header);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 489 struct ether_header *eh; 519 eh = (struct ether_header *)buffer;
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls.c | 459 sizeof (struct ether_header); 477 ASSERT(MBLKL(mp) == sizeof (struct ether_header));
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnbu.c | 425 mr->m_margin = PAGESIZE - XNBMAXPKT - sizeof (struct ether_header);
|
/illumos-gate/usr/src/boot/include/net/ |
H A D | ethernet.h | 60 struct ether_header { struct
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_tx.c | 680 struct ether_header *eh; 748 eh = (struct ether_header *)(void *)mp->b_rptr; 759 ip_offset = sizeof (struct ether_header);
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge.c | 1776 struct ether_header *eh; 1797 eh = (struct ether_header *)(void *)mp->b_rptr; 2316 struct ether_header *eh; 2323 eh = (struct ether_header *)(void *)mp->b_rptr; 2928 myri10ge_tx_stat(struct myri10ge_tx_pkt_stats *s, struct ether_header *eh, 2980 (struct ether_header *)(void *)cp->va, 1, len); 3043 struct ether_header eh_copy; 3044 struct ether_header *eh; 3053 eh = (struct ether_header *)(void *)mp->b_rptr; 3631 (struct ether_header *)(voi [all...] |
/illumos-gate/usr/src/uts/common/io/hme/ |
H A D | hme.c | 2303 start_offset += sizeof (struct ether_header) + 4; 2304 stuff_offset += sizeof (struct ether_header) + 4; 2306 start_offset += sizeof (struct ether_header); 2307 stuff_offset += sizeof (struct ether_header); 2673 i |= ((sizeof (struct ether_header) / 2) << HMER_RX_CSSTART_SHIFT); 3466 uint_t end = len - sizeof (struct ether_header);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_data.c | 456 struct ether_header *hdr; 462 hdr = (struct ether_header *)(void *)mp->b_rptr; 791 eth_hdr_len = (evh->eh_tagless) ? (sizeof (struct ether_header)) :
|
/illumos-gate/usr/src/uts/common/io/vioif/ |
H A D | vioif.c | 329 #define ETHER_HEADER_LEN sizeof (struct ether_header) 1109 struct ether_header *eth_header; 1123 eth_hsize = sizeof (struct ether_header);
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 417 (MBLKL(mp) < sizeof (struct ether_header))) { 777 struct ether_header *ehp; 824 ehp = (struct ether_header *)mp->b_rptr; 834 mp->b_rptr += sizeof (struct ether_header);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bridge.c | 160 sizeof (struct ether_header)) 1726 if (MBLKL(mp) < sizeof (struct ether_header)) { 1727 mpcopy = msgpullup(mp, sizeof (struct ether_header)); 1760 minlen = sizeof (struct ether_header); 1778 mp->b_rptr + sizeof (struct ether_header), 1790 if (mlen > sizeof (struct ether_header)) 1791 ovbcopy(mp->b_rptr + sizeof (struct ether_header), 1793 mlen - sizeof (struct ether_header)); 1833 mp->b_rptr += sizeof (struct ether_header);
|