Home
last modified time | relevance | path

Searched refs:is_zero_ether_addr (Results 1 – 25 of 159) sorted by relevance

1234567

/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_pp.c82 if (!is_zero_ether_addr(pp->mac_addr)) { in enic_set_port_profile()
192 if (!is_zero_ether_addr(pp->mac_addr)) in enic_pp_disassociate()
195 else if (vf == PORT_SELF_VF && !is_zero_ether_addr(netdev->dev_addr)) in enic_pp_disassociate()
279 if (!is_zero_ether_addr(pp->mac_addr)) in enic_pp_associate()
282 else if (vf == PORT_SELF_VF && !is_zero_ether_addr(netdev->dev_addr)) in enic_pp_associate()
/openbmc/linux/net/802/
H A Dstp.c74 if (is_zero_ether_addr(proto->group_address)) in stp_proto_register()
88 if (is_zero_ether_addr(proto->group_address)) in stp_proto_unregister()
/openbmc/linux/net/netfilter/ipset/
H A Dip_set_hash_ipmac.c101 if (is_zero_ether_addr(e.ether)) in hash_ipmac4_kadt()
137 if (is_zero_ether_addr(e.ether)) in hash_ipmac4_uadt()
217 if (is_zero_ether_addr(e.ether)) in hash_ipmac6_kadt()
257 if (is_zero_ether_addr(e.ether)) in hash_ipmac6_uadt()
H A Dip_set_hash_mac.c89 if (is_zero_ether_addr(e.ether)) in hash_mac4_kadt()
114 if (is_zero_ether_addr(e.ether)) in hash_mac4_uadt()
/openbmc/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_tc.c37 if (!is_zero_ether_addr(match.mask->src)) { in vcap_tc_flower_handler_ethaddr_usage()
45 if (!is_zero_ether_addr(match.mask->dst)) { in vcap_tc_flower_handler_ethaddr_usage()
353 if (!is_zero_ether_addr(mt.mask->sha) || in vcap_tc_flower_handler_arp_usage()
354 !is_zero_ether_addr(mt.mask->tha)) { in vcap_tc_flower_handler_arp_usage()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Def10_sriov.c133 if (!is_zero_ether_addr(vf->mac)) { in efx_ef10_sriov_free_vf_vports()
359 if (!is_zero_ether_addr(nic_data->vport_mac)) { in efx_ef10_vswitching_remove_pf()
515 if (!is_zero_ether_addr(vf->mac)) { in efx_ef10_sriov_set_vf_mac()
521 if (!is_zero_ether_addr(mac)) { in efx_ef10_sriov_set_vf_mac()
598 if (!is_zero_ether_addr(vf->mac)) { in efx_ef10_sriov_set_vf_vlan()
622 if (!is_zero_ether_addr(vf->mac)) { in efx_ef10_sriov_set_vf_vlan()
/openbmc/linux/drivers/net/wireless/ath/
H A Dmain.c66 !is_zero_ether_addr(common->curbssid) && in ath_is_mybeacon()
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c212 !is_zero_ether_addr(fsp->m_u.ether_spec.h_dest) || in tsnep_rxnfc_add_rule()
213 !is_zero_ether_addr(fsp->m_u.ether_spec.h_source) || in tsnep_rxnfc_add_rule()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_recv.c315 if (is_zero_ether_addr(pattrib->bssid) || in sta2sta_data_frame()
316 is_zero_ether_addr(mybssid) || in sta2sta_data_frame()
398 if (is_zero_ether_addr(pattrib->bssid) || in ap2sta_data_frame()
399 is_zero_ether_addr(mybssid) || in ap2sta_data_frame()
H A Drtl871x_ioctl_set.c112 if (is_zero_ether_addr(bssid) || is_broadcast_ether_addr(bssid)) { in r8712_set_802_11_bssid()
/openbmc/linux/include/linux/
H A Detherdevice.h105 static inline bool is_zero_ether_addr(const u8 *addr) in is_zero_ether_addr() function
202 return !is_multicast_ether_addr(addr) && !is_zero_ether_addr(addr); in is_valid_ether_addr()
/openbmc/linux/net/sched/
H A Dact_ife.c667 if (!is_zero_ether_addr(p->eth_dst)) { in tcf_ife_dump()
672 if (!is_zero_ether_addr(p->eth_src)) { in tcf_ife_dump()
853 if (!is_zero_ether_addr(p->eth_src)) in tcf_ife_encode()
855 if (!is_zero_ether_addr(p->eth_dst)) in tcf_ife_encode()
/openbmc/linux/arch/mips/ath25/
H A Dboard.c145 if (is_zero_ether_addr(config->enet0_mac)) { in ath25_find_config()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c386 !is_zero_ether_addr(fs->m_ext.h_dest)) { in set_flow_attrs()
563 if (!is_zero_ether_addr(eth_mask->h_dest)) in validate_ethter()
565 if (!is_zero_ether_addr(eth_mask->h_source)) in validate_ethter()
717 !is_zero_ether_addr(fs->m_ext.h_dest)) in validate_flow()
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_softmac_wx.c133 if (is_zero_ether_addr(temp->sa_data)) { in rtllib_wx_set_wap()
152 ieee->wap_set = !is_zero_ether_addr(temp->sa_data); in rtllib_wx_set_wap()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c364 if (!is_zero_ether_addr(eth_mask->h_source)) { in dpaa2_eth_prep_eth_rule()
371 if (!is_zero_ether_addr(eth_mask->h_dest)) { in dpaa2_eth_prep_eth_rule()
512 if (!is_zero_ether_addr(ext_mask->h_dest)) { in dpaa2_eth_prep_mac_ext_rule()
/openbmc/linux/net/netfilter/
H A Dnft_flow_offload.c111 if (is_zero_ether_addr(info->h_source)) in nft_dev_path_info()
135 if (is_zero_ether_addr(info->h_source)) in nft_dev_path_info()
/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A Dmain.c322 if (is_zero_ether_addr(wl->bssid)) in wl1251_join()
795 if (*total & FIF_OTHER_BSS || is_zero_ether_addr(wl->bssid)) in wl1251_op_configure_filter()
895 if (is_zero_ether_addr(addr)) { in wl1251_op_set_key()
1109 if (!is_zero_ether_addr(wl->bssid)) { in wl1251_op_bss_info_changed()
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c1167 if (!is_zero_ether_addr(match.mask->dst) && in enetc_psfp_parse_clsflower()
1168 !is_zero_ether_addr(match.mask->src)) { in enetc_psfp_parse_clsflower()
1175 if (!is_zero_ether_addr(match.mask->dst)) { in enetc_psfp_parse_clsflower()
1186 if (!is_zero_ether_addr(match.mask->src)) { in enetc_psfp_parse_clsflower()
/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dmac.c340 if (!is_zero_ether_addr(mac_dev->addr)) in mac_probe()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c827 if (!is_zero_ether_addr(eth_mask->h_source)) { in otx2_prepare_flow_request()
832 if (!is_zero_ether_addr(eth_mask->h_dest)) { in otx2_prepare_flow_request()
928 !is_zero_ether_addr(fsp->m_ext.h_dest)) { in otx2_prepare_flow_request()
958 if (is_zero_ether_addr(eth_mask->h_dest) && in otx2_is_flow_rule_dmacfilter()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c897 if (!is_zero_ether_addr(vf_mac)) in ixgbe_vf_reset_msg()
931 if (!is_zero_ether_addr(vf_mac) && adapter->vfinfo[vf].pf_set_mac) { in ixgbe_vf_reset_msg()
1444 } else if (is_zero_ether_addr(mac)) { in ixgbe_ndo_set_vf_mac()
1449 if (is_zero_ether_addr(vf_mac_addr)) in ixgbe_ndo_set_vf_mac()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcam.c301 if (is_zero_ether_addr(sta_addr)) { in rtl_cam_del_entry()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dmain.c32 if (is_zero_ether_addr(node_addr)) in ath6kl_find_sta()
121 if (is_zero_ether_addr(mac)) in ath6kl_remove_sta()
128 if (!is_zero_ether_addr(ar->sta_list[i].mac)) { in ath6kl_remove_sta()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c980 if (is_zero_ether_addr(mask->h_source)) { in gfar_set_ether()
1006 is_zero_ether_addr(mask->h_dest))) { in gfar_set_ether()
1009 if (is_zero_ether_addr(mask->h_dest)) { in gfar_set_ether()

1234567