Searched refs:ethertype (Results 1 – 9 of 9) sorted by relevance
133 int ethertype; in interpret_ether() local170 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 …]
42 uint16_t ethertype; in interpret_trill() local100 ethertype = ntohs(inner_ethvlanhdr->ether_type); in interpret_trill()111 print_ethertype(ethertype)); in interpret_trill()116 return (ethertype); in interpret_trill()
252 static void pf_match_ethertype(uint_t ethertype);1097 pf_match_ethertype(uint_t ethertype) in pf_match_ethertype() argument1115 if (ethertype == ETHERTYPE_VLAN) in pf_match_ethertype()1120 pf_compare_value(dl.dl_link_type_offset, 2, htons(ethertype)); in pf_match_ethertype()
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()
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()
215 uint_t ethertype; member
1580 uint16_t ethertype; in str_notify_phys_addr() local1601 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()
306 ushort_t ethertype = ntohs(*(short *)&mp->b_rptr[12]); in pe_start() local307 if (ethertype == ETHERTYPE_ARP) { in pe_start()
227 uint_t ethertype; in gem_dump_packet() local269 ethertype = GET_ETHERTYPE(p); in gem_dump_packet()270 if (ethertype == VTAG_TPID) { in gem_dump_packet()276 ethertype = GET_ETHERTYPE(p); in gem_dump_packet()278 sprintf(bp, " type:%04x", ethertype); in gem_dump_packet()299 if (ethertype != ETHERTYPE_IP) { in gem_dump_packet()