Searched refs:ether_type (Results 1 - 25 of 68) sorted by relevance

123

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_vlan.h43 #define ENCAP_ETHERTYPE_OFF (offsetof(struct ether_vlan_header, ether_type) -\
H A Dsnoop_trill.c92 if (inner_ethhdr->ether_type != htons(ETHERTYPE_VLAN)) {
95 ntohs(inner_ethhdr->ether_type));
100 ethertype = ntohs(inner_ethvlanhdr->ether_type);
H A Dsnoop_ether.c170 ethertype = ntohs(e->ether_type);
201 ethertype = ntohs(evx->ether_type);
390 uint16_t ether_type = 0; local
395 e += (offsetof(struct ether_header, ether_type));
397 GETINT16(ether_type, e);
399 if (ether_type == (uint16_t)ETHERTYPE_VLAN) {
413 struct ether_type { struct
416 } ether_type [] = { variable in typeref:struct:ether_type
688 for (i = 0; ether_type[i].e_type; i++)
689 if (type == ether_type[
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tcp.c71 uint16_t ether_type; local
99 ether_type = etherhp->ether_type;
101 if (ether_type == htons(ETHERTYPE_VLAN)) {
110 ether_type = ethervhp->ether_type;
113 if (ether_type != htons(ETHERTYPE_IP))
/illumos-gate/usr/src/uts/common/sys/
H A Dethernet.h61 ushort_t ether_type; member in struct:ether_header
71 ushort_t ether_type; member in struct:ether_vlan_header
80 ushort_t ether_type; member in struct:ether_vlan_extinfo
H A Dmac_client_impl.h268 if (ntohs(((struct ether_header *)(mp)->b_rptr)->ether_type) == \
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_classify.h74 uint16_t ether_type; member in struct:__anon5394
H A Dhxge_flow.h95 uint16_t ether_type; member in struct:ether_spec_s
H A Dhxge_pfc.h222 uint16_t ether_type; member in struct:hxge_tcam_entry_S
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_rr.c72 etype = ntohs(((struct ether_header *)pHdr)->ether_type);
76 etype = ntohs(((struct ether_vlan_header *)pHdr)->ether_type);
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ether.c399 * case, then the ether_type needs to be set to the payload length.
403 ehp->ether_type = htons(sap);
414 uint16_t ether_type; local
420 ether_type = ntohs(ehp->ether_type);
425 hdr_info->mhi_origsap = ether_type;
426 hdr_info->mhi_bindsap = (ether_type > ETHERMTU) ?
427 ether_type : DLS_SAP_LLC;
429 hdr_info->mhi_hdrsize + ether_type : 0;
H A Dmac_wifi.c386 ntohs(ehp->ether_type), pdata, NULL, 0);
427 eh.ether_type = htons(mhi.mhi_origsap);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dether.c77 eh->ether_type = htons(etype);
125 *etype = ntohs(eh->ether_type);
/illumos-gate/usr/src/lib/libbc/inc/include/netinet/
H A Dif_ether.h37 u_short ether_type; member in struct:ether_header
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_net.c102 printf("type: 0x%x\n", eh->ether_type & 0xffff);
170 printf("type: 0x%x\n", eh->ether_type & 0xffff);
/illumos-gate/usr/src/stand/lib/inet/
H A Dethernet.c148 if (in->arp_eh.ether_type !=
171 if (in->arp_eh.ether_type !=
221 out.arp_eh.ether_type = htons(ETHERTYPE_ARP);
253 out.arp_eh.ether_type = htons(ETHERTYPE_REVARP);
379 if (eh->ether_type == ntohs(ETHERTYPE_IP) &&
416 if (eh->ether_type == ntohs(ETHERTYPE_ARP) &&
528 eh.ether_type = htons(ETHERTYPE_IP);
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_recv.c119 sap = ntohs(ehp->ether_type);
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c140 if (ntohs(ehp->ether_type) == VLAN_TPID) {
146 sap = ntohs(evhp->ether_type);
149 sap = ntohs(ehp->ether_type);
343 evhp->ether_type = ehp->ether_type;
931 sap = ntohs(ehp->ether_type);
948 sap = ntohs(evhp->ether_type);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_common.c114 sizeof (evhp->ether_type));
/illumos-gate/usr/src/uts/sun4u/starcat/sys/
H A Ddman.h71 ((uint8_t *)(&((ehdr_t *)ptr)->ether_type))[0] = \
73 ((uint8_t *)(&((ehdr_t *)ptr)->ether_type))[1] = (value & 0xff); }
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_flow.h99 uint16_t ether_type; member in struct:ether_spec_s
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dnet.c250 printf("type: 0x%x\n", eh->ether_type & 0xffff);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c520 rc = STP_IN_check_bpdu_header((BPDU_T *)&eh->ether_type, buflen);
552 (BPDU_T *)&eh->ether_type, buflen);
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c150 if (eh->ether_type != htons(ETHERTYPE_IP))
/illumos-gate/usr/src/boot/include/net/
H A Dethernet.h63 u_short ether_type; member in struct:ether_header

Completed in 146 milliseconds

123