Searched refs:ETHERTYPE_VLAN (Results 1 - 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_common.c86 evhp->ether_tpid = htons(ETHERTYPE_VLAN);
109 evhp->ether_tpid = htons(ETHERTYPE_VLAN);
H A Dvsw_switching.c1275 if (ehp->ether_type != ETHERTYPE_VLAN) { /* untagged */
1484 if (ehp->ether_type == ETHERTYPE_VLAN) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_trill.c92 if (inner_ethhdr->ether_type != htons(ETHERTYPE_VLAN)) {
H A Dsnoop_pf.c109 { "vlan", ETHERTYPE_VLAN },
125 { "vlan", ETHERTYPE_VLAN },
1054 htons(ETHERTYPE_VLAN));
1115 if (ethertype == ETHERTYPE_VLAN)
H A Dsnoop_filter.c951 if (ntohs(get_u16(base)) == ETHERTYPE_VLAN)
1902 if (val != ETHERTYPE_VLAN) {
2275 ethertype_match(ETHERTYPE_VLAN);
2310 ethertype_match(ETHERTYPE_VLAN);
H A Dsnoop_ether.c181 if (ethertype == ETHERTYPE_VLAN) {
399 if (ether_type == (uint16_t)ETHERTYPE_VLAN) {
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_rr.c74 if (etype == ETHERTYPE_VLAN)
H A Dbnxe_tx.c701 htons(ETHERTYPE_VLAN))
710 if (((struct ether_header *)pL2Hdr)->ether_type == htons(ETHERTYPE_VLAN))
/illumos-gate/usr/src/uts/common/sys/
H A Dethernet.h91 #define ETHERTYPE_VLAN (0x8100) /* 802.1Q VLAN */ macro
H A Dgld.h354 (((uint32_t)ETHERTYPE_VLAN << VLAN_TPID_SHIFT) | \
360 (((uint32_t)ETHERTYPE_VLAN << VLAN_TPID_SHIFT) | (tci))
H A Dmac_client_impl.h269 ETHERTYPE_VLAN) { \
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls.c185 if (sap == ETHERTYPE_VLAN && dsp->ds_promisc == 0) {
291 if (dsp->ds_sap == ETHERTYPE_VLAN &&
447 * need to add a VLAN header if this isn't an ETHERTYPE_VLAN listener
455 if (is_ethernet && sap != ETHERTYPE_VLAN &&
460 mac_sap = ETHERTYPE_VLAN;
485 * The stream is ETHERTYPE_VLAN listener, so its VLAN tag is
491 ASSERT(sap == ETHERTYPE_VLAN);
H A Ddls_link.c387 ETHERTYPE_VLAN, dls_accept) > 0) {
397 * - their sap is ETHERTYPE_VLAN and their VID is
402 (mhi.mhi_bindsap == ETHERTYPE_VLAN &&
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tcp.c101 if (ether_type == htons(ETHERTYPE_VLAN)) {
/illumos-gate/usr/src/boot/include/net/
H A Dethernet.h38 (((etype) == ETHERTYPE_VLAN) ? ETHER_VLAN_ENCAP_LEN : 0))
263 #define ETHERTYPE_VLAN 0x8100 /* IEEE 802.1Q VLAN tagging (XXX conflicts) */ macro
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_rxtx.c278 ehp->ether_tpid = htons(ETHERTYPE_VLAN);
634 if (ehp->ether_tpid == htons(ETHERTYPE_VLAN))
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_recv2.c210 ehp->ether_tpid = ntohs(ETHERTYPE_VLAN);
H A Dbge_send.c532 if (ehp->ether_tpid == htons(ETHERTYPE_VLAN)) {
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c344 evhp->ether_tpid = htons(ETHERTYPE_VLAN);
409 if (ntohs(evhp->ether_tpid) == ETHERTYPE_VLAN) {
932 if (sap == ETHERTYPE_VLAN) {
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c784 if (ntohs(evhp->ether_tpid) == ETHERTYPE_VLAN) {
831 evhp->ether_tpid = htons(ETHERTYPE_VLAN);
1275 * DL_PROMISC_SAP listener or a ETHERTYPE_VLAN listener.
1279 * ETHERTYPE_VLAN listener, strip the Ethernet header but
1286 ((dsp->ds_sap == ETHERTYPE_VLAN) ||
1339 ((dsp->ds_sap == ETHERTYPE_VLAN) ||
1490 *(uint16_t *)(daddr + addr_length) = ETHERTYPE_VLAN;
/illumos-gate/usr/src/uts/common/io/
H A Dtrill.c116 tci != TRILL_NO_TCI ? ETHERTYPE_VLAN : etype, mp, extra_hdr_len);
230 ASSERT(ethtype == ETHERTYPE_VLAN || ethtype == ETHERTYPE_TRILL);
234 (ethtype == ETHERTYPE_VLAN ? sizeof (struct ether_vlan_extinfo):0);
444 if (ethhdr->ether_type == htons(ETHERTYPE_VLAN)) {
H A Dbridge.c1800 evh->ether_tpid = htons(ETHERTYPE_VLAN);
1810 if (hdr_info->mhi_bindsap == ETHERTYPE_VLAN) {
2114 if (hdr_info->mhi_bindsap == ETHERTYPE_VLAN) {
2277 (hdr_info.mhi_bindsap != ETHERTYPE_VLAN ||
2565 if (hdr_info.mhi_bindsap == ETHERTYPE_VLAN) {
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_tx.c90 if (eth->ether_tpid == htons(ETHERTYPE_VLAN)) {
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h283 #ifndef ETHERTYPE_VLAN
284 #define ETHERTYPE_VLAN 0x8100 macro
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_rx.c467 ehp->ether_tpid = htons(ETHERTYPE_VLAN);

Completed in 107 milliseconds

12