/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_vlan.h | 43 #define ENCAP_ETHERTYPE_OFF (offsetof(struct ether_vlan_header, ether_type) -\
|
H A D | snoop_trill.c | 92 if (inner_ethhdr->ether_type != htons(ETHERTYPE_VLAN)) { 95 ntohs(inner_ethhdr->ether_type)); 100 ethertype = ntohs(inner_ethvlanhdr->ether_type);
|
H A D | snoop_ether.c | 170 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 D | sfxge_tcp.c | 71 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 D | ethernet.h | 61 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 D | mac_client_impl.h | 268 if (ntohs(((struct ether_header *)(mp)->b_rptr)->ether_type) == \
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_classify.h | 74 uint16_t ether_type; member in struct:__anon5394
|
H A D | hxge_flow.h | 95 uint16_t ether_type; member in struct:ether_spec_s
|
H A D | hxge_pfc.h | 222 uint16_t ether_type; member in struct:hxge_tcam_entry_S
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_rr.c | 72 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 D | mac_ether.c | 399 * 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 D | mac_wifi.c | 386 ntohs(ehp->ether_type), pdata, NULL, 0); 427 eh.ether_type = htons(mhi.mhi_origsap);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | ether.c | 77 eh->ether_type = htons(etype); 125 *etype = ntohs(eh->ether_type);
|
/illumos-gate/usr/src/lib/libbc/inc/include/netinet/ |
H A D | if_ether.h | 37 u_short ether_type; member in struct:ether_header
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | ofw_net.c | 102 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 D | ethernet.c | 148 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 D | aggr_recv.c | 119 sap = ntohs(ehp->ether_type);
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 140 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 D | vnet_common.c | 114 sizeof (evhp->ether_type));
|
/illumos-gate/usr/src/uts/sun4u/starcat/sys/ |
H A D | dman.h | 71 ((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 D | nxge_flow.h | 99 uint16_t ether_type; member in struct:ether_spec_s
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | net.c | 250 printf("type: 0x%x\n", eh->ether_type & 0xffff);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 520 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 D | myri10ge_lro.c | 150 if (eh->ether_type != htons(ETHERTYPE_IP))
|
/illumos-gate/usr/src/boot/include/net/ |
H A D | ethernet.h | 63 u_short ether_type; member in struct:ether_header
|