/titanic_50/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ether.c | 428 ehp->ether_type = htons(sap); in mac_ether_header() 439 uint16_t ether_type; in mac_ether_header_info() local 445 ether_type = ntohs(ehp->ether_type); in mac_ether_header_info() 450 hdr_info->mhi_origsap = ether_type; in mac_ether_header_info() 451 hdr_info->mhi_bindsap = (ether_type > ETHERMTU) ? in mac_ether_header_info() 452 ether_type : DLS_SAP_LLC; in mac_ether_header_info() 454 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()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | ethernet.h | 61 ushort_t ether_type; member 71 ushort_t ether_type; member 80 ushort_t ether_type; member
|
H A D | mac_client_impl.h | 268 if (ntohs(((struct ether_header *)(mp)->b_rptr)->ether_type) == \
|
/titanic_50/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 | 170 ethertype = ntohs(e->ether_type); in interpret_ether() 201 ethertype = ntohs(evx->ether_type); in interpret_ether() 390 uint16_t ether_type = 0; in ether_header_len() local 395 e += (offsetof(struct ether_header, ether_type)); in ether_header_len() 397 GETINT16(ether_type, e); in ether_header_len() 399 if (ether_type == (uint16_t)ETHERTYPE_VLAN) { in ether_header_len() 413 struct ether_type { struct 416 } ether_type [] = { argument 688 for (i = 0; ether_type[i].e_type; i++) in print_ethertype() 689 if (type == ether_type[i].e_type) in print_ethertype() [all …]
|
H A D | snoop_vlan.h | 43 #define ENCAP_ETHERTYPE_OFF (offsetof(struct ether_vlan_header, ether_type) -\
|
/titanic_50/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()
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 140 if (ntohs(ehp->ether_type) == VLAN_TPID) { in mac_fix_cksum() 146 sap = ntohs(evhp->ether_type); in mac_fix_cksum() 149 sap = ntohs(ehp->ether_type); in mac_fix_cksum() 343 evhp->ether_type = ehp->ether_type; in mac_add_vlan_tag() 931 sap = ntohs(ehp->ether_type); in mac_pkt_hash() 948 sap = ntohs(evhp->ether_type); in mac_pkt_hash()
|
/titanic_50/usr/src/uts/common/io/hxge/ |
H A D | hxge_classify.h | 74 uint16_t ether_type; member
|
H A D | hxge_flow.h | 95 uint16_t ether_type; member
|
H A D | hxge_pfc.h | 222 uint16_t ether_type; member
|
/titanic_50/usr/src/lib/libbc/inc/include/netinet/ |
H A D | if_ether.h | 37 u_short ether_type; member
|
/titanic_50/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); }
|
/titanic_50/usr/src/uts/common/io/aggr/ |
H A D | aggr_recv.c | 119 sap = ntohs(ehp->ether_type); in aggr_recv_cb()
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 114 sizeof (evhp->ether_type)); in vnet_vlan_insert_tag()
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_dlpi.c | 914 headerp->ether_type = dlap->dl_sap; 1619 headerp->ether_type = (msgsize(mp) - 1622 headerp->ether_type = sap; 1875 if (IS_ETHERTYPE_IPV4(ehp->ether_type) && 1882 } else if (IS_ETHERTYPE_IPV6(ehp->ether_type) && 1892 pktlen = ehp->ether_type + sizeof (struct ether_header); 1967 type = ((struct ether_header *)mp->b_rptr)->ether_type;
|
/titanic_50/usr/src/uts/common/sys/nxge/ |
H A D | nxge_flow.h | 99 uint16_t ether_type; member
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | bridge.c | 1773 evh->ether_tpid = evh->ether_type; in reform_vlan_header() 1799 evh->ether_type = evh->ether_tpid; in reform_vlan_header() 1812 uint16_t ether_type; in update_header() local 1823 ether_type = ntohs(evhp->ether_type); in update_header() 1824 hdr_info->mhi_origsap = ether_type; in update_header() 1825 hdr_info->mhi_bindsap = (ether_type > ETHERMTU) ? in update_header() 1826 ether_type : DLS_SAP_LLC; in update_header() 2280 ether_type != htons(ETHERTYPE_TRILL))) { in bridge_recv_cb()
|
H A D | llc1.c | 1370 hdr->ether_type = ntohs(msglen + in llc1_unitdata() 1392 hdr->ether_type = ntohs(msglen); in llc1_unitdata() 1512 i = (ushort_t)ntohs(hdr->ether_type); in llc1_recv() 2305 msgether->ether_type = htons(sizeof (struct llchdr_xid) + in llc1_xid_reply() 2491 hdr->ether_type = htons(sizeof (struct llchdr) + msgdsize(mp)); in llc1_xid_req_res() 2741 hdr->ether_type = htons(sizeof (struct llchdr) + msgdsize(mp)); in llc1_test_req_res()
|
/titanic_50/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 150 if (eh->ether_type != htons(ETHERTYPE_IP)) in myri10ge_lro_rx()
|
/titanic_50/usr/src/uts/common/io/fcoe/ |
H A D | fcoe_fc.c | 363 fmi->fmi_efh->ether_type = htons(ETHERTYPE_FCOE); in fcoe_fill_frame_headers()
|