Home
last modified time | relevance | path

Searched refs:ether_tpid (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/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 Dvnet.c1347 if (ntohs(evhp->ether_tpid) == ETHERTYPE_VLAN && in vnet_rx_frames_untag()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_vlan.h42 offsetof(struct ether_vlan_header, ether_tpid))
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnx.h378 #define DRV_EXTRACT_VLAN_TPID(vhdrp) htons(vhdrp->ether_tpid)
380 #define DRV_SET_VLAN_TPID(vhdrp, tpid) vhdrp->ether_tpid = htons(tpid)
/illumos-gate/usr/src/uts/common/sys/
H A Dethernet.h70 ushort_t ether_tpid; member
/illumos-gate/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()
/illumos-gate/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.c533 if (ehp->ether_tpid == htons(ETHERTYPE_VLAN)) { in bge_ring_tx()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c898 if (oevh->ether_tpid == htons(ETHERTYPE_VLAN)) in mac_sw_lso()
1460 evhp->ether_tpid = htons(ETHERTYPE_VLAN); in mac_add_vlan_tag()
1523 if (ntohs(evhp->ether_tpid) == ETHERTYPE_VLAN) { in mac_strip_vlan_tag()
H A Dmac_flow.c1732 if ((sap = ntohs(evhp->ether_tpid)) == ETHERTYPE_VLAN && in flow_ether_accept()
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_tx.c91 if (eth->ether_tpid == htons(ETHERTYPE_VLAN)) { in vmxnet3_tx_prepare_offload()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_impl.h163 ((((struct ether_vlan_header *)ptr)->ether_tpid) == \
/illumos-gate/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()
H A Doce_tx.c647 evh->ether_tpid = htons(VLAN_TPID); in oce_insert_vtag()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_arp.c624 eh->ether_tpid = htons(ETHERTYPE_VLAN); in libvarpd_inject_arp()
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_sw.h318 ((((struct ether_vlan_header *)(uintptr_t)ptr)->ether_tpid) == \
H A De1000g_tx.c497 if (((struct ether_vlan_header *)(uintptr_t)mp->b_rptr)->ether_tpid == in e1000g_retrieve_context()
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c801 if (ntohs(evhp->ether_tpid) == ETHERTYPE_VLAN) { in i_dld_ether_header_update_tag()
848 evhp->ether_tpid = htons(ETHERTYPE_VLAN); in i_dld_ether_header_update_tag()
/illumos-gate/usr/src/uts/common/io/
H A Dbridge.c1782 evh->ether_tpid = evh->ether_type; in reform_vlan_header()
1808 evh->ether_type = evh->ether_tpid; in reform_vlan_header()
1809 evh->ether_tpid = htons(ETHERTYPE_VLAN); in reform_vlan_header()
H A Dgldutil.c470 SET_NET_USHORT(evhp->ether_tpid, vtag); in gld_insert_vtag_ether()
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_impl.h279 ((((struct ether_vlan_header *)ptr)->ether_tpid) == \
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_fp.c1760 if (ntohs(ethvhdr->ether_tpid) == ETHERTYPE_VLAN) { in qede_hash_get_txq()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c1272 if (evh->ether_tpid == htons(ETHERTYPE_VLAN)) in nxge_do_softlso()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c4839 if (ntohs(ethvhdr->ether_tpid) == ETHERTYPE_VLAN) { in ql_hw_csum_setup()
5104 if (ntohs(ethvhdr->ether_tpid) == ETHERTYPE_VLAN) { in ql_tx_hashing()
5188 if (ntohs(ethvhdr->ether_tpid) == ETHERTYPE_VLAN) { in ql_hw_lso_setup()