Home
last modified time | relevance | path

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

/drivers/net/ethernet/sfc/
Dethtool.c807 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_get_class_rule() local
886 eth_broadcast_addr(mac_mask->h_dest); in efx_ethtool_get_class_rule()
888 ether_addr_copy(mac_mask->h_dest, in efx_ethtool_get_class_rule()
893 eth_broadcast_addr(mac_mask->h_source); in efx_ethtool_get_class_rule()
897 mac_mask->h_proto = ETHER_TYPE_FULL_MASK; in efx_ethtool_get_class_rule()
1053 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_set_class_rule() local
1200 if (!is_zero_ether_addr(mac_mask->h_dest)) { in efx_ethtool_set_class_rule()
1201 if (ether_addr_equal(mac_mask->h_dest, in efx_ethtool_set_class_rule()
1204 else if (is_broadcast_ether_addr(mac_mask->h_dest)) in efx_ethtool_set_class_rule()
1210 if (!is_zero_ether_addr(mac_mask->h_source)) { in efx_ethtool_set_class_rule()
[all …]
/drivers/media/dvb-core/
Ddvb_net.c898 u8 *mac, u8 *mac_mask) argument
925 (*secfilter)->filter_mask[3] = mac_mask[5];
926 (*secfilter)->filter_mask[4] = mac_mask[4];
927 (*secfilter)->filter_mask[8] = mac_mask[3];
928 (*secfilter)->filter_mask[9] = mac_mask[2];
929 (*secfilter)->filter_mask[10] = mac_mask[1];
930 (*secfilter)->filter_mask[11]=mac_mask[0];
932 netdev_dbg(dev, "filter mac=%pM mask=%pM\n", mac, mac_mask);
/drivers/net/ethernet/mellanox/mlx4/
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()
Den_netdev.c176 __be64 mac_mask = cpu_to_be64(MLX4_MAC_MASK << 16); in mlx4_en_filter_work() local
189 memcpy(spec_eth.eth.dst_mac_msk, &mac_mask, ETH_ALEN); in mlx4_en_filter_work()
516 __be64 mac_mask = cpu_to_be64(MLX4_MAC_MASK << 16); in mlx4_en_uc_steer_add() local
532 memcpy(spec_eth.eth.dst_mac_msk, &mac_mask, ETH_ALEN); in mlx4_en_uc_steer_add()
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c2040 u8 mac_mask[ETH_ALEN]; in ath6kl_wow_sta() local
2044 eth_broadcast_addr(mac_mask); in ath6kl_wow_sta()
2048 mac_mask); in ath6kl_wow_sta()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c3348 u8 *mac_mask; in brcmf_dev_pno_config() local
3377 mac_mask = request->mac_addr_mask; in brcmf_dev_pno_config()
3379 pfn_mac.mac[i] &= mac_mask[i]; in brcmf_dev_pno_config()
3380 pfn_mac.mac[i] |= get_random_int() & ~(mac_mask[i]); in brcmf_dev_pno_config()