Home
last modified time | relevance | path

Searched refs:ETHERTYPE_VLAN (Results 1 – 25 of 44) sorted by relevance

12

/titanic_50/usr/src/uts/common/io/dls/
H A Ddls.c185 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 Ddls_link.c387 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 Dvnet_common.c86 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 Dvsw_switching.c1275 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 Dethernet.h91 #define ETHERTYPE_VLAN (0x8100) /* 802.1Q VLAN */ macro
H A Dgld.h354 (((uint32_t)ETHERTYPE_VLAN << VLAN_TPID_SHIFT) | \
360 (((uint32_t)ETHERTYPE_VLAN << VLAN_TPID_SHIFT) | (tci))
H A Dmac_client_impl.h269 ETHERTYPE_VLAN) { \
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_trill.c92 if (inner_ethhdr->ether_type != htons(ETHERTYPE_VLAN)) { in interpret_trill()
H A Dsnoop_pf.c109 { "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 Dsnoop_filter.c951 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 Dsnoop_ether.c181 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 Dbnxe_rr.c74 if (etype == ETHERTYPE_VLAN) in BnxeRouteTxRing()
H A Dbnxe_tx.c701 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 Dmac_util.c344 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 Ddld_str.c784 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 Drge_rxtx.c278 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 Dqlge.h283 #ifndef ETHERTYPE_VLAN
284 #define ETHERTYPE_VLAN 0x8100 macro
/titanic_50/usr/src/uts/common/io/
H A Dtrill.c116 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 Dbridge.c1800 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 Dgld.c2976 !(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 Dbge_recv2.c210 ehp->ether_tpid = ntohs(ETHERTYPE_VLAN); in bge_receive_packet()
H A Dbge_send.c532 if (ehp->ether_tpid == htons(ETHERTYPE_VLAN)) { in bge_ring_tx()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_rx.c467 ehp->ether_tpid = htons(ETHERTYPE_VLAN); in oce_rx_insert_tag()
/titanic_50/usr/src/uts/common/io/e1000g/
H A De1000g_sw.h318 htons(ETHERTYPE_VLAN))
/titanic_50/usr/src/uts/common/io/igb/
H A Digb_tx.c659 if (etype == ETHERTYPE_VLAN) { in igb_get_tx_context()

12