Searched refs:ether_vlan_header (Results 1 - 25 of 61) sorted by relevance

123

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_vlan.h43 #define ENCAP_ETHERTYPE_OFF (offsetof(struct ether_vlan_header, ether_type) -\
44 offsetof(struct ether_vlan_header, ether_tpid))
50 #define VLAN_ID_OFFSET (offsetof(struct ether_vlan_header, ether_tci) -\
51 offsetof(struct ether_vlan_header, ether_dhost))
H A Dsnoop_trill.c41 struct ether_vlan_header *inner_ethvlanhdr;
99 inner_ethvlanhdr = (struct ether_vlan_header *)inner_ethhdr;
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_common.c69 struct ether_vlan_header *evhp;
85 evhp = (struct ether_vlan_header *)mp->b_rptr;
94 nmp = allocb(sizeof (struct ether_vlan_header),
108 evhp = (struct ether_vlan_header *)nmp->b_rptr;
120 nmp->b_wptr += sizeof (struct ether_vlan_header);
167 mp->b_rptr += sizeof (struct ether_vlan_header);
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_rr.c62 uint8_t hdrs_buf[sizeof(struct ether_vlan_header) +
76 etype = ntohs(((struct ether_vlan_header *)pHdr)->ether_type);
77 eHdrSize = sizeof(struct ether_vlan_header);
H A Dbnxe_tx.c645 ASSERT(MBLKL(pMblk) >= sizeof(struct ether_vlan_header));
646 return GLD_VTAG_VID(ntohs(((struct ether_vlan_header *)pMblk->b_rptr)->ether_tci));
712 l2HdrLen = sizeof(struct ether_vlan_header);
1219 sizeof(struct ether_vlan_header)));
1251 sizeof(struct ether_vlan_header)));
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tcp.c102 struct ether_vlan_header *ethervhp;
104 etherhs = sizeof (struct ether_vlan_header);
109 ethervhp = (struct ether_vlan_header *)(mp->b_rptr);
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c141 struct ether_vlan_header *evhp;
143 ASSERT(MBLKL(mp) >= sizeof (struct ether_vlan_header));
145 evhp = (struct ether_vlan_header *)mp->b_rptr;
147 offset = sizeof (struct ether_vlan_header);
321 struct ether_vlan_header *evhp;
333 hmp = allocb(sizeof (struct ether_vlan_header), BPRI_MED);
339 evhp = (struct ether_vlan_header *)hmp->b_rptr;
346 hmp->b_wptr += sizeof (struct ether_vlan_header);
362 ASSERT(MBLKL(hmp) >= sizeof (struct ether_vlan_header));
406 struct ether_vlan_header *evh
[all...]
H A Dmac_flow.c1674 struct ether_vlan_header *evhp =
1675 (struct ether_vlan_header *)l2->l2_start;
1701 struct ether_vlan_header *evhp;
1703 evhp = (struct ether_vlan_header *)l2->l2_start;
1722 struct ether_vlan_header *evhp;
1725 evhp = (struct ether_vlan_header *)s->fs_mp->b_rptr;
1738 l2->l2_hdrsize = sizeof (struct ether_vlan_header);
/illumos-gate/usr/src/uts/common/sys/
H A Dethernet.h66 struct ether_vlan_header { struct
76 * ether_vlan_header because they assume Ethernet encapsulation.
H A Dmac_client_impl.h279 struct ether_vlan_header *evhp; \
282 evhp = (struct ether_vlan_header *)(mp)->b_rptr;\
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_rxtx.c178 struct ether_vlan_header *ehp;
277 ehp = (struct ether_vlan_header *)mp->b_rptr;
613 struct ether_vlan_header *ehp;
633 ehp = (struct ether_vlan_header *)mp->b_rptr;
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c776 struct ether_vlan_header *evhp;
783 evhp = (struct ether_vlan_header *)mp->b_rptr;
788 len = sizeof (struct ether_vlan_header);
806 evhp = (struct ether_vlan_header *)mp->b_rptr;
819 hmp = allocb(sizeof (struct ether_vlan_header), BPRI_MED);
823 evhp = (struct ether_vlan_header *)hmp->b_rptr;
833 hmp->b_wptr += sizeof (struct ether_vlan_header);
1146 struct ether_vlan_header *evhp;
1149 ASSERT(MBLKL(mp) >= sizeof (struct ether_vlan_header));
1157 evhp = (struct ether_vlan_header *)m
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c642 struct ether_vlan_header *evh;
646 evh = (struct ether_vlan_header *)(void *)mp->b_rptr;
681 struct ether_vlan_header *evh;
750 evh = (struct ether_vlan_header *)(void *)mp->b_rptr;
753 ip_offset = sizeof (struct ether_vlan_header);
H A Doce_rx.c461 struct ether_vlan_header *ehp;
466 ehp = (struct ether_vlan_header *)voidptr(mp->b_rptr);
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls.c439 struct ether_vlan_header *evhp;
458 extra_len = sizeof (struct ether_vlan_header) -
480 evhp = (struct ether_vlan_header *)mp->b_rptr;
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_tx.c87 struct ether_vlan_header *eth = (void *) mp->b_rptr;
91 ethLen = sizeof (struct ether_vlan_header);
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c389 struct ether_vlan_header *evhp;
390 struct ether_vlan_header evh;
392 hdr.mhi_hdrsize = sizeof (struct ether_vlan_header);
396 evhp = (struct ether_vlan_header *)mp->b_rptr;
/illumos-gate/usr/src/uts/common/io/
H A Dbridge.c159 #define VLAN_INCR (sizeof (struct ether_vlan_header) - \
1699 struct ether_vlan_header *evh;
1739 ASSERT(minlen >= sizeof (struct ether_vlan_header));
1745 minlen = sizeof (struct ether_vlan_header);
1770 evh = (struct ether_vlan_header *)mp->b_rptr;
1775 if (mlen > sizeof (struct ether_vlan_header))
1777 sizeof (struct ether_vlan_header),
1779 mlen - sizeof (struct ether_vlan_header));
1792 mp->b_rptr + sizeof (struct ether_vlan_header),
1811 struct ether_vlan_header *evh
[all...]
H A Dgldutil.c213 struct ether_vlan_header *evhp;
216 if ((MBLKL(mp) < sizeof (struct ether_vlan_header)) &&
217 (pullupmsg(mp, sizeof (struct ether_vlan_header))
222 evhp = (struct ether_vlan_header *)mp->b_rptr;
431 struct ether_vlan_header *evhp;
443 evhp = (struct ether_vlan_header *)nmp->b_rptr;
446 if ((nmp = allocb(sizeof (struct ether_vlan_header),
450 nmp->b_wptr += sizeof (struct ether_vlan_header);
453 evhp = (struct ether_vlan_header *)nmp->b_rptr;
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_recv2.c206 struct ether_vlan_header *ehp;
/illumos-gate/usr/src/boot/include/net/
H A Dethernet.h78 struct ether_vlan_header { struct
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_sw.h278 (DEFAULT_MTU + sizeof (struct ether_vlan_header) + ETHERFCSL)
280 (MAXIMUM_MTU + sizeof (struct ether_vlan_header) + ETHERFCSL)
317 ((((struct ether_vlan_header *)(uintptr_t)ptr)->ether_tpid) == \
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c285 start_offset += sizeof (struct ether_vlan_header);
286 stuff_offset += sizeof (struct ether_vlan_header);
1261 struct ether_vlan_header *evh;
1291 evh = (struct ether_vlan_header *)mp->b_rptr;
1295 ehlen = sizeof (struct ether_vlan_header);
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c646 if (pktinfo->mac_hlen == sizeof (struct ether_vlan_header))
715 if (MBLKL(mp) < (sizeof (struct ether_vlan_header) +
718 type = ((struct ether_vlan_header *) \
720 pktinfo->mac_hlen = sizeof (struct ether_vlan_header);
748 type = ((struct ether_vlan_header *)(uintptr_t)ptr)->ether_type;
749 pktinfo->mac_hlen = sizeof (struct ether_vlan_header);
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c455 struct ether_vlan_header *vl_hdr;
463 vl_hdr = (struct ether_vlan_header *)(void *)mp->b_rptr;
792 (sizeof (struct ether_vlan_header));

Completed in 157 milliseconds

123