| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| H A D | snoop_ether.c | 135 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 D | snoop_trill.c | 42 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 D | snoop_pf.c | 240 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 D | t4fw_cfg.txt | 121 # 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 D | t5fw_cfg.txt | 136 # 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 D | t6fw_cfg.txt | 124 # 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 D | mac_provider.c | 1965 uint16_t ethertype = 0; in mac_mmc_parse_ether() local 1967 l2_off + offsetof(struct ether_header, ether_type), ðertype)) { in mac_mmc_parse_ether() 1974 if (ethertype == ETHERTYPE_VLAN) { in mac_mmc_parse_ether() 1984 ðertype)) { 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, ðertype, in mac_partial_offload_info() 2263 meoi->meoi_l3proto = ethertype; in mac_partial_offload_info()
|
| /illumos-gate/usr/src/uts/common/io/ |
| H A D | gldutil.c | 165 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 D | gld.c | 2385 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 D | mac_parsing.c | 118 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 D | gldpriv.h | 214 uint_t ethertype; member
|
| /illumos-gate/usr/src/uts/common/io/dld/ |
| H A D | dld_str.c | 1597 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 D | pe.c | 306 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 D | sfe_util.c | 225 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 D | common.h | 675 int tos, int protocol, int ethertype,
|
| H A D | t4_hw.c | 10556 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 D | mDNSEmbeddedAPI.h | 576 mDNSOpaque16 ethertype;
|
| H A D | mDNS.c | 14358 …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 D | release.txt | 5246 Change: LLH ethertype classification is involved. 5424 4. Request: Support LLH (NPAR) classification by ethertype.
|