Home
last modified time | relevance | path

Searched refs:mac_mask (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c651 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_get_class_rule() local
730 eth_broadcast_addr(mac_mask->h_dest); in efx_ethtool_get_class_rule()
732 ether_addr_copy(mac_mask->h_dest, in efx_ethtool_get_class_rule()
737 eth_broadcast_addr(mac_mask->h_source); in efx_ethtool_get_class_rule()
741 mac_mask->h_proto = ETHER_TYPE_FULL_MASK; in efx_ethtool_get_class_rule()
915 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_set_class_rule() local
1070 if (!is_zero_ether_addr(mac_mask->h_dest)) { in efx_ethtool_set_class_rule()
1071 if (ether_addr_equal(mac_mask->h_dest, in efx_ethtool_set_class_rule()
1074 else if (is_broadcast_ether_addr(mac_mask->h_dest)) in efx_ethtool_set_class_rule()
1080 if (!is_zero_ether_addr(mac_mask->h_source)) { in efx_ethtool_set_class_rule()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c798 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in ef4_ethtool_get_class_rule() local
877 eth_broadcast_addr(mac_mask->h_dest); in ef4_ethtool_get_class_rule()
879 ether_addr_copy(mac_mask->h_dest, in ef4_ethtool_get_class_rule()
884 eth_broadcast_addr(mac_mask->h_source); in ef4_ethtool_get_class_rule()
888 mac_mask->h_proto = ETHER_TYPE_FULL_MASK; in ef4_ethtool_get_class_rule()
1042 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in ef4_ethtool_set_class_rule() local
1189 if (!is_zero_ether_addr(mac_mask->h_dest)) { in ef4_ethtool_set_class_rule()
1190 if (ether_addr_equal(mac_mask->h_dest, in ef4_ethtool_set_class_rule()
1193 else if (is_broadcast_ether_addr(mac_mask->h_dest)) in ef4_ethtool_set_class_rule()
1199 if (!is_zero_ether_addr(mac_mask->h_source)) { in ef4_ethtool_set_class_rule()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c650 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_get_class_rule() local
729 eth_broadcast_addr(mac_mask->h_dest); in efx_ethtool_get_class_rule()
731 ether_addr_copy(mac_mask->h_dest, in efx_ethtool_get_class_rule()
736 eth_broadcast_addr(mac_mask->h_source); in efx_ethtool_get_class_rule()
740 mac_mask->h_proto = ETHER_TYPE_FULL_MASK; in efx_ethtool_get_class_rule()
924 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_set_class_rule() local
1079 if (!is_zero_ether_addr(mac_mask->h_dest)) { in efx_ethtool_set_class_rule()
1080 if (ether_addr_equal(mac_mask->h_dest, in efx_ethtool_set_class_rule()
1083 else if (is_broadcast_ether_addr(mac_mask->h_dest)) in efx_ethtool_set_class_rule()
1089 if (!is_zero_ether_addr(mac_mask->h_source)) { in efx_ethtool_set_class_rule()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dpno.c160 u8 *mac_mask = NULL; in brcmf_pno_set_random() local
166 mac_mask = pi->reqs[ri]->mac_addr_mask; in brcmf_pno_set_random()
179 pfn_mac.mac[i] &= mac_mask[i]; in brcmf_pno_set_random()
180 pfn_mac.mac[i] |= get_random_u8() & ~(mac_mask[i]); in brcmf_pno_set_random()
/linux/drivers/media/dvb-core/
H A Ddvb_net.c1011 const u8 *mac, u8 *mac_mask) argument
1038 (*secfilter)->filter_mask[3] = mac_mask[5];
1039 (*secfilter)->filter_mask[4] = mac_mask[4];
1040 (*secfilter)->filter_mask[8] = mac_mask[3];
1041 (*secfilter)->filter_mask[9] = mac_mask[2];
1042 (*secfilter)->filter_mask[10] = mac_mask[1];
1043 (*secfilter)->filter_mask[11]=mac_mask[0];
1045 netdev_dbg(dev, "filter mac=%pM mask=%pM\n", mac, mac_mask);
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmcg.c1064 __be64 mac_mask = cpu_to_be64(MLX4_MAC_MASK << 16); in mlx4_tunnel_steer_add() local
1073 memcpy(spec_eth_outer.eth.dst_mac_msk, &mac_mask, ETH_ALEN); in mlx4_tunnel_steer_add()
1373 __be64 mac_mask = cpu_to_be64(MLX4_MAC_MASK << 16); in mlx4_trans_to_dmfs_attach() local
1391 memcpy(spec.eth.dst_mac_msk, &mac_mask, ETH_ALEN); in mlx4_trans_to_dmfs_attach()
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-tlv.h1859 struct wmi_mac_addr mac_mask; member
2653 struct wmi_mac_addr mac_mask; member
H A Dwmi-tlv.c2018 ether_addr_copy(cmd->mac_mask.addr, arg->mac_mask.addr); in ath10k_wmi_tlv_op_gen_start_scan()
3922 ether_addr_copy(cmd->mac_mask.addr, pno->mac_addr_mask); in ath10k_wmi_tlv_op_gen_config_pno_start()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c3251 mlxsw_sp->mac_mask = mlxsw_sp1_mac_mask; in mlxsw_sp1_init()
3285 mlxsw_sp->mac_mask = mlxsw_sp2_mac_mask; in mlxsw_sp2_init()
3319 mlxsw_sp->mac_mask = mlxsw_sp2_mac_mask; in mlxsw_sp3_init()
3353 mlxsw_sp->mac_mask = mlxsw_sp2_mac_mask; in mlxsw_sp4_init()
H A Dspectrum_router.c8968 mlxsw_sp->mac_mask)) in mlxsw_sp_rif_mac_profile_find()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.c2048 u8 mac_mask[ETH_ALEN]; in ath6kl_wow_sta() local
2052 eth_broadcast_addr(mac_mask); in ath6kl_wow_sta()
2056 mac_mask); in ath6kl_wow_sta()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dchip.c2358 struct ethhdr *mac_mask = &fs->m_u.ether_spec; in mv88e6xxx_policy_insert() local
2377 if (!is_zero_ether_addr(mac_mask->h_dest) && in mv88e6xxx_policy_insert()
2378 is_zero_ether_addr(mac_mask->h_source)) { in mv88e6xxx_policy_insert()
2381 } else if (is_zero_ether_addr(mac_mask->h_dest) && in mv88e6xxx_policy_insert()
2382 !is_zero_ether_addr(mac_mask->h_source)) { in mv88e6xxx_policy_insert()
/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.c2324 ether_addr_copy(cmd->mac_mask.addr, params->mac_mask.addr); in ath11k_wmi_send_scan_start_cmd()
9474 ether_addr_copy(cmd->mac_mask.addr, pno->mac_addr_mask); in ath11k_wmi_op_gen_config_pno_start()
9476 ath11k_ce_byte_swap(cmd->mac_mask.addr, 8); in ath11k_wmi_op_gen_config_pno_start()
H A Dmac.c4294 ether_addr_copy(arg->mac_mask.addr, req->mac_addr_mask); in ath11k_mac_op_hw_scan()