Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/sys/
H A Dethernet.h71 ushort_t ether_tci; member
80 ushort_t ether_tci; member
H A Dmac_client_impl.h288 vlanid = VLAN_ID(ntohs(evhp->ether_tci)); \
/illumos-gate/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()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_vlan.h48 #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.c204 tci = ntohs(evx->ether_tci); in interpret_ether()
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnx.h379 #define DRV_EXTRACT_VLAN_TCI(vhdrp) htons(vhdrp->ether_tci)
381 #define DRV_SET_VLAN_TCI(vhdrp, vtag) vhdrp->ether_tci = htons(vtag)
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls.c495 evhp->ether_tci = htons(VLAN_TCI(pri, ETHER_CFI, vid)); in dls_header()
528 extinfo->ether_tci = htons(VLAN_TCI(pri, ETHER_CFI, in dls_header()
529 VLAN_ID(ntohs(extinfo->ether_tci)))); in dls_header()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_rx.c1515 uint16_t ether_tci; in sfxge_rx_qpacket_coalesce() local
1560 ether_tci = ethervhp->ether_tci; in sfxge_rx_qpacket_coalesce()
1562 ether_tci = 0; in sfxge_rx_qpacket_coalesce()
1594 if (srfp->srf_tci != ether_tci) in sfxge_rx_qpacket_coalesce()
1658 srfp->srf_tci = ether_tci; in sfxge_rx_qpacket_coalesce()
1679 if (srfp->srf_tci != ether_tci) in sfxge_rx_qpacket_coalesce()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c824 old_tci = ntohs(evhp->ether_tci); in i_dld_ether_header_update_tag()
870 evhp->ether_tci = htons(VLAN_TCI(pri, VLAN_CFI(old_tci), vid)); in i_dld_ether_header_update_tag()
1176 tci = ntohs(evhp->ether_tci); in i_dld_ether_header_strip_tag()
1188 evhp->ether_tci = htons(new_tci); in i_dld_ether_header_strip_tag()
/illumos-gate/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()
/illumos-gate/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.c535 vlan_tci = ntohs(ehp->ether_tci); in bge_ring_tx()
/illumos-gate/usr/src/uts/common/io/
H A Dbridge.c1794 evh->ether_tci = htons(tci); in reform_vlan_header()
1810 evh->ether_tci = htons(tci); in reform_vlan_header()
1826 hdr_info->mhi_tci = ntohs(evhp->ether_tci); in update_header()
2130 ptrdiff_t tpos = offsetof(struct ether_vlan_header, ether_tci); in bridge_get_vlan()
2585 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.c222 tci = REF_NET_USHORT(evhp->ether_tci); in gld_interpret_ether()
468 SET_NET_USHORT(evhp->ether_tci, vtag); in gld_insert_vtag_ether()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_arp.c625 eh->ether_tci = htons(VLAN_TCI(0, ETHER_CFI, vlan)); in libvarpd_inject_arp()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_flow.c1682 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()
H A Dmac_sched.c1575 VLAN_ID(ntohs(evhp->ether_tci)))) { in mac_rx_srs_proto_fanout()
2002 VLAN_ID(ntohs(evhp->ether_tci)))) { in mac_rx_srs_fanout()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c411 hdr.mhi_tci = ntohs(evhp->ether_tci); in pfp_packet()
/illumos-gate/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