Searched refs:VLAN_ID (Results 1 – 18 of 18) sorted by relevance
67 #define VLAN_ID(tci) (((tci) >> VLAN_ID_SHIFT) & VLAN_ID_MASK) macro
288 vlanid = VLAN_ID(ntohs(evhp->ether_tci)); \
110 dlen, VLAN_ID(inner_ethvlanhdr->ether_tci), in interpret_trill()
252 ieeestart[1], VLAN_ID(tci), origlen); in interpret_ether()257 print_ethertype(ethertype), VLAN_ID(tci), in interpret_ether()262 set_vlan_id(VLAN_ID(tci)); in interpret_ether()289 "VLAN ID = %hu", VLAN_ID(tci)); in interpret_ether()
152 uint16_t vid = VLAN_ID(mhip->mhi_tci); in i_dls_link_subchain()186 cvid = VLAN_ID(cmhi.mhi_tci); in i_dls_link_subchain()383 vid = VLAN_ID(mhi.mhi_tci); in i_dls_link_rx()
529 VLAN_ID(ntohs(extinfo->ether_tci)))); in dls_header()
458 inner_vlan = VLAN_ID(tci); in trill_recv()837 vlan = VLAN_ID(hdr_info->mhi_tci); in trill_encap_pkt_cb()
1726 if (pri != 0 && VLAN_ID(tci) == 0) /* 1b */ in reform_vlan_header()2160 vlanid = VLAN_ID(tci); in bridge_get_vlan()2586 vlanid = VLAN_ID(tci); in bridge_trill_decaps()
869 vid = VLAN_ID(old_tci); in i_dld_ether_header_update_tag()974 vid = VLAN_ID(mhi.mhi_tci); in str_mdata_raw_put()
1682 l2->l2_vid = VLAN_ID(ntohs(evhp->ether_tci)); in flow_l2_accept()1738 l2->l2_vid = VLAN_ID(ntohs(evhp->ether_tci)); in flow_ether_accept()
1575 VLAN_ID(ntohs(evhp->ether_tci)))) { in mac_rx_srs_proto_fanout()2002 VLAN_ID(ntohs(evhp->ether_tci)))) { in mac_rx_srs_fanout()
2296 uint32_t vid = VLAN_ID(mhi.mhi_tci); in mac_protect_check_one()
4151 return (VLAN_ID(ntohs(t_evhp->ether_tci))); in mac_ether_vid()
476 evh->eh_vlan = VLAN_ID(ntohs(vl_hdr->ether_tci)); in eib_data_parse_ether_hdr()
1487 *vidp = VLAN_ID(ntohs(evhp->ether_tci)); in vsw_frame_lookup_vid()
1348 VLAN_ID(ntohs(evhp->ether_tci)) == pvid) { in vnet_rx_frames_untag()
1579 *vidp = VLAN_ID(ntohs(evhp->ether_tci)); in vgen_frame_lookup_vid()
644 otl->otl_vlan = VLAN_ID(mhi.mhi_tci); in overlay_target_lookup_request()