Searched refs:ether_header (Results 26 - 50 of 100) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_tx.c671 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 Dbge_send.c271 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 Dsnoop.h260 extern int interpret_trill(int, struct ether_header **, char *, int *);
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp_dlpi.c1101 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 Dvsw_rxdring.c720 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 Dvnet_rxdring.c581 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 Dvsw_txdring.c796 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 Dvsw_phys.c1203 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 Dsfxge.h304 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 Dsfxge_rx.c1324 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 Dnet.c244 struct ether_header *eh;
/illumos-gate/usr/src/uts/common/sys/
H A Dmac_client_impl.h268 if (ntohs(((struct ether_header *)(mp)->b_rptr)->ether_type) == \
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_ht.c89 (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 Daggr_lacp.c107 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 Devents.c489 struct ether_header *eh;
519 eh = (struct ether_header *)buffer;
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls.c459 sizeof (struct ether_header);
477 ASSERT(MBLKL(mp) == sizeof (struct ether_header));
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnbu.c425 mr->m_margin = PAGESIZE - XNBMAXPKT - sizeof (struct ether_header);
/illumos-gate/usr/src/boot/include/net/
H A Dethernet.h60 struct ether_header { struct
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c680 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 Dmyri10ge.c1776 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 Dhme.c2303 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 Deib_data.c456 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 Dvioif.c329 #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 Ddld_str.c417 (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 Dbridge.c160 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);

Completed in 539 milliseconds

1234