/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_tcp.c | 71 uint16_t ether_type; in sfxge_pkthdr_parse() local 99 ether_type = etherhp->ether_type; in sfxge_pkthdr_parse() 101 if (ether_type == htons(ETHERTYPE_VLAN)) { in sfxge_pkthdr_parse() 110 ether_type = ethervhp->ether_type; in sfxge_pkthdr_parse() 113 if (ether_type != htons(ETHERTYPE_IP)) in sfxge_pkthdr_parse()
|
/illumos-gate/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ether.c | 453 ehp->ether_type = htons(sap); in mac_ether_header() 464 uint16_t ether_type; in mac_ether_header_info() local 470 ether_type = ntohs(ehp->ether_type); in mac_ether_header_info() 475 hdr_info->mhi_origsap = ether_type; in mac_ether_header_info() 476 hdr_info->mhi_bindsap = (ether_type > ETHERMTU) ? in mac_ether_header_info() 477 ether_type : DLS_SAP_LLC; in mac_ether_header_info() 479 hdr_info->mhi_hdrsize + ether_type : 0; in mac_ether_header_info()
|
H A D | mac_wifi.c | 386 ntohs(ehp->ether_type), pdata, NULL, 0); in mac_wifi_header_cook() 427 eh.ether_type = htons(mhi.mhi_origsap); in mac_wifi_header_uncook()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_trill.c | 92 if (inner_ethhdr->ether_type != htons(ETHERTYPE_VLAN)) { in interpret_trill() 95 ntohs(inner_ethhdr->ether_type)); in interpret_trill() 100 ethertype = ntohs(inner_ethvlanhdr->ether_type); in interpret_trill()
|
H A D | snoop_ether.c | 172 ethertype = ntohs(e->ether_type); in interpret_ether() 203 ethertype = ntohs(evx->ether_type); in interpret_ether() 392 uint16_t ether_type = 0; in ether_header_len() local 397 e += (offsetof(struct ether_header, ether_type)); in ether_header_len() 399 GETINT16(ether_type, e); in ether_header_len() 401 if (ether_type == (uint16_t)ETHERTYPE_VLAN) { in ether_header_len() 415 struct ether_type { struct 418 } ether_type [] = { argument 690 for (i = 0; ether_type[i].e_type; i++) in print_ethertype() 691 if (type == ether_type[i].e_type) in print_ethertype() [all …]
|
H A D | snoop_vlan.h | 41 #define ENCAP_ETHERTYPE_OFF (offsetof(struct ether_vlan_header, ether_type) -\
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ethernet.h | 62 ushort_t ether_type; member 72 ushort_t ether_type; member 81 ushort_t ether_type; member
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_dbg.c | 76 if (ntohs(eth_hdr->ether_type) == ETHERTYPE_IP) { in qede_dbg_ipv6_ext_hdr() 77 pktinfo->ether_type = ntohs(eth_hdr->ether_type); in qede_dbg_ipv6_ext_hdr() 79 } else if (ntohs(eth_hdr->ether_type) == ETHERTYPE_VLAN) { in qede_dbg_ipv6_ext_hdr() 82 pktinfo->ether_type = ntohs(vlan_hdr->ether_type); in qede_dbg_ipv6_ext_hdr()
|
H A D | qede_fp.c | 865 if (ntohs(eth_hdr->ether_type) == ETHERTYPE_IP) { in qede_pkt_parse_lso_headers() 866 pktinfo->ether_type = ntohs(eth_hdr->ether_type); in qede_pkt_parse_lso_headers() 868 } else if (ntohs(eth_hdr->ether_type) == ETHERTYPE_VLAN) { in qede_pkt_parse_lso_headers() 871 pktinfo->ether_type = ntohs(vlan_hdr->ether_type); in qede_pkt_parse_lso_headers() 939 if (ntohs(eth_hdr->ether_type) == ETHERTYPE_IP) { in qede_get_pkt_info() 940 pktinfo->ether_type = ntohs(eth_hdr->ether_type); in qede_get_pkt_info() 942 } else if (ntohs(eth_hdr->ether_type) == ETHERTYPE_VLAN) { in qede_get_pkt_info() 945 pktinfo->ether_type = ntohs(vlan_hdr->ether_type); in qede_get_pkt_info() 1502 pktinfo.total_len, pktinfo.mblk_no, pktinfo.ether_type, in qede_send_tx_packet() 1762 etherType = ntohs(ethvhdr->ether_type); in qede_hash_get_txq() [all …]
|
H A D | qede_fp.h | 130 u16 ether_type; member
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ethernet.c | 148 if (in->arp_eh.ether_type != in ether_comarp() 171 if (in->arp_eh.ether_type != in ether_comarp() 221 out.arp_eh.ether_type = htons(ETHERTYPE_ARP); in ether_arp() 253 out.arp_eh.ether_type = htons(ETHERTYPE_REVARP); in ether_revarp() 379 if (eh->ether_type == ntohs(ETHERTYPE_IP) && in ether_input() 416 if (eh->ether_type == ntohs(ETHERTYPE_ARP) && in ether_input() 528 eh.ether_type = htons(ETHERTYPE_IP); in ether_output()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | ether.c | 71 eh->ether_type = htons(etype); in sendether() 122 *etype = ntohs(eh->ether_type); in readether()
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_rr.c | 72 etype = ntohs(((struct ether_header *)pHdr)->ether_type); in BnxeRouteTxRing() 76 etype = ntohs(((struct ether_vlan_header *)pHdr)->ether_type); in BnxeRouteTxRing()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_classify.h | 72 uint16_t ether_type; member
|
H A D | hxge_flow.h | 93 uint16_t ether_type; member
|
/illumos-gate/usr/src/common/inet/ |
H A D | inet_hash.c | 184 sap = ntohs(ehp->ether_type); in inet_pkt_hash() 201 sap = ntohs(evhp->ether_type); in inet_pkt_hash()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 399 if (ntohs(ehp->ether_type) == VLAN_TPID) { in mac_sw_cksum() 403 etype = ntohs(evhp->ether_type); in mac_sw_cksum() 406 etype = ntohs(ehp->ether_type); in mac_sw_cksum() 1350 if (ntohs(ehp->ether_type) == VLAN_TPID) in mac_hw_emul() 1459 evhp->ether_type = ehp->ether_type; in mac_add_vlan_tag() 2037 sap = ntohs(ehp->ether_type); in mac_pkt_hash() 2054 sap = ntohs(evhp->ether_type); in mac_pkt_hash()
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_recv.c | 121 sap = ntohs(ehp->ether_type); in aggr_recv_path_cb()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 114 sizeof (evhp->ether_type)); in vnet_vlan_insert_tag()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_tx.c | 749 if (ntohs(eh->ether_type) == VLAN_TPID) { in oce_send_packet() 752 etype = ntohs(evh->ether_type); in oce_send_packet() 758 etype = ntohs(eh->ether_type); in oce_send_packet()
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_tx.c | 361 ftype = ntohs(eth->ether_type); in viona_tx_csum() 369 ftype = ntohs(veth->ether_type); in viona_tx_csum()
|
/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); in receive_packet() 552 (BPDU_T *)&eh->ether_type, buflen); in receive_packet()
|
/illumos-gate/usr/src/boot/include/net/ |
H A D | ethernet.h | 63 u_short ether_type; member
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_flow.h | 99 uint16_t ether_type; member
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bridge.c | 1782 evh->ether_tpid = evh->ether_type; in reform_vlan_header() 1808 evh->ether_type = evh->ether_tpid; in reform_vlan_header() 1821 uint16_t ether_type; in update_header() local 1832 ether_type = ntohs(evhp->ether_type); in update_header() 1833 hdr_info->mhi_origsap = ether_type; in update_header() 1834 hdr_info->mhi_bindsap = (ether_type > ETHERMTU) ? in update_header() 1835 ether_type : DLS_SAP_LLC; in update_header() 2295 ether_type != htons(ETHERTYPE_TRILL))) { in bridge_recv_cb()
|