Home
last modified time | relevance | path

Searched refs:ethertype (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c135 int ethertype; in interpret_ether() local
172 ethertype = ntohs(e->ether_type); in interpret_ether()
183 if (ethertype == ETHERTYPE_VLAN) { in interpret_ether()
203 ethertype = ntohs(evx->ether_type); in interpret_ether()
207 if (ethertype <= 1514) { in interpret_ether()
214 ieee8023 = ethertype; in interpret_ether()
217 ethertype = ntohs(*(ushort_t *)(off + 6)); in interpret_ether()
221 ethertype = 0; in interpret_ether()
236 if (ethertype == 0 && ieee8023 > 0) { in interpret_ether()
244 ethertype, print_ethertype(ethertype), in interpret_ether()
[all …]
H A Dsnoop_trill.c42 uint16_t ethertype; in interpret_trill() local
100 ethertype = ntohs(inner_ethvlanhdr->ether_type); in interpret_trill()
111 print_ethertype(ethertype)); in interpret_trill()
116 return (ethertype); in interpret_trill()
H A Dsnoop_pf.c240 static void pf_match_ethertype(uint_t ethertype);
1075 pf_match_ethertype(uint_t ethertype) in pf_match_ethertype() argument
1093 if (ethertype == ETHERTYPE_VLAN) in pf_match_ethertype()
1098 pf_compare_value(dl.dl_link_type_offset, 2, htons(ethertype)); in pf_match_ethertype()
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_cfg.txt121 # filter tuples : fragmentation, mpshittype, macmatch, ethertype,
515 dcb_app_tlv[0] = 0x8906, ethertype, 3
516 dcb_app_tlv[1] = 0x8914, ethertype, 3
526 dcb_app_tlv[0] = 0x8906, ethertype, 3
527 dcb_app_tlv[1] = 0x8914, ethertype, 3
537 dcb_app_tlv[0] = 0x8906, ethertype, 3
538 dcb_app_tlv[1] = 0x8914, ethertype, 3
548 dcb_app_tlv[0] = 0x8906, ethertype, 3
549 dcb_app_tlv[1] = 0x8914, ethertype, 3
H A Dt5fw_cfg.txt136 # filter tuples : fragmentation, mpshittype, macmatch, ethertype,
562 dcb_app_tlv[0] = 0x8906, ethertype, 3
563 dcb_app_tlv[1] = 0x8914, ethertype, 3
574 dcb_app_tlv[0] = 0x8906, ethertype, 3
575 dcb_app_tlv[1] = 0x8914, ethertype, 3
586 dcb_app_tlv[0] = 0x8906, ethertype, 3
587 dcb_app_tlv[1] = 0x8914, ethertype, 3
598 dcb_app_tlv[0] = 0x8906, ethertype, 3
599 dcb_app_tlv[1] = 0x8914, ethertype, 3
H A Dt6fw_cfg.txt124 # filter tuples : fragmentation, mpshittype, macmatch, ethertype,
578 dcb_app_tlv[0] = 0x8906, ethertype, 3
579 dcb_app_tlv[1] = 0x8914, ethertype, 3
589 dcb_app_tlv[0] = 0x8906, ethertype, 3
590 dcb_app_tlv[1] = 0x8914, ethertype, 3
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_provider.c1965 uint16_t ethertype = 0; in mac_mmc_parse_ether() local
1967 l2_off + offsetof(struct ether_header, ether_type), &ethertype)) { in mac_mmc_parse_ether()
1974 if (ethertype == ETHERTYPE_VLAN) { in mac_mmc_parse_ether()
1984 &ethertype)) { in mac_mmc_parse_ether()
1995 *ethertypep = ethertype; in mac_mmc_parse_ether()
2255 uint16_t l2_sz, ethertype; in mac_partial_offload_info() local
2256 if (!mac_mmc_parse_ether(&cursor, NULL, &vlan_tci, &ethertype, in mac_partial_offload_info()
2263 meoi->meoi_l3proto = ethertype; in mac_partial_offload_info()
/illumos-gate/usr/src/uts/common/io/
H A Dgldutil.c165 pktinfo->ethertype = REF_NET_USHORT(mh->ether_type); in gld_interpret_ether()
266 pktinfo->ethertype = typelen; /* use type interpretation */ in gld_interpret_ether()
322 pktinfo->ethertype = REF_NET_USHORT(snaphdr->type); in gld_interpret_ether()
616 pktinfo->ethertype = REF_NET_USHORT(ihp->ipoib_type); in gld_interpret_ib()
791 pktinfo->ethertype = REF_NET_USHORT(((ipoib_hdr_t *) in gld_interpret_ib()
1044 pktinfo->ethertype = REF_NET_USHORT(snaphdr->type); in gld_interpret_fddi()
1445 pktinfo->ethertype = REF_NET_USHORT(snaphdr->type); in gld_interpret_tr()
H A Dgld.c2385 switch (pktinfo.ethertype) { in gld_recv_tagged()
2457 pktinfo.ethertype, in gld_recv_tagged()
2682 ((stream->gld_ethertype && stream->gld_sap == pktinfo->ethertype) || \
2960 type = (gld->gld_ethertype) ? pktinfo->ethertype : 0; in gld_addudind()
/illumos-gate/usr/src/test/os-tests/tests/mac/
H A Dmac_parsing.c118 append_ether(test_pkt_t *tp, uint16_t ethertype) in append_ether() argument
121 .ether_type = htons(ethertype), in append_ether()
/illumos-gate/usr/src/uts/common/sys/
H A Dgldpriv.h214 uint_t ethertype; member
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c1597 uint16_t ethertype; in str_notify_phys_addr() local
1618 ethertype = (dsp->ds_sap < ETHERTYPE_802_MIN) ? 0 : dsp->ds_sap; in str_notify_phys_addr()
1619 *(uint16_t *)((uchar_t *)(dlip + 1) + addr_length) = ethertype; in str_notify_phys_addr()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dpe.c306 ushort_t ethertype = ntohs(*(short *)&mp->b_rptr[12]); in pe_start() local
307 if (ethertype == ETHERTYPE_ARP) { in pe_start()
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.c225 uint_t ethertype; in gem_dump_packet() local
267 ethertype = GET_ETHERTYPE(p); in gem_dump_packet()
268 if (ethertype == VTAG_TPID) { in gem_dump_packet()
274 ethertype = GET_ETHERTYPE(p); in gem_dump_packet()
276 sprintf(bp, " type:%04x", ethertype); in gem_dump_packet()
297 if (ethertype != ETHERTYPE_IP) { in gem_dump_packet()
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.h675 int tos, int protocol, int ethertype,
H A Dt4_hw.c10556 int tos, int protocol, int ethertype, in t4_create_filter_info() argument
10573 BAD_FILTER(ethertype) || in t4_create_filter_info()
10605 SET_FILTER_FIELD(ethertype, W_FT_ETHERTYPE); in t4_create_filter_info()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DmDNSEmbeddedAPI.h576 mDNSOpaque16 ethertype;
H A DmDNS.c14358 …if (end >= p+42 && mDNSSameOpaque16(eth->ethertype, Ethertype_ARP) && mDNSSameOpaque16(pkt->arp.hr… in mDNSCoreReceiveRawPacket()
14361 …else if (end >= p+34 && mDNSSameOpaque16(eth->ethertype, Ethertype_IPv4) && (pkt->v4.flagsfrags.b[… in mDNSCoreReceiveRawPacket()
14373 else if (end >= p+54 && mDNSSameOpaque16(eth->ethertype, Ethertype_IPv6)) in mDNSCoreReceiveRawPacket()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Drelease.txt5246 Change: LLH ethertype classification is involved.
5424 4. Request: Support LLH (NPAR) classification by ethertype.