Symbol: ether_type
usr/src/boot/include/net/ethernet.h
63
u_short ether_type;
usr/src/boot/libsa/ether.c
122
*etype = ntohs(eh->ether_type);
usr/src/boot/libsa/ether.c
71
eh->ether_type = htons(etype);
usr/src/cmd/cmd-inet/usr.lib/bridged/events.c
520
rc = STP_IN_check_bpdu_header((BPDU_T *)&eh->ether_type, buflen);
usr/src/cmd/cmd-inet/usr.lib/bridged/events.c
552
(BPDU_T *)&eh->ether_type, buflen);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ether.c
172
ethertype = ntohs(e->ether_type);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ether.c
203
ethertype = ntohs(evx->ether_type);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ether.c
392
uint16_t ether_type = 0;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ether.c
397
e += (offsetof(struct ether_header, ether_type));
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ether.c
399
GETINT16(ether_type, e);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ether.c
401
if (ether_type == (uint16_t)ETHERTYPE_VLAN) {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ether.c
418
} ether_type [] = {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ether.c
690
for (i = 0; ether_type[i].e_type; i++)
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ether.c
691
if (type == ether_type[i].e_type)
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ether.c
692
return (ether_type[i].e_name);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_trill.c
100
ethertype = ntohs(inner_ethvlanhdr->ether_type);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_trill.c
92
if (inner_ethhdr->ether_type != htons(ETHERTYPE_VLAN)) {
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_trill.c
95
ntohs(inner_ethhdr->ether_type));
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_vlan.h
41
#define ENCAP_ETHERTYPE_OFF (offsetof(struct ether_vlan_header, ether_type) -\
usr/src/common/inet/inet_hash.c
184
sap = ntohs(ehp->ether_type);
usr/src/common/inet/inet_hash.c
201
sap = ntohs(evhp->ether_type);
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
626
eh->ether_type = htons(ETHERTYPE_ARP);
usr/src/lib/varpd/libvarpd/common/libvarpd_arp.c
633
eh->ether_type = htons(ETHERTYPE_ARP);
usr/src/stand/lib/inet/ethernet.c
148
if (in->arp_eh.ether_type !=
usr/src/stand/lib/inet/ethernet.c
171
if (in->arp_eh.ether_type !=
usr/src/stand/lib/inet/ethernet.c
221
out.arp_eh.ether_type = htons(ETHERTYPE_ARP);
usr/src/stand/lib/inet/ethernet.c
253
out.arp_eh.ether_type = htons(ETHERTYPE_REVARP);
usr/src/stand/lib/inet/ethernet.c
379
if (eh->ether_type == ntohs(ETHERTYPE_IP) &&
usr/src/stand/lib/inet/ethernet.c
416
if (eh->ether_type == ntohs(ETHERTYPE_ARP) &&
usr/src/stand/lib/inet/ethernet.c
528
eh.ether_type = htons(ETHERTYPE_IP);
usr/src/test/os-tests/tests/mac/mac_parsing.c
121
.ether_type = htons(ethertype),
usr/src/test/os-tests/tests/mac/mac_parsing.c
764
.ether_type = htons(ETHERTYPE_IP),
usr/src/test/os-tests/tests/mac/mac_parsing.c
774
.ether_type = htons(ETHERTYPE_IP),
usr/src/uts/common/inet/ip/ip.c
7928
if (pether->ether_type != htons(ETHERTYPE_IPV6)) {
usr/src/uts/common/inet/ip/ip.c
7933
if (pether->ether_type != htons(ETHERTYPE_IP)) {
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2309
if ((etype = ntohs(ethp->ether_type)) == ETHERTYPE_VLAN) {
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2315
etype = ntohs(evh->ether_type);
usr/src/uts/common/inet/sockmods/sockmod_pfp.c
412
hdr.mhi_bindsap = ntohs(evhp->ether_type);
usr/src/uts/common/io/aggr/aggr_grp.c
2659
if (ntohs(ehp->ether_type) == ETHERTYPE_SLOW) {
usr/src/uts/common/io/aggr/aggr_lacp.c
676
ether->ether_type = htons(ETHERTYPE_SLOW);
usr/src/uts/common/io/aggr/aggr_recv.c
121
sap = ntohs(ehp->ether_type);
usr/src/uts/common/io/bnxe/bnxe_rr.c
72
etype = ntohs(((struct ether_header *)pHdr)->ether_type);
usr/src/uts/common/io/bnxe/bnxe_rr.c
76
etype = ntohs(((struct ether_vlan_header *)pHdr)->ether_type);
usr/src/uts/common/io/bnxe/bnxe_tx.c
700
if (((struct ether_header *)pMblk->b_rptr)->ether_type ==
usr/src/uts/common/io/bnxe/bnxe_tx.c
710
if (((struct ether_header *)pL2Hdr)->ether_type == htons(ETHERTYPE_VLAN))
usr/src/uts/common/io/bridge.c
1782
evh->ether_tpid = evh->ether_type;
usr/src/uts/common/io/bridge.c
1808
evh->ether_type = evh->ether_tpid;
usr/src/uts/common/io/bridge.c
1821
uint16_t ether_type;
usr/src/uts/common/io/bridge.c
1832
ether_type = ntohs(evhp->ether_type);
usr/src/uts/common/io/bridge.c
1833
hdr_info->mhi_origsap = ether_type;
usr/src/uts/common/io/bridge.c
1834
hdr_info->mhi_bindsap = (ether_type > ETHERMTU) ?
usr/src/uts/common/io/bridge.c
1835
ether_type : DLS_SAP_LLC;
usr/src/uts/common/io/bridge.c
2295
ether_type != htons(ETHERTYPE_TRILL))) {
usr/src/uts/common/io/chxge/ch.c
1768
if (ehdr->ether_type == htons(ETHERTYPE_IP)) {
usr/src/uts/common/io/chxge/sge.c
990
(ntohs(((struct ether_header *)skb->b_rptr)->ether_type) ==
usr/src/uts/common/io/dld/dld_str.c
847
evhp->ether_type = ehp->ether_type;
usr/src/uts/common/io/dls/dls.c
516
evhp->ether_type = htons(sap);
usr/src/uts/common/io/fcoe/fcoe_fc.c
366
fmi->fmi_efh->ether_type = htons(ETHERTYPE_FCOE);
usr/src/uts/common/io/fibre-channel/fca/oce/oce_tx.c
748
if (ntohs(eh->ether_type) == VLAN_TPID) {
usr/src/uts/common/io/fibre-channel/fca/oce/oce_tx.c
751
etype = ntohs(evh->ether_type);
usr/src/uts/common/io/fibre-channel/fca/oce/oce_tx.c
757
etype = ntohs(eh->ether_type);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4841
etherType = ntohs(ethvhdr->ether_type);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
4844
etherType = ntohs(ethhdr->ether_type);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5106
etherType = ntohs(ethvhdr->ether_type);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5109
etherType = ntohs(ethhdr->ether_type);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5190
etherType = ntohs(ethvhdr->ether_type);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge.c
5193
etherType = ntohs(ethhdr->ether_type);
usr/src/uts/common/io/gldutil.c
165
pktinfo->ethertype = REF_NET_USHORT(mh->ether_type);
usr/src/uts/common/io/gldutil.c
202
typelen = REF_NET_USHORT(mh->ether_type);
usr/src/uts/common/io/gldutil.c
456
bcopy(&ehp->ether_type, &evhp->ether_type, sizeof (uint16_t));
usr/src/uts/common/io/hxge/hxge_classify.h
72
uint16_t ether_type;
usr/src/uts/common/io/hxge/hxge_flow.h
93
uint16_t ether_type;
usr/src/uts/common/io/hxge/hxge_pfc.h
220
uint16_t ether_type;
usr/src/uts/common/io/hxge/hxge_txdma.c
297
eth_type = ntohs(((p_ether_header_t)hdrs_buf)->ether_type);
usr/src/uts/common/io/hxge/hxge_txdma.c
322
hdrs_buf)->ether_type);
usr/src/uts/common/io/hxge/hxge_txdma.c
349
((p_ether_header_t)hdrs_buf)->ether_type = 0;
usr/src/uts/common/io/hxge/hxge_txdma.c
383
((p_ether_header_t)hdrs_buf)->ether_type = 0;
usr/src/uts/common/io/ib/clients/eoib/eib_data.c
465
evh->eh_ether_type = ntohs(hdr->ether_type);
usr/src/uts/common/io/ib/clients/eoib/eib_data.c
474
evh->eh_ether_type = ntohs(vl_hdr->ether_type);
usr/src/uts/common/io/igb/igb_tx.c
630
offset = offsetof(struct ether_header, ether_type);
usr/src/uts/common/io/igb/igb_tx.c
644
offset = offsetof(struct ether_vlan_header, ether_type);
usr/src/uts/common/io/ixgbe/ixgbe_tx.c
612
offset = offsetof(struct ether_header, ether_type);
usr/src/uts/common/io/ixgbe/ixgbe_tx.c
626
offset = offsetof(struct ether_vlan_header, ether_type);
usr/src/uts/common/io/llc1.c
1370
hdr->ether_type = ntohs(msglen +
usr/src/uts/common/io/llc1.c
1392
hdr->ether_type = ntohs(msglen);
usr/src/uts/common/io/llc1.c
1512
i = (ushort_t)ntohs(hdr->ether_type);
usr/src/uts/common/io/llc1.c
2305
msgether->ether_type = htons(sizeof (struct llchdr_xid) +
usr/src/uts/common/io/llc1.c
2491
hdr->ether_type = htons(sizeof (struct llchdr) + msgdsize(mp));
usr/src/uts/common/io/llc1.c
2741
hdr->ether_type = htons(sizeof (struct llchdr) + msgdsize(mp));
usr/src/uts/common/io/mac/mac_client.c
4169
if (ntohs(eth->ether_type) == ETHERTYPE_VLAN) {
usr/src/uts/common/io/mac/mac_client.c
4481
sap = ntohs(evhp->ether_type);
usr/src/uts/common/io/mac/mac_flow.c
1680
l2->l2_sap = ntohs(evhp->ether_type);
usr/src/uts/common/io/mac/mac_flow.c
1736
l2->l2_sap = ntohs(evhp->ether_type);
usr/src/uts/common/io/mac/mac_provider.c
1967
l2_off + offsetof(struct ether_header, ether_type), &ethertype)) {
usr/src/uts/common/io/mac/mac_provider.c
1983
l2_off + offsetof(struct ether_vlan_header, ether_type),
usr/src/uts/common/io/mac/mac_util.c
1266
if (ntohs(ehp->ether_type) == VLAN_TPID)
usr/src/uts/common/io/mac/mac_util.c
1375
evhp->ether_type = ehp->ether_type;
usr/src/uts/common/io/mac/mac_util.c
1953
sap = ntohs(ehp->ether_type);
usr/src/uts/common/io/mac/mac_util.c
1970
sap = ntohs(evhp->ether_type);
usr/src/uts/common/io/mac/plugins/mac_ether.c
453
ehp->ether_type = htons(sap);
usr/src/uts/common/io/mac/plugins/mac_ether.c
464
uint16_t ether_type;
usr/src/uts/common/io/mac/plugins/mac_ether.c
470
ether_type = ntohs(ehp->ether_type);
usr/src/uts/common/io/mac/plugins/mac_ether.c
475
hdr_info->mhi_origsap = ether_type;
usr/src/uts/common/io/mac/plugins/mac_ether.c
476
hdr_info->mhi_bindsap = (ether_type > ETHERMTU) ?
usr/src/uts/common/io/mac/plugins/mac_ether.c
477
ether_type : DLS_SAP_LLC;
usr/src/uts/common/io/mac/plugins/mac_ether.c
479
hdr_info->mhi_hdrsize + ether_type : 0;
usr/src/uts/common/io/mac/plugins/mac_wifi.c
386
ntohs(ehp->ether_type), pdata, NULL, 0);
usr/src/uts/common/io/mac/plugins/mac_wifi.c
427
eh.ether_type = htons(mhi.mhi_origsap);
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1793
if (eh->ether_type != BE_16(ETHERTYPE_IP)) {
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1794
if (eh->ether_type != BE_16(ETHERTYPE_VLAN))
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1797
if (vh->ether_type != BE_16(ETHERTYPE_IP))
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2327
if (eh->ether_type == BE_16(ETHERTYPE_VLAN)) {
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2341
if (eh->ether_type == BE_16(ETHERTYPE_IP)) {
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2352
} else if (eh->ether_type == BE_16(ETHERTYPE_IPV6)) {
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
3049
if (eh->ether_type == BE_16(ETHERTYPE_VLAN)) {
usr/src/uts/common/io/myri10ge/drv/myri10ge_lro.c
145
if (eh->ether_type != htons(ETHERTYPE_IP))
usr/src/uts/common/io/net80211/net80211_ht.c
122
framelen = ntohs(eh->ether_type); /* llc + data */
usr/src/uts/common/io/ntxn/unm_nic_main.c
713
type = ((struct ether_header *)(uintptr_t)mp->b_rptr)->ether_type;
usr/src/uts/common/io/ntxn/unm_nic_main.c
719
(uintptr_t)mp->b_rptr)->ether_type;
usr/src/uts/common/io/ntxn/unm_nic_main.c
746
type = ((struct ether_header *)(uintptr_t)ptr)->ether_type;
usr/src/uts/common/io/ntxn/unm_nic_main.c
748
type = ((struct ether_vlan_header *)(uintptr_t)ptr)->ether_type;
usr/src/uts/common/io/nxge/nxge_txdma.c
516
eth_type = ntohs(((p_ether_header_t)hdrs_buf)->ether_type);
usr/src/uts/common/io/nxge/nxge_txdma.c
540
hdrs_buf)->ether_type);
usr/src/uts/common/io/nxge/nxge_txdma.c
568
((p_ether_header_t)hdrs_buf)->ether_type = 0;
usr/src/uts/common/io/nxge/nxge_txdma.c
606
((p_ether_header_t)hdrs_buf)->ether_type = 0;
usr/src/uts/common/io/ppp/sppp/sppp_dlpi.c
1124
((struct ether_header *)eh->b_rptr)->ether_type = htons((int16_t)type);
usr/src/uts/common/io/qede/qede_dbg.c
76
if (ntohs(eth_hdr->ether_type) == ETHERTYPE_IP) {
usr/src/uts/common/io/qede/qede_dbg.c
77
pktinfo->ether_type = ntohs(eth_hdr->ether_type);
usr/src/uts/common/io/qede/qede_dbg.c
79
} else if (ntohs(eth_hdr->ether_type) == ETHERTYPE_VLAN) {
usr/src/uts/common/io/qede/qede_dbg.c
82
pktinfo->ether_type = ntohs(vlan_hdr->ether_type);
usr/src/uts/common/io/qede/qede_fp.c
1493
pktinfo.total_len, pktinfo.mblk_no, pktinfo.ether_type,
usr/src/uts/common/io/qede/qede_fp.c
1753
etherType = ntohs(ethvhdr->ether_type);
usr/src/uts/common/io/qede/qede_fp.c
1756
etherType = ntohs(ethhdr->ether_type);
usr/src/uts/common/io/qede/qede_fp.c
856
if (ntohs(eth_hdr->ether_type) == ETHERTYPE_IP) {
usr/src/uts/common/io/qede/qede_fp.c
857
pktinfo->ether_type = ntohs(eth_hdr->ether_type);
usr/src/uts/common/io/qede/qede_fp.c
859
} else if (ntohs(eth_hdr->ether_type) == ETHERTYPE_VLAN) {
usr/src/uts/common/io/qede/qede_fp.c
862
pktinfo->ether_type = ntohs(vlan_hdr->ether_type);
usr/src/uts/common/io/qede/qede_fp.c
930
if (ntohs(eth_hdr->ether_type) == ETHERTYPE_IP) {
usr/src/uts/common/io/qede/qede_fp.c
931
pktinfo->ether_type = ntohs(eth_hdr->ether_type);
usr/src/uts/common/io/qede/qede_fp.c
933
} else if (ntohs(eth_hdr->ether_type) == ETHERTYPE_VLAN) {
usr/src/uts/common/io/qede/qede_fp.c
936
pktinfo->ether_type = ntohs(vlan_hdr->ether_type);
usr/src/uts/common/io/qede/qede_fp.h
130
u16 ether_type;
usr/src/uts/common/io/rge/rge_rxtx.c
558
if (ntohs(ethhdr->ether_type) == ETHERTYPE_IP) {
usr/src/uts/common/io/sfxge/sfxge_rx.c
1336
ASSERT3U(((etherhp->ether_type == htons(ETHERTYPE_VLAN)) ?
usr/src/uts/common/io/sfxge/sfxge_rx.c
1556
if (etherhp->ether_type == htons(ETHERTYPE_VLAN)) {
usr/src/uts/common/io/sfxge/sfxge_rx.c
1788
if (etherhp->ether_type ==
usr/src/uts/common/io/sfxge/sfxge_tcp.c
101
if (ether_type == htons(ETHERTYPE_VLAN)) {
usr/src/uts/common/io/sfxge/sfxge_tcp.c
110
ether_type = ethervhp->ether_type;
usr/src/uts/common/io/sfxge/sfxge_tcp.c
113
if (ether_type != htons(ETHERTYPE_IP))
usr/src/uts/common/io/sfxge/sfxge_tcp.c
71
uint16_t ether_type;
usr/src/uts/common/io/sfxge/sfxge_tcp.c
99
ether_type = etherhp->ether_type;
usr/src/uts/common/io/sfxge/sfxge_tx.c
1601
ehs = (etherhp->ether_type == htons(ETHERTYPE_VLAN)) ?
usr/src/uts/common/io/sfxge/sfxge_tx.c
1760
ASSERT3U(((etherhp->ether_type == htons(ETHERTYPE_VLAN)) ?
usr/src/uts/common/io/trill.c
127
ethvlanhdr->ether_type = htons(etype);
usr/src/uts/common/io/trill.c
230
ethtype = ntohs(ethhdr->ether_type);
usr/src/uts/common/io/trill.c
445
if (ethhdr->ether_type == htons(ETHERTYPE_VLAN)) {
usr/src/uts/common/io/vioif/vioif.c
1309
if (ether->ether_type == htons(ETHERTYPE_VLAN)) {
usr/src/uts/common/sys/ethernet.h
62
ushort_t ether_type;
usr/src/uts/common/sys/ethernet.h
72
ushort_t ether_type;
usr/src/uts/common/sys/ethernet.h
81
ushort_t ether_type;
usr/src/uts/common/sys/mac_client_impl.h
354
if (ntohs(((struct ether_header *)(mp)->b_rptr)->ether_type) == \
usr/src/uts/common/sys/nxge/nxge_flow.h
99
uint16_t ether_type;
usr/src/uts/common/xen/io/xnb.c
288
if (ntohs(ehp->ether_type) == VLAN_TPID) {
usr/src/uts/common/xen/io/xnb.c
293
sap = ntohs(evhp->ether_type);
usr/src/uts/common/xen/io/xnb.c
296
sap = ntohs(ehp->ether_type);
usr/src/uts/common/xen/io/xnf.c
1569
if (ntohs(ehp->ether_type) == VLAN_TPID) {
usr/src/uts/common/xen/io/xnf.c
1573
sap = ntohs(evhp->ether_type);
usr/src/uts/common/xen/io/xnf.c
1577
sap = ntohs(ehp->ether_type);
usr/src/uts/sun4v/io/vnet.c
893
ehp->ether_type != htons(ETHERTYPE_VLAN)) {
usr/src/uts/sun4v/io/vnet_common.c
114
sizeof (evhp->ether_type));
usr/src/uts/sun4v/io/vnet_gen.c
1576
if (ehp->ether_type == ETHERTYPE_VLAN) {
usr/src/uts/sun4v/io/vnet_gen.c
873
if (ehp->ether_type == types[i]) {
usr/src/uts/sun4v/io/vsw_ldc.c
3804
if (ehp->ether_type == types[i]) {
usr/src/uts/sun4v/io/vsw_phys.c
1217
ehp->ether_type = htons(ETHERTYPE_REVARP);
usr/src/uts/sun4v/io/vsw_switching.c
1275
if (ehp->ether_type != ETHERTYPE_VLAN) { /* untagged */
usr/src/uts/sun4v/io/vsw_switching.c
1484
if (ehp->ether_type == ETHERTYPE_VLAN) {