/titanic_50/usr/src/uts/common/io/dls/ |
H A D | dls.c | 185 if (sap == ETHERTYPE_VLAN && dsp->ds_promisc == 0) { in dls_bind() 291 if (dsp->ds_sap == ETHERTYPE_VLAN && in dls_promisc() 455 if (is_ethernet && sap != ETHERTYPE_VLAN && in dls_header() 460 mac_sap = ETHERTYPE_VLAN; in dls_header() 491 ASSERT(sap == ETHERTYPE_VLAN); in dls_header()
|
H A D | dls_link.c | 387 ETHERTYPE_VLAN, dls_accept) > 0) { in i_dls_link_rx() 402 (mhi.mhi_bindsap == ETHERTYPE_VLAN && in i_dls_link_rx()
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 86 evhp->ether_tpid = htons(ETHERTYPE_VLAN); in vnet_vlan_insert_tag() 109 evhp->ether_tpid = htons(ETHERTYPE_VLAN); in vnet_vlan_insert_tag()
|
H A D | vsw_switching.c | 1275 if (ehp->ether_type != ETHERTYPE_VLAN) { /* untagged */ in vsw_vlan_frame_pretag() 1484 if (ehp->ether_type == ETHERTYPE_VLAN) { in vsw_frame_lookup_vid()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | ethernet.h | 91 #define ETHERTYPE_VLAN (0x8100) /* 802.1Q VLAN */ macro
|
H A D | gld.h | 354 (((uint32_t)ETHERTYPE_VLAN << VLAN_TPID_SHIFT) | \ 360 (((uint32_t)ETHERTYPE_VLAN << VLAN_TPID_SHIFT) | (tci))
|
H A D | mac_client_impl.h | 269 ETHERTYPE_VLAN) { \
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_trill.c | 92 if (inner_ethhdr->ether_type != htons(ETHERTYPE_VLAN)) { in interpret_trill()
|
H A D | snoop_pf.c | 109 { "vlan", ETHERTYPE_VLAN }, 125 { "vlan", ETHERTYPE_VLAN }, 1054 htons(ETHERTYPE_VLAN)); in pf_check_vlan_tag() 1115 if (ethertype == ETHERTYPE_VLAN) in pf_match_ethertype()
|
H A D | snoop_filter.c | 951 if (ntohs(get_u16(base)) == ETHERTYPE_VLAN) in want_packet() 1902 if (val != ETHERTYPE_VLAN) { in ethertype_match() 2275 ethertype_match(ETHERTYPE_VLAN); in primary() 2310 ethertype_match(ETHERTYPE_VLAN); in primary()
|
H A D | snoop_ether.c | 181 if (ethertype == ETHERTYPE_VLAN) { in interpret_ether() 399 if (ether_type == (uint16_t)ETHERTYPE_VLAN) { in ether_header_len()
|
/titanic_50/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_rr.c | 74 if (etype == ETHERTYPE_VLAN) in BnxeRouteTxRing()
|
H A D | bnxe_tx.c | 701 htons(ETHERTYPE_VLAN)) in BnxeGetHdrInfo() 710 if (((struct ether_header *)pL2Hdr)->ether_type == htons(ETHERTYPE_VLAN)) in BnxeGetHdrInfo()
|
/titanic_50/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 344 evhp->ether_tpid = htons(ETHERTYPE_VLAN); in mac_add_vlan_tag() 409 if (ntohs(evhp->ether_tpid) == ETHERTYPE_VLAN) { in mac_strip_vlan_tag() 932 if (sap == ETHERTYPE_VLAN) { in mac_pkt_hash()
|
/titanic_50/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 784 if (ntohs(evhp->ether_tpid) == ETHERTYPE_VLAN) { in i_dld_ether_header_update_tag() 831 evhp->ether_tpid = htons(ETHERTYPE_VLAN); in i_dld_ether_header_update_tag() 1286 ((dsp->ds_sap == ETHERTYPE_VLAN) || in dld_str_rx_fastpath() 1339 ((dsp->ds_sap == ETHERTYPE_VLAN) || in dld_str_rx_unitdata() 1490 *(uint16_t *)(daddr + addr_length) = ETHERTYPE_VLAN; in str_unitdata_ind()
|
/titanic_50/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 278 ehp->ether_tpid = htons(ETHERTYPE_VLAN); in rge_receive_packet() 634 if (ehp->ether_tpid == htons(ETHERTYPE_VLAN)) in rge_send()
|
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 283 #ifndef ETHERTYPE_VLAN 284 #define ETHERTYPE_VLAN 0x8100 macro
|
/titanic_50/usr/src/uts/common/io/ |
H A D | trill.c | 116 tci != TRILL_NO_TCI ? ETHERTYPE_VLAN : etype, mp, extra_hdr_len); in create_trill_header() 230 ASSERT(ethtype == ETHERTYPE_VLAN || ethtype == ETHERTYPE_TRILL); in trill_dest_fwd() 234 (ethtype == ETHERTYPE_VLAN ? sizeof (struct ether_vlan_extinfo):0); in trill_dest_fwd() 444 if (ethhdr->ether_type == htons(ETHERTYPE_VLAN)) { in trill_recv()
|
H A D | bridge.c | 1800 evh->ether_tpid = htons(ETHERTYPE_VLAN); in reform_vlan_header() 1810 if (hdr_info->mhi_bindsap == ETHERTYPE_VLAN) { in update_header() 2114 if (hdr_info->mhi_bindsap == ETHERTYPE_VLAN) { in bridge_get_vlan() 2277 (hdr_info.mhi_bindsap != ETHERTYPE_VLAN || in bridge_recv_cb() 2565 if (hdr_info.mhi_bindsap == ETHERTYPE_VLAN) { in bridge_trill_decaps()
|
H A D | gld.c | 2976 !(GLD_IS_PHYS(gld) && gld->gld_sap == ETHERTYPE_VLAN && in gld_accept() 3077 (GLD_IS_PHYS(gld) && gld->gld_sap == ETHERTYPE_VLAN && in gld_paccept() 3126 ((gld->gld_sap == ETHERTYPE_VLAN) || in gld_passon() 3230 type = ETHERTYPE_VLAN; in gld_addudind() 4244 if ((macinfo->gldm_type == DL_ETHER) && (sap == ETHERTYPE_VLAN)) in gld_bind() 4312 (gld->gld_sap == ETHERTYPE_VLAN)) { in gld_unbind()
|
/titanic_50/usr/src/uts/common/io/bge/ |
H A D | bge_recv2.c | 210 ehp->ether_tpid = ntohs(ETHERTYPE_VLAN); in bge_receive_packet()
|
H A D | bge_send.c | 532 if (ehp->ether_tpid == htons(ETHERTYPE_VLAN)) { in bge_ring_tx()
|
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_rx.c | 467 ehp->ether_tpid = htons(ETHERTYPE_VLAN); in oce_rx_insert_tag()
|
/titanic_50/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_sw.h | 318 htons(ETHERTYPE_VLAN))
|
/titanic_50/usr/src/uts/common/io/igb/ |
H A D | igb_tx.c | 659 if (etype == ETHERTYPE_VLAN) { in igb_get_tx_context()
|