/linux-4.1.27/drivers/net/wireless/hostap/ |
D | hostap_80211_tx.c | 67 u16 fc, ethertype = 0; in hostap_data_start_xmit() local 121 ethertype = (skb->data[12] << 8) | skb->data[13]; in hostap_data_start_xmit() 129 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in hostap_data_start_xmit() 133 } else if (ethertype >= 0x600) { in hostap_data_start_xmit() 257 meta->ethertype = ethertype; in hostap_data_start_xmit() 302 meta->ethertype = (pos[0] << 8) | pos[1]; in hostap_mgmt_start_xmit() 443 meta->ethertype != ETH_P_PAE && in hostap_master_start_xmit() 447 dev->name, meta->ethertype); in hostap_master_start_xmit() 485 if (local->ieee_802_1x && meta->ethertype == ETH_P_PAE && tx.crypt && in hostap_master_start_xmit() 504 meta->ethertype != ETH_P_PAE) { in hostap_master_start_xmit()
|
D | hostap_80211_rx.c | 612 u16 fc, ethertype; in hostap_is_eapol_frame() local 640 ethertype = (pos[6] << 8) | pos[7]; in hostap_is_eapol_frame() 641 if (ethertype == ETH_P_PAE) in hostap_is_eapol_frame() 729 u16 ethertype; in hostap_80211_rx() local 1009 ethertype = (payload[6] << 8) | payload[7]; in hostap_80211_rx() 1014 if (ethertype == ETH_P_PAE) { in hostap_80211_rx() 1030 dev->name, ethertype); in hostap_80211_rx() 1038 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in hostap_80211_rx()
|
D | hostap_wlan.h | 934 unsigned short ethertype; member
|
/linux-4.1.27/net/wireless/ |
D | util.c | 416 u16 hdrlen, ethertype; in ieee80211_data_to_8023() local 505 ethertype = (payload[6] << 8) | payload[7]; in ieee80211_data_to_8023() 508 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_data_to_8023() 535 u16 hdrlen, ethertype; in ieee80211_data_from_8023() local 550 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_data_from_8023() 595 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in ieee80211_data_from_8023() 599 } else if (ethertype >= ETH_P_802_3_MIN) { in ieee80211_data_from_8023() 654 u16 ethertype; in ieee80211_amsdu_to_8023s() local 718 ethertype = (payload[6] << 8) | payload[7]; in ieee80211_amsdu_to_8023s() 721 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_amsdu_to_8023s()
|
/linux-4.1.27/net/802/ |
D | hippi.c | 80 hip->snap.ethertype = htons(type); in hippi_header() 114 return hip->snap.ethertype; in hippi_type_trans()
|
D | fddi.c | 71 fddi->hdr.llc_snap.ethertype = htons(type); in fddi_header() 118 type=fddi->hdr.llc_snap.ethertype; in fddi_type_trans()
|
D | fc.c | 57 fcllc->ethertype = htons(type); in fc_header()
|
/linux-4.1.27/include/uapi/linux/ |
D | if_fc.h | 48 __be16 ethertype; /* ether type field */ member
|
D | if_fddi.h | 90 __be16 ethertype; /* packet type ID field */ member
|
D | if_hippi.h | 144 __be16 ethertype; /* packet type ID field */ member
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
D | libipw_rx.c | 235 u16 fc, ethertype; in libipw_is_eapol_frame() local 263 ethertype = (pos[6] << 8) | pos[7]; in libipw_is_eapol_frame() 264 if (ethertype == ETH_P_PAE) in libipw_is_eapol_frame() 341 u16 ethertype; in libipw_rx() local 711 ethertype = (payload[6] << 8) | payload[7]; in libipw_rx() 717 if (ethertype == ETH_P_PAE) { in libipw_rx() 732 "ethertype=0x%04x\n", dev->name, ethertype); in libipw_rx() 741 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in libipw_rx()
|
/linux-4.1.27/net/batman-adv/ |
D | soft-interface.c | 158 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_interface_tx() local 188 if (vhdr->h_vlan_encapsulated_proto != ethertype) { in batadv_interface_tx() 359 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_interface_rx() local 387 if (vhdr->h_vlan_encapsulated_proto != ethertype) in batadv_interface_rx()
|
D | hard-interface.c | 373 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_hardif_enable_interface() local 434 hard_iface->batman_adv_ptype.type = ethertype; in batadv_hardif_enable_interface()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 300 u16 fc, ethertype; in ieee80211_is_eapol_frame() local 329 ethertype = (pos[6] << 8) | pos[7]; in ieee80211_is_eapol_frame() 330 if (ethertype == ETH_P_PAE) in ieee80211_is_eapol_frame() 547 u16 ethertype; in ieee80211_indicate_packets() local 558 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in ieee80211_indicate_packets() 561 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_indicate_packets() 899 u16 ethertype; in ieee80211_rx() local 1317 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in ieee80211_rx() 1320 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_rx()
|
D | ieee80211.h | 1343 u16 ethertype; member
|
/linux-4.1.27/drivers/staging/ozwpan/ |
D | README | 6 on the network using an ethertype (0x892e) regestered to Ozmo Device Inc.
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 246 u16 fc, ethertype; in rtllib_is_eapol_frame() local 274 ethertype = (pos[6] << 8) | pos[7]; in rtllib_is_eapol_frame() 275 if (ethertype == ETH_P_PAE) in rtllib_is_eapol_frame() 473 u16 ethertype; in rtllib_indicate_packets() local 482 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in rtllib_indicate_packets() 485 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in rtllib_indicate_packets() 1199 u16 ethertype; in rtllib_rx_indicate_pkt_legacy() local 1212 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in rtllib_rx_indicate_pkt_legacy() 1215 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in rtllib_rx_indicate_pkt_legacy()
|
D | rtllib.h | 1440 u16 ethertype; member
|
/linux-4.1.27/net/openvswitch/ |
D | flow.c | 327 __be16 ethertype; in parse_ethertype() member 352 if (ntohs(llc->ethertype) >= ETH_P_802_3_MIN) in parse_ethertype() 353 return llc->ethertype; in parse_ethertype()
|
D | actions.c | 159 const __be16 ethertype) in pop_mpls() argument 180 hdr->h_proto = ethertype; in pop_mpls() 182 skb->protocol = ethertype; in pop_mpls()
|
/linux-4.1.27/net/mac80211/ |
D | tx.c | 1887 u16 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_is_tdls_setup() local 1889 return ethertype == ETH_P_TDLS && in ieee80211_is_tdls_setup() 1995 u16 ethertype, hdrlen, meshhdrlen = 0; in ieee80211_build_hdr() local 2017 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_build_hdr() 2155 cpu_to_be16(ethertype) != sdata->control_port_protocol) { in ieee80211_build_hdr() 2234 (cpu_to_be16(ethertype) != sdata->control_port_protocol || in ieee80211_build_hdr() 2292 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in ieee80211_build_hdr() 2296 } else if (ethertype >= ETH_P_802_3_MIN) { in ieee80211_build_hdr()
|
D | rx.c | 1125 __be16 ethertype; in ieee80211_rx_h_check() local 1132 skb_copy_bits(rx->skb, hdrlen + 6, ðertype, 2); in ieee80211_rx_h_check() 1133 if (ethertype == rx->sdata->control_port_protocol) in ieee80211_rx_h_check()
|
/linux-4.1.27/drivers/crypto/caam/ |
D | pdb.h | 232 u16 ethertype; member
|
/linux-4.1.27/drivers/message/fusion/ |
D | mptlan.c | 1535 (fcllc->ethertype == htons(ETH_P_IP) || in mpt_lan_type_trans() 1536 fcllc->ethertype == htons(ETH_P_ARP))) { in mpt_lan_type_trans() 1538 return fcllc->ethertype; in mpt_lan_type_trans()
|
/linux-4.1.27/drivers/net/wireless/ |
D | rayctl.h | 724 UCHAR ethertype[2]; member
|
D | ray_cs.c | 2285 __be16 type = *(__be16 *) psnap->ethertype; in untranslate()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | ieee80211.h | 187 u16 ethertype; member
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
D | txrx.c | 602 __be16 *ethertype = (__be16 *)&payload[6]; in cw1200_tx_h_bt() local 603 if (be16_to_cpu(*ethertype) == ETH_P_PAE) in cw1200_tx_h_bt()
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
D | ieee80211.h | 349 u16 ethertype; member
|
/linux-4.1.27/Documentation/networking/ |
D | cdc_mbim.txt | 251 /* verify ethertype */
|
/linux-4.1.27/drivers/net/ppp/ |
D | ppp_generic.c | 327 static inline int ethertype_to_npindex(int ethertype) in ethertype_to_npindex() argument 329 switch (ethertype) { in ethertype_to_npindex()
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
D | orinoco_usb.c | 90 __be16 ethertype; member
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | mvpp2.c | 1163 unsigned short ethertype) in mvpp2_prs_match_etype() argument 1165 mvpp2_prs_tcam_data_byte_set(pe, offset + 0, ethertype >> 8, 0xff); in mvpp2_prs_match_etype() 1166 mvpp2_prs_tcam_data_byte_set(pe, offset + 1, ethertype & 0xff, 0xff); in mvpp2_prs_match_etype()
|