/linux-4.4.14/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.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_flow_table.c | 304 outer_headers.ethertype); in __mlx5e_add_eth_addr_rule() 308 MLX5_SET(fte_match_param, match_value, outer_headers.ethertype, in __mlx5e_add_eth_addr_rule() 323 MLX5_SET(fte_match_param, match_value, outer_headers.ethertype, in __mlx5e_add_eth_addr_rule() 343 MLX5_SET(fte_match_param, match_value, outer_headers.ethertype, in __mlx5e_add_eth_addr_rule() 358 MLX5_SET(fte_match_param, match_value, outer_headers.ethertype, in __mlx5e_add_eth_addr_rule() 376 MLX5_SET(fte_match_param, match_value, outer_headers.ethertype, in __mlx5e_add_eth_addr_rule() 391 MLX5_SET(fte_match_param, match_value, outer_headers.ethertype, in __mlx5e_add_eth_addr_rule() 409 MLX5_SET(fte_match_param, match_value, outer_headers.ethertype, in __mlx5e_add_eth_addr_rule() 424 MLX5_SET(fte_match_param, match_value, outer_headers.ethertype, in __mlx5e_add_eth_addr_rule() 442 MLX5_SET(fte_match_param, match_value, outer_headers.ethertype, in __mlx5e_add_eth_addr_rule() [all …]
|
D | en_rx.c | 156 __be16 ethertype = ((struct ethhdr *)skb->data)->h_proto; in is_first_ethertype_ip() local 158 return (ethertype == htons(ETH_P_IP) || ethertype == htons(ETH_P_IPV6)); in is_first_ethertype_ip()
|
/linux-4.4.14/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.4.14/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.4.14/net/openvswitch/ |
D | actions.c | 175 const __be16 ethertype) in pop_mpls() argument 196 hdr->h_proto = ethertype; in pop_mpls() 198 skb->protocol = ethertype; in pop_mpls() 681 struct sk_buff *skb, u16 mru, __be16 ethertype) in ovs_fragment() argument 688 if (ethertype == htons(ETH_P_IP)) { in ovs_fragment() 703 } else if (ethertype == htons(ETH_P_IPV6)) { in ovs_fragment() 726 ovs_vport_name(vport), ntohs(ethertype), mru, in ovs_fragment() 748 __be16 ethertype = key->eth.type; in do_output() local 752 ethertype = skb->inner_protocol; in do_output() 754 ethertype = vlan_get_protocol(skb); in do_output() [all …]
|
D | flow.c | 334 __be16 ethertype; in parse_ethertype() member 359 if (eth_proto_is_802_3(llc->ethertype)) in parse_ethertype() 360 return llc->ethertype; in parse_ethertype()
|
/linux-4.4.14/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.4.14/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.4.14/net/batman-adv/ |
D | soft-interface.c | 188 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_interface_tx() local 218 if (vhdr->h_vlan_encapsulated_proto != ethertype) { in batadv_interface_tx() 389 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_interface_rx() local 423 if (vhdr->h_vlan_encapsulated_proto != ethertype) in batadv_interface_rx()
|
D | hard-interface.c | 425 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_hardif_enable_interface() local 486 hard_iface->batman_adv_ptype.type = ethertype; in batadv_hardif_enable_interface()
|
/linux-4.4.14/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() 542 u16 ethertype; in ieee80211_indicate_packets() local 553 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in ieee80211_indicate_packets() 556 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_indicate_packets() 891 u16 ethertype; in ieee80211_rx() local 1305 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in ieee80211_rx() 1308 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_rx()
|
D | ieee80211.h | 1205 u16 ethertype; member
|
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 254 u16 fc, ethertype; in rtllib_is_eapol_frame() local 282 ethertype = (pos[6] << 8) | pos[7]; in rtllib_is_eapol_frame() 283 if (ethertype == ETH_P_PAE) in rtllib_is_eapol_frame() 487 u16 ethertype; in rtllib_indicate_packets() local 496 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in rtllib_indicate_packets() 500 ethertype != ETH_P_AARP && in rtllib_indicate_packets() 501 ethertype != ETH_P_IPX) || in rtllib_indicate_packets() 1246 u16 ethertype; in rtllib_rx_indicate_pkt_legacy() local 1261 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in rtllib_rx_indicate_pkt_legacy() 1264 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in rtllib_rx_indicate_pkt_legacy()
|
D | rtllib.h | 1062 u16 ethertype; member
|
/linux-4.4.14/net/mac80211/ |
D | tx.c | 1900 u16 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_is_tdls_setup() local 1902 return ethertype == ETH_P_TDLS && in ieee80211_is_tdls_setup() 2008 u16 ethertype, hdrlen, meshhdrlen = 0; in ieee80211_build_hdr() local 2030 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_build_hdr() 2168 cpu_to_be16(ethertype) != sdata->control_port_protocol) { in ieee80211_build_hdr() 2247 (cpu_to_be16(ethertype) != sdata->control_port_protocol || in ieee80211_build_hdr() 2305 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in ieee80211_build_hdr() 2309 } else if (ethertype >= ETH_P_802_3_MIN) { in ieee80211_build_hdr() 2698 u16 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_xmit_fast() local 2710 if (cpu_to_be16(ethertype) == sdata->control_port_protocol) in ieee80211_xmit_fast() [all …]
|
D | rx.c | 1162 __be16 ethertype; in ieee80211_rx_h_check() local 1169 skb_copy_bits(rx->skb, hdrlen + 6, ðertype, 2); in ieee80211_rx_h_check() 1170 if (ethertype == rx->sdata->control_port_protocol) in ieee80211_rx_h_check()
|
/linux-4.4.14/drivers/crypto/caam/ |
D | pdb.h | 232 u16 ethertype; member
|
/linux-4.4.14/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.4.14/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.4.14/drivers/staging/rtl8712/ |
D | ieee80211.h | 188 u16 ethertype; member
|
/linux-4.4.14/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.4.14/drivers/staging/rtl8188eu/include/ |
D | ieee80211.h | 349 u16 ethertype; member
|
/linux-4.4.14/Documentation/networking/ |
D | cdc_mbim.txt | 251 /* verify ethertype */
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.c | 144 MLXSW_ITEM32(emad, eth_hdr, ethertype, 0x0C, 16, 16);
|
/linux-4.4.14/drivers/net/ppp/ |
D | ppp_generic.c | 329 static inline int ethertype_to_npindex(int ethertype) in ethertype_to_npindex() argument 331 switch (ethertype) { in ethertype_to_npindex()
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
D | orinoco_usb.c | 90 __be16 ethertype; member
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | mvpp2.c | 1182 unsigned short ethertype) in mvpp2_prs_match_etype() argument 1184 mvpp2_prs_tcam_data_byte_set(pe, offset + 0, ethertype >> 8, 0xff); in mvpp2_prs_match_etype() 1185 mvpp2_prs_tcam_data_byte_set(pe, offset + 1, ethertype & 0xff, 0xff); in mvpp2_prs_match_etype()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 3090 __be16 ethertype; member
|
D | bnxt.c | 2825 req.ethertype = htons(ETH_P_IP); in bnxt_hwrm_cfa_ntuple_filter_alloc()
|
/linux-4.4.14/include/linux/mlx5/ |
D | mlx5_ifc.h | 298 u8 ethertype[0x10]; member
|