/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_tx.c | 68 u16 fc, ethertype = 0; in hostap_data_start_xmit() local 122 ethertype = (skb->data[12] << 8) | skb->data[13]; in hostap_data_start_xmit() 130 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in hostap_data_start_xmit() 134 } else if (ethertype >= 0x600) { in hostap_data_start_xmit() 258 meta->ethertype = ethertype; in hostap_data_start_xmit() 303 meta->ethertype = (pos[0] << 8) | pos[1]; in hostap_mgmt_start_xmit() 444 meta->ethertype != ETH_P_PAE && in hostap_master_start_xmit() 448 dev->name, meta->ethertype); in hostap_master_start_xmit() 486 if (local->ieee_802_1x && meta->ethertype == ETH_P_PAE && tx.crypt && in hostap_master_start_xmit() 505 meta->ethertype != ETH_P_PAE) { in hostap_master_start_xmit()
|
D | hostap_80211_rx.c | 611 u16 fc, ethertype; in hostap_is_eapol_frame() local 639 ethertype = (pos[6] << 8) | pos[7]; in hostap_is_eapol_frame() 640 if (ethertype == ETH_P_PAE) in hostap_is_eapol_frame() 728 u16 ethertype; in hostap_80211_rx() local 1008 ethertype = (payload[6] << 8) | payload[7]; in hostap_80211_rx() 1013 if (ethertype == ETH_P_PAE) { in hostap_80211_rx() 1029 dev->name, ethertype); in hostap_80211_rx() 1037 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in hostap_80211_rx()
|
/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.c | 78 MASK_VAL_L2(u16, ethertype, ethertype); in print_lyr_2_4_hdrs() 82 PRINT_MASKED_VAL(ethertype, p, "%04x"); in print_lyr_2_4_hdrs() 84 if (ethertype.m == 0xffff) { in print_lyr_2_4_hdrs() 85 if (ethertype.v == ETH_P_IP) { in print_lyr_2_4_hdrs() 97 } else if (ethertype.v == ETH_P_IPV6) { in print_lyr_2_4_hdrs()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 146 MLX5E_FTE_SET(headers_c, ethertype, 0xffff); in set_ip4() 147 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IP); in set_ip4() 169 MLX5E_FTE_SET(headers_c, ethertype, 0xffff); in set_ip6() 170 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IPV6); in set_ip6() 301 MLX5E_FTE_SET(headers_c, ethertype, ntohs(eth_mask->h_proto)); in parse_ether() 302 MLX5E_FTE_SET(headers_v, ethertype, ntohs(eth_val->h_proto)); in parse_ether()
|
D | en_fs.c | 799 static u8 mlx5e_etype_to_ipv(u16 ethertype) in mlx5e_etype_to_ipv() argument 801 if (ethertype == ETH_P_IP) in mlx5e_etype_to_ipv() 804 if (ethertype == ETH_P_IPV6) in mlx5e_etype_to_ipv() 841 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, outer_headers.ethertype); in mlx5e_generate_ttc_rule() 842 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, etype); in mlx5e_generate_ttc_rule() 933 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.ethertype); in mlx5e_create_ttc_table_groups()
|
D | en_arfs.c | 240 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, outer_headers_c, ethertype); in arfs_create_groups() 475 outer_headers.ethertype); in arfs_add_rule() 476 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ethertype, in arfs_add_rule()
|
D | en_tc.c | 1700 ethertype); in parse_tunnel_attr() 1701 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ethertype, in parse_tunnel_attr() 1726 ethertype); in parse_tunnel_attr() 1727 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ethertype, in parse_tunnel_attr() 1864 MLX5_SET(fte_match_set_lyr_2_4, headers_c, ethertype, in __parse_cls_flower() 1866 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ethertype, in __parse_cls_flower() 2295 OFFLOAD(ETHERTYPE, 2, eth.h_proto, 0, ethertype), 2667 u16 ethertype; in modify_header_match_supported() local 2672 ethertype = MLX5_GET(fte_match_set_lyr_2_4, headers_v, ethertype); in modify_header_match_supported() 2675 if (ethertype != ETH_P_IP && ethertype != ETH_P_IPV6) in modify_header_match_supported()
|
/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 231 u16 fc, ethertype; in libipw_is_eapol_frame() local 259 ethertype = (pos[6] << 8) | pos[7]; in libipw_is_eapol_frame() 260 if (ethertype == ETH_P_PAE) in libipw_is_eapol_frame() 337 u16 ethertype; in libipw_rx() local 707 ethertype = (payload[6] << 8) | payload[7]; in libipw_rx() 713 if (ethertype == ETH_P_PAE) { in libipw_rx() 728 "ethertype=0x%04x\n", dev->name, ethertype); in libipw_rx() 737 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in libipw_rx()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 296 u16 fc, ethertype; in ieee80211_is_eapol_frame() local 325 ethertype = (pos[6] << 8) | pos[7]; in ieee80211_is_eapol_frame() 326 if (ethertype == ETH_P_PAE) in ieee80211_is_eapol_frame() 527 u16 ethertype; in ieee80211_indicate_packets() local 537 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in ieee80211_indicate_packets() 540 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_indicate_packets() 880 u16 ethertype; in ieee80211_rx() local 1271 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in ieee80211_rx() 1274 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_rx()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl.c | 590 u8 ethertype; in mlxsw_sp_acl_rulei_act_vlan() local 595 ethertype = 0; in mlxsw_sp_acl_rulei_act_vlan() 598 ethertype = 1; in mlxsw_sp_acl_rulei_act_vlan() 608 vid, prio, ethertype, in mlxsw_sp_acl_rulei_act_vlan()
|
D | core_acl_flex_actions.c | 706 MLXSW_ITEM32(afa, vlan, ethertype, 0x08, 24, 3); 719 enum mlxsw_afa_vlan_cmd ethertype_cmd, u8 ethertype) in mlxsw_afa_vlan_pack() argument 727 mlxsw_afa_vlan_ethertype_set(payload, ethertype); in mlxsw_afa_vlan_pack()
|
/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() 479 u16 ethertype; in rtllib_indicate_packets() local 488 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in rtllib_indicate_packets() 492 ethertype != ETH_P_AARP && in rtllib_indicate_packets() 493 ethertype != ETH_P_IPX) || in rtllib_indicate_packets() 1232 u16 ethertype; in rtllib_rx_indicate_pkt_legacy() local 1247 ethertype = (sub_skb->data[6] << 8) | sub_skb->data[7]; in rtllib_rx_indicate_pkt_legacy() 1250 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in rtllib_rx_indicate_pkt_legacy()
|
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | tls_rxtx.c | 76 __be16 ethertype; member 318 if (mdata->ethertype != htons(ETH_P_IP)) in tls_update_resync_sn()
|
D | ipsec_rxtx.c | 75 __be16 ethertype; member
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 889 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, ethertype); in dr_actions_l2_rewrite() 893 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, ethertype); in dr_actions_l2_rewrite() 1134 u16 ethertype = vlan_hdr_h >> 16; in mlx5dr_action_create_push_vlan() local 1137 if (ethertype != SVLAN_ETHERTYPE && ethertype != CVLAN_ETHERTYPE) { in mlx5dr_action_create_push_vlan()
|
D | dr_ste.c | 869 spec->ethertype = MLX5_GET(fte_match_set_lyr_2_4, mask, ethertype); in dr_ste_copy_mask_spec() 1283 DR_STE_SET_MASK_V(eth_l2_src, bit_mask, l3_ethertype, mask, ethertype); in dr_ste_build_eth_l2_src_or_dst_bit_mask() 1335 DR_STE_SET_TAG(eth_l2_src, tag, l3_ethertype, spec, ethertype); in dr_ste_build_eth_l2_src_or_dst_tag() 1473 DR_STE_SET_MASK_V(eth_l2_tnl, bit_mask, l3_ethertype, mask, ethertype); in dr_ste_build_eth_l2_tnl_bit_mask() 1504 DR_STE_SET_TAG(eth_l2_tnl, tag, l3_ethertype, spec, ethertype); in dr_ste_build_eth_l2_tnl_tag()
|
D | mlx5_ifc_dr.h | 585 u8 ethertype[0x10]; member
|
/drivers/net/ethernet/intel/ice/ |
D | ice_switch.h | 96 u16 ethertype; member
|
/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 330 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv4_gre_tun() 331 msk->ethertype = cpu_to_be16(~0); in nfp_flower_compile_ipv4_gre_tun()
|
D | cmsg.h | 443 __be16 ethertype; member
|
/drivers/crypto/caam/ |
D | pdb.h | 311 u16 ethertype; member
|
/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_utils.h | 257 u16 ethertype; member
|
/drivers/message/fusion/ |
D | mptlan.c | 1529 (fcllc->ethertype == htons(ETH_P_IP) || in mpt_lan_type_trans() 1530 fcllc->ethertype == htons(ETH_P_ARP))) { in mpt_lan_type_trans() 1532 return fcllc->ethertype; in mpt_lan_type_trans()
|
/drivers/net/wireless/ |
D | rayctl.h | 725 UCHAR ethertype[2]; member
|
/drivers/staging/rtl8712/ |
D | ieee80211.h | 171 __be16 ethertype; member
|