Searched refs:ethertype (Results 1 - 12 of 12) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_trill.c | 42 uint16_t ethertype; local 94 "TRILL (inner VLAN missing; ethertype %X)", 100 ethertype = ntohs(inner_ethvlanhdr->ether_type); 111 print_ethertype(ethertype)); 116 return (ethertype);
|
H A D | snoop_ether.c | 133 int ethertype; local 170 ethertype = ntohs(e->ether_type); 181 if (ethertype == ETHERTYPE_VLAN) { 201 ethertype = ntohs(evx->ether_type); 205 if (ethertype <= 1514) { 212 ieee8023 = ethertype; 215 ethertype = ntohs(*(ushort_t *)(off + 6)); 219 ethertype = 0; 234 if (ethertype == 0 && ieee8023 > 0) { 242 ethertype, print_ethertyp local 254 "size=%d bytes", ethertype, local 817 int ethertype; local 907 ethertype, local 1073 int ethertype; local 1165 ethertype, local 1586 unsigned short ethertype; local 1624 ethertype, local [all...] |
H A D | snoop_pf.c | 252 static void pf_match_ethertype(uint_t ethertype); 1051 * Check the ethertype. 1087 * to match an ethertype. 1089 * INPUTS: ethertype - The ethertype we want to check for. 1090 * Don't call htons on the ethertype before 1093 * filtering code to check an ethertype. Otherwise, 1097 pf_match_ethertype(uint_t ethertype) argument 1100 * If the user wants to filter on ethertype VLAN, 1111 * to move past the ethertype i [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | gldutil.c | 166 pktinfo->ethertype = REF_NET_USHORT(mh->ether_type); 267 pktinfo->ethertype = typelen; /* use type interpretation */ 323 pktinfo->ethertype = REF_NET_USHORT(snaphdr->type); 617 pktinfo->ethertype = REF_NET_USHORT(ihp->ipoib_type); 792 pktinfo->ethertype = REF_NET_USHORT(((ipoib_hdr_t *) 832 hptr->ipoib_type = pktinfo->ethertype; 872 pktinfo->ethertype = REF_NET_USHORT(dlap-> 1127 pktinfo->ethertype = REF_NET_USHORT(snaphdr->type); 1528 pktinfo->ethertype = REF_NET_USHORT(snaphdr->type);
|
H A D | gld.c | 2657 switch (pktinfo.ethertype) { 2727 cmn_err(CE_CONT, "gld_recv_tagged: ethertype: %4x Len: %4d " 2729 pktinfo.ethertype, 2954 ((stream->gld_ethertype && stream->gld_sap == pktinfo->ethertype) || \ 3232 type = (gld->gld_ethertype) ? pktinfo->ethertype : 0;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | gldpriv.h | 168 boolean_t gld_ethertype; /* ethertype/LLC stream */ 215 uint_t ethertype; member in struct:pktinfo
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 1514 * Set the source DLSAP to the packet ethertype. 1580 uint16_t ethertype; local 1601 ethertype = (dsp->ds_sap < ETHERTYPE_802_MIN) ? 0 : dsp->ds_sap; 1602 *(uint16_t *)((uchar_t *)(dlip + 1) + addr_length) = ethertype;
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | pe.c | 306 ushort_t ethertype = ntohs(*(short *)&mp->b_rptr[12]); local 307 if (ethertype == ETHERTYPE_ARP) {
|
/illumos-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.c | 225 uint_t ethertype; local 267 ethertype = GET_ETHERTYPE(p); 268 if (ethertype == VTAG_TPID) { 274 ethertype = GET_ETHERTYPE(p); 276 sprintf(bp, " type:%04x", ethertype); 297 if (ethertype != ETHERTYPE_IP) {
|
/illumos-gate/usr/src/uts/common/io/usbgem/ |
H A D | usbgem.c | 296 uint_t ethertype; local 338 ethertype = GET_ETHERTYPE(p); 339 if (ethertype == VTAG_TPID) { 345 ethertype = GET_ETHERTYPE(p); 347 sprintf(bp, " type:%04x", ethertype); 368 if (ethertype != ETHERTYPE_IP) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSEmbeddedAPI.h | 538 mDNSOpaque16 ethertype; variable
|
H A D | mDNS.c | 14092 if (end >= p+42 && mDNSSameOpaque16(eth->ethertype, Ethertype_ARP) && mDNSSameOpaque16(pkt->arp.hrd, ARP_hrd_eth) && mDNSSameOpaque16(pkt->arp.pro, ARP_pro_ip)) 14095 else if (end >= p+34 && mDNSSameOpaque16(eth->ethertype, Ethertype_IPv4) && (pkt->v4.flagsfrags.b[0] & 0x1F) == 0 && pkt->v4.flagsfrags.b[1] == 0) 14107 else if (end >= p+54 && mDNSSameOpaque16(eth->ethertype, Ethertype_IPv6))
|
Completed in 192 milliseconds