/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_vlan.h | 43 #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 D | snoop_trill.c | 41 struct ether_vlan_header *inner_ethvlanhdr; 99 inner_ethvlanhdr = (struct ether_vlan_header *)inner_ethhdr;
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 69 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 D | bnxe_rr.c | 62 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 D | bnxe_tx.c | 645 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 D | sfxge_tcp.c | 102 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 D | mac_util.c | 141 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 D | mac_flow.c | 1674 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 D | ethernet.h | 66 struct ether_vlan_header { struct 76 * ether_vlan_header because they assume Ethernet encapsulation.
|
H A D | mac_client_impl.h | 279 struct ether_vlan_header *evhp; \ 282 evhp = (struct ether_vlan_header *)(mp)->b_rptr;\
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 178 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 D | dld_str.c | 776 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 D | oce_tx.c | 642 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 D | oce_rx.c | 461 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 D | dls.c | 439 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 D | vmxnet3_tx.c | 87 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 D | sockmod_pfp.c | 389 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 D | bridge.c | 159 #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 D | gldutil.c | 213 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 D | bge_recv2.c | 206 struct ether_vlan_header *ehp;
|
/illumos-gate/usr/src/boot/include/net/ |
H A D | ethernet.h | 78 struct ether_vlan_header { struct
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_sw.h | 278 (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 D | nxge_send.c | 285 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 D | unm_nic_main.c | 646 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 D | eib_data.c | 455 struct ether_vlan_header *vl_hdr; 463 vl_hdr = (struct ether_vlan_header *)(void *)mp->b_rptr; 792 (sizeof (struct ether_vlan_header));
|