Home
last modified time | relevance | path

Searched refs:ether_tci (Results 1 – 25 of 26) sorted by relevance

12

/titanic_50/usr/src/uts/common/sys/
H A Dethernet.h70 ushort_t ether_tci; member
79 ushort_t ether_tci; member
H A Dmac_client_impl.h283 vlanid = VLAN_ID(ntohs(evhp->ether_tci)); \
/titanic_50/usr/src/uts/sun4v/io/
H A Dvnet_common.c87 evhp->ether_tci = htons(VLAN_TCI(pri, ETHER_CFI, vid)); in vnet_vlan_insert_tag()
110 evhp->ether_tci = htons(VLAN_TCI(pri, ETHER_CFI, vid)); in vnet_vlan_insert_tag()
H A Dvsw_switching.c1487 *vidp = VLAN_ID(ntohs(evhp->ether_tci)); in vsw_frame_lookup_vid()
H A Dvnet.c1347 VLAN_ID(ntohs(evhp->ether_tci)) == pvid) { in vnet_rx_frames_untag()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_vlan.h50 #define VLAN_ID_OFFSET (offsetof(struct ether_vlan_header, ether_tci) -\
H A Dsnoop_trill.c110 dlen, VLAN_ID(inner_ethvlanhdr->ether_tci), in interpret_trill()
H A Dsnoop_ether.c202 tci = ntohs(evx->ether_tci); in interpret_ether()
/titanic_50/usr/src/uts/common/io/dls/
H A Ddls.c481 evhp->ether_tci = htons(VLAN_TCI(pri, ETHER_CFI, vid)); in dls_header()
514 extinfo->ether_tci = htons(VLAN_TCI(pri, ETHER_CFI, in dls_header()
515 VLAN_ID(ntohs(extinfo->ether_tci)))); in dls_header()
/titanic_50/usr/src/uts/common/io/rge/
H A Drge_rxtx.c279 ehp->ether_tci = htons(vtag); in rge_receive_packet()
635 tci = ntohs(ehp->ether_tci); in rge_send()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c648 evh->ether_tci = htons(vlan_tag); in oce_insert_vtag()
755 vlan_tag = ntohs(evh->ether_tci); in oce_send_packet()
H A Doce_rx.c468 ehp->ether_tci = LE_16(vtag); in oce_rx_insert_tag()
/titanic_50/usr/src/uts/common/io/dld/
H A Ddld_str.c807 old_tci = ntohs(evhp->ether_tci); in i_dld_ether_header_update_tag()
853 evhp->ether_tci = htons(VLAN_TCI(pri, VLAN_CFI(old_tci), vid)); in i_dld_ether_header_update_tag()
1159 tci = ntohs(evhp->ether_tci); in i_dld_ether_header_strip_tag()
1171 evhp->ether_tci = htons(new_tci); in i_dld_ether_header_strip_tag()
/titanic_50/usr/src/uts/common/io/bge/
H A Dbge_recv2.c211 ehp->ether_tci = ntohs(hw_rbd.vlan_tci); in bge_receive_packet()
H A Dbge_send.c534 vlan_tci = ntohs(ehp->ether_tci); in bge_ring_tx()
/titanic_50/usr/src/uts/common/io/
H A Dbridge.c1785 evh->ether_tci = htons(tci); in reform_vlan_header()
1801 evh->ether_tci = htons(tci); in reform_vlan_header()
1817 hdr_info->mhi_tci = ntohs(evhp->ether_tci); in update_header()
2115 ptrdiff_t tpos = offsetof(struct ether_vlan_header, ether_tci); in bridge_get_vlan()
2570 tci = ntohs(evhp->ether_tci); in bridge_trill_decaps()
H A Dtrill.c125 ethvlanhdr->ether_tci = htons(tci); in create_trill_header()
456 tci = ntohs(((struct ether_vlan_header *)ethhdr)->ether_tci); in trill_recv()
H A Dgldutil.c223 tci = REF_NET_USHORT(evhp->ether_tci); in gld_interpret_ether()
469 SET_NET_USHORT(evhp->ether_tci, vtag); in gld_insert_vtag_ether()
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_util.c367 evhp->ether_tci = htons(VLAN_TCI(pri, 0, vid)); in mac_add_vlan_tag()
H A Dmac_flow.c1681 l2->l2_vid = VLAN_ID(ntohs(evhp->ether_tci)); in flow_l2_accept()
1737 l2->l2_vid = VLAN_ID(ntohs(evhp->ether_tci)); in flow_ether_accept()
H A Dmac_sched.c1576 VLAN_ID(ntohs(evhp->ether_tci)))) { in mac_rx_srs_proto_fanout()
1995 VLAN_ID(ntohs(evhp->ether_tci)))) { in mac_rx_srs_fanout()
H A Dmac_client.c3986 return (VLAN_ID(ntohs(t_evhp->ether_tci))); in mac_ether_vid()
4279 mhip->mhi_tci = ntohs(evhp->ether_tci); in mac_vlan_header_info()
/titanic_50/usr/src/uts/common/io/bnxe/
H A Dbnxe_tx.c646 return GLD_VTAG_VID(ntohs(((struct ether_vlan_header *)pMblk->b_rptr)->ether_tci)); in BnxeGetVlanTag()
/titanic_50/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c411 hdr.mhi_tci = ntohs(evhp->ether_tci); in pfp_packet()
/titanic_50/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c476 evh->eh_vlan = VLAN_ID(ntohs(vl_hdr->ether_tci)); in eib_data_parse_ether_hdr()

12