Searched refs:ethertype (Results 1 - 9 of 9) sorted by relevance
/opensolaris-onvv-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 | 251 static void pf_match_ethertype(uint_t ethertype); 1049 * Check the ethertype. 1085 * to match an ethertype. 1087 * INPUTS: ethertype - The ethertype we want to check for. 1088 * Don't call htons on the ethertype before 1091 * filtering code to check an ethertype. Otherwise, 1095 pf_match_ethertype(uint_t ethertype) argument 1098 * If the user wants to filter on ethertype VLAN, 1109 * to move past the ethertype i [all...] |
/opensolaris-onvv-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;
|
/opensolaris-onvv-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
|
/opensolaris-onvv-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;
|
/opensolaris-onvv-gate/usr/src/uts/common/io/chxge/ |
H A D | pe.c | 308 ushort_t ethertype = ntohs(*(short *)&mp->b_rptr[12]); local 309 if (ethertype == ETHERTYPE_ARP) {
|
/opensolaris-onvv-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.c | 227 uint_t ethertype; local 269 ethertype = GET_ETHERTYPE(p); 270 if (ethertype == VTAG_TPID) { 276 ethertype = GET_ETHERTYPE(p); 278 sprintf(bp, " type:%04x", ethertype); 299 if (ethertype != ETHERTYPE_IP) {
|
Completed in 130 milliseconds