Searched refs:ethertype (Results 1 – 11 of 11) sorted by relevance
| /titanic_53/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| H A D | snoop_ether.c | 133 int ethertype; in interpret_ether() local 170 ethertype = ntohs(e->ether_type); in interpret_ether() 181 if (ethertype == ETHERTYPE_VLAN) { in interpret_ether() 201 ethertype = ntohs(evx->ether_type); in interpret_ether() 205 if (ethertype <= 1514) { in interpret_ether() 212 ieee8023 = ethertype; in interpret_ether() 215 ethertype = ntohs(*(ushort_t *)(off + 6)); in interpret_ether() 219 ethertype = 0; in interpret_ether() 234 if (ethertype == 0 && ieee8023 > 0) { in interpret_ether() 242 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 | 252 static void pf_match_ethertype(uint_t ethertype); 1097 pf_match_ethertype(uint_t ethertype) in pf_match_ethertype() argument 1115 if (ethertype == ETHERTYPE_VLAN) in pf_match_ethertype() 1120 pf_compare_value(dl.dl_link_type_offset, 2, htons(ethertype)); in pf_match_ethertype()
|
| /titanic_53/usr/src/uts/common/io/ |
| H A D | gldutil.c | 166 pktinfo->ethertype = REF_NET_USHORT(mh->ether_type); in gld_interpret_ether() 267 pktinfo->ethertype = typelen; /* use type interpretation */ in gld_interpret_ether() 323 pktinfo->ethertype = REF_NET_USHORT(snaphdr->type); in gld_interpret_ether() 617 pktinfo->ethertype = REF_NET_USHORT(ihp->ipoib_type); in gld_interpret_ib() 792 pktinfo->ethertype = REF_NET_USHORT(((ipoib_hdr_t *) in gld_interpret_ib() 832 hptr->ipoib_type = pktinfo->ethertype; in gld_interpret_mdt_ib() 872 pktinfo->ethertype = REF_NET_USHORT(dlap-> in gld_interpret_mdt_ib() 1127 pktinfo->ethertype = REF_NET_USHORT(snaphdr->type); in gld_interpret_fddi() 1528 pktinfo->ethertype = REF_NET_USHORT(snaphdr->type); in gld_interpret_tr()
|
| H A D | gld.c | 2657 switch (pktinfo.ethertype) { in gld_recv_tagged() 2729 pktinfo.ethertype, in gld_recv_tagged() 2954 ((stream->gld_ethertype && stream->gld_sap == pktinfo->ethertype) || \ 3232 type = (gld->gld_ethertype) ? pktinfo->ethertype : 0; in gld_addudind()
|
| /titanic_53/usr/src/uts/common/sys/ |
| H A D | gldpriv.h | 215 uint_t ethertype; member
|
| /titanic_53/usr/src/uts/common/io/dld/ |
| H A D | dld_str.c | 1580 uint16_t ethertype; in str_notify_phys_addr() local 1601 ethertype = (dsp->ds_sap < ETHERTYPE_802_MIN) ? 0 : dsp->ds_sap; in str_notify_phys_addr() 1602 *(uint16_t *)((uchar_t *)(dlip + 1) + addr_length) = ethertype; in str_notify_phys_addr()
|
| /titanic_53/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()
|
| /titanic_53/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()
|
| /titanic_53/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
| H A D | mDNSEmbeddedAPI.h | 543 mDNSOpaque16 ethertype;
|
| H A D | mDNS.c | 14042 …if (end >= p+42 && mDNSSameOpaque16(eth->ethertype, Ethertype_ARP) && mDNSSameOpaque16(pkt->arp.hr… in mDNSCoreReceiveRawPacket() 14045 …else if (end >= p+34 && mDNSSameOpaque16(eth->ethertype, Ethertype_IPv4) && (pkt->v4.flagsfrags.b[… in mDNSCoreReceiveRawPacket() 14055 else if (end >= p+54 && mDNSSameOpaque16(eth->ethertype, Ethertype_IPv6)) in mDNSCoreReceiveRawPacket()
|