/illumos-gate/usr/src/uts/common/sys/ |
H A D | ethernet.h | 71 ushort_t ether_tci; member 80 ushort_t ether_tci; member
|
H A D | mac_client_impl.h | 288 vlanid = VLAN_ID(ntohs(evhp->ether_tci)); \
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 87 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 D | vsw_switching.c | 1487 *vidp = VLAN_ID(ntohs(evhp->ether_tci)); in vsw_frame_lookup_vid()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_vlan.h | 48 #define VLAN_ID_OFFSET (offsetof(struct ether_vlan_header, ether_tci) -\
|
H A D | snoop_trill.c | 110 dlen, VLAN_ID(inner_ethvlanhdr->ether_tci), in interpret_trill()
|
H A D | snoop_ether.c | 204 tci = ntohs(evx->ether_tci); in interpret_ether()
|
/illumos-gate/usr/src/uts/common/io/bnx/ |
H A D | bnx.h | 379 #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 D | dls.c | 495 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 D | sfxge_rx.c | 1515 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 D | rge_rxtx.c | 279 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 D | dld_str.c | 824 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 D | oce_tx.c | 648 evh->ether_tci = htons(vlan_tag); in oce_insert_vtag() 755 vlan_tag = ntohs(evh->ether_tci); in oce_send_packet()
|
H A D | oce_rx.c | 468 ehp->ether_tci = LE_16(vtag); in oce_rx_insert_tag()
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_recv2.c | 211 ehp->ether_tci = ntohs(hw_rbd.vlan_tci); in bge_receive_packet()
|
H A D | bge_send.c | 535 vlan_tci = ntohs(ehp->ether_tci); in bge_ring_tx()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bridge.c | 1794 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 D | trill.c | 126 ethvlanhdr->ether_tci = htons(tci); in create_trill_header() 457 tci = ntohs(((struct ether_vlan_header *)ethhdr)->ether_tci); in trill_recv()
|
H A D | gldutil.c | 222 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/test/os-tests/tests/mac/ |
H A D | mac_parsing.c | 642 .ether_tci = htons(arb_vlan), in main()
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_arp.c | 625 eh->ether_tci = htons(VLAN_TCI(0, ETHER_CFI, vlan)); in libvarpd_inject_arp()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 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()
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_tx.c | 646 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 D | sockmod_pfp.c | 411 hdr.mhi_tci = ntohs(evhp->ether_tci); in pfp_packet()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_data.c | 476 evh->eh_vlan = VLAN_ID(ntohs(vl_hdr->ether_tci)); in eib_data_parse_ether_hdr()
|