Home
last modified time | relevance | path

Searched refs:ether_addr_equal (Results 1 – 25 of 260) sorted by relevance

1234567891011

/openbmc/linux/net/wireless/
H A Dmlme.c117 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_deauth()
121 if (!wdev->connected || !ether_addr_equal(wdev->u.client.connected_addr, bssid)) in cfg80211_process_deauth()
136 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_disassoc()
142 !ether_addr_equal(wdev->u.client.connected_addr, bssid))) in cfg80211_process_disassoc()
283 ether_addr_equal(req->bss->bssid, wdev->u.client.connected_addr)) in cfg80211_mlme_auth()
286 if (ether_addr_equal(req->bss->bssid, dev->dev_addr) || in cfg80211_mlme_auth()
288 ether_addr_equal(req->ap_mld_addr, dev->dev_addr))) in cfg80211_mlme_auth()
346 if (ether_addr_equal(req->links[i].bss->bssid, dev->dev_addr)) in cfg80211_mlme_assoc()
352 !ether_addr_equal(wdev->u.client.connected_addr, req->prev_bssid))) in cfg80211_mlme_assoc()
355 if ((req->bss && ether_addr_equal(req->bss->bssid, dev->dev_addr)) || in cfg80211_mlme_assoc()
[all …]
/openbmc/linux/net/hsr/
H A Dhsr_framereg.c51 if (ether_addr_equal(addr, sn->macaddress_A) || in hsr_addr_is_self()
52 ether_addr_equal(addr, sn->macaddress_B)) in hsr_addr_is_self()
67 if (ether_addr_equal(node->macaddress_A, addr)) in find_node_by_addr_A()
172 if (ether_addr_equal(node->macaddress_A, addr)) in hsr_add_node()
174 if (ether_addr_equal(node->macaddress_B, addr)) in hsr_add_node()
214 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) { in hsr_get_node()
219 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) { in hsr_get_node()
347 if (!ether_addr_equal(node_real->macaddress_A, hsr_sp->macaddress_A)) { in hsr_handle_sup_frame()
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_fip.c199 if (!ether_addr_equal(eth_hdr->h_dest, qedf->mac) && in qedf_fip_recv()
200 !ether_addr_equal(eth_hdr->h_dest, fcoe_all_enode) && in qedf_fip_recv()
201 !ether_addr_equal(eth_hdr->h_dest, qedf->data_src_addr)) { in qedf_fip_recv()
240 if (ether_addr_equal(mp->fd_mac, in qedf_fip_recv()
270 (ether_addr_equal(vp->fd_mac, in qedf_fip_recv()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-sync.c25 if ((ether_addr_equal(mgmt->sa, addr) || in iwl_mvm_is_skb_match()
26 ether_addr_equal(mgmt->da, addr)) && in iwl_mvm_is_skb_match()
143 !ether_addr_equal(addr, mvm->time_sync.peer_addr)) { in iwl_mvm_time_sync_config()
H A Dtime-sync.h22 if (ether_addr_equal(mvm->time_sync.peer_addr, addr) && in iwl_mvm_time_sync_frame()
/openbmc/linux/net/bridge/netfilter/
H A Debtable_broute.c79 !ether_addr_equal(skb->dev->dev_addr, dest) && in ebt_broute()
80 ether_addr_equal(p->br->dev->dev_addr, dest)) in ebt_broute()
H A Debt_dnat.c52 if (ether_addr_equal(info->mac, dev->dev_addr)) in ebt_dnat_tg()
/openbmc/linux/net/8021q/
H A Dvlan.c294 if (ether_addr_equal(vlan->real_dev_addr, dev->dev_addr)) in vlan_sync_address()
303 if (!ether_addr_equal(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address()
304 ether_addr_equal(vlandev->dev_addr, dev->dev_addr)) in vlan_sync_address()
309 if (ether_addr_equal(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address()
310 !ether_addr_equal(vlandev->dev_addr, dev->dev_addr)) in vlan_sync_address()
/openbmc/linux/net/mac80211/
H A Drx.c279 if (!ether_addr_equal(action.hdr.addr1, sdata->u.mntr.mu_follow_addr)) in ieee80211_handle_mu_mimo_mon()
1032 if (ether_addr_equal(hdr->addr3, dev_addr)) in ieee80211_rx_mesh_check()
1037 if (ether_addr_equal(hdr->addr4, dev_addr)) in ieee80211_rx_mesh_check()
1734 if (ether_addr_equal(bssid, rx->sdata->u.ibss.bssid) && in ieee80211_rx_h_sta_process()
2195 !ether_addr_equal(hdr->addr1, f_hdr->addr1) || in ieee80211_reassemble_find()
2196 !ether_addr_equal(hdr->addr2, f_hdr->addr2)) in ieee80211_reassemble_find()
2497 else if (!ether_addr_equal(hdr->addr1, sdata->vif.addr)) in __ieee80211_data_to_8023()
2524 if (ether_addr_equal(sdata->vif.addr, addr)) in ieee80211_is_our_addr()
2537 if (ether_addr_equal(conf->addr, addr)) { in ieee80211_is_our_addr()
2563 ether_addr_equal(ehdr->h_dest, pae_group_addr); in ieee80211_frame_allowed()
[all …]
H A Dmesh_pathtbl.c495 if (!ether_addr_equal(meshhdr->eaddr2, sdata->vif.addr)) in mesh_fast_tx_cache()
503 if (!ether_addr_equal(hdr->addr4, sdata->vif.addr)) in mesh_fast_tx_cache()
681 if (ether_addr_equal(dst, sdata->vif.addr)) in mesh_path_add()
724 if (ether_addr_equal(dst, sdata->vif.addr)) in mpp_path_add()
852 if (ether_addr_equal(mpath->mpp, proxy)) in mpp_flush_by_proxy()
1024 if (ether_addr_equal(mpath->dst, preq->dst)) { in mesh_path_flush_pending()
H A Dmesh_hwmp.c441 if (ether_addr_equal(orig_addr, sdata->vif.addr)) { in hwmp_route_info_get()
523 if (ether_addr_equal(orig_addr, ta)) in hwmp_route_info_get()
599 if (ether_addr_equal(target_addr, sdata->vif.addr)) { in hwmp_preq_frame_process()
724 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_prep_frame_process()
801 ether_addr_equal(ta, sta->sta.addr) && in hwmp_perr_frame_process()
847 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_rann_frame_process()
1237 (!addr || ether_addr_equal(sdata->vif.addr, addr))) in mesh_path_refresh()
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_rx.c76 ether_addr_equal(entry->src_addr, src) && in libipw_frag_cache_find()
77 ether_addr_equal(entry->dst_addr, dst)) in libipw_frag_cache_find()
244 ether_addr_equal(hdr->addr1, dev->dev_addr) && in libipw_is_eapol_frame()
245 ether_addr_equal(hdr->addr3, dev->dev_addr)) { in libipw_is_eapol_frame()
249 ether_addr_equal(hdr->addr1, dev->dev_addr)) { in libipw_is_eapol_frame()
523 ether_addr_equal(hdr->addr2, ieee->assoc_ap_addr)) { in libipw_rx()
873 if (ether_addr_equal(hdr->addr3, ieee->bssid) && in libipw_rx_any()
879 else if (ether_addr_equal(hdr->addr1, ieee->dev->dev_addr)) in libipw_rx_any()
888 if (ether_addr_equal(hdr->addr2, ieee->bssid) && in libipw_rx_any()
894 else if (ether_addr_equal(hdr->addr1, ieee->dev->dev_addr)) in libipw_rx_any()
[all …]
/openbmc/linux/net/bridge/
H A Dbr_stp_if.c239 if (ether_addr_equal(p->designated_bridge.addr, oldaddr)) in br_stp_change_bridge_id()
242 if (ether_addr_equal(p->designated_root.addr, oldaddr)) in br_stp_change_bridge_id()
274 if (ether_addr_equal(br->bridge_id.addr, addr)) in br_stp_recalculate_bridge_id()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dpeer.c21 if (!ether_addr_equal(peer->addr, addr)) in ath12k_peer_find()
40 if (!ether_addr_equal(peer->addr, addr)) in ath12k_peer_find_by_pdev_idx()
57 if (!ether_addr_equal(peer->addr, addr)) in ath12k_peer_find_by_addr()
/openbmc/linux/include/linux/
H A Detherdevice.h346 static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2) in ether_addr_equal() function
386 return ether_addr_equal(addr1, addr2); in ether_addr_equal_64bits()
402 return ether_addr_equal(addr1, addr2); in ether_addr_equal_unaligned()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_dmac_flt.c88 if (ether_addr_equal(mac, pf->netdev->dev_addr)) in otx2_dmacflt_add()
139 if (ether_addr_equal(mac, pf->netdev->dev_addr)) in otx2_dmacflt_remove()
/openbmc/linux/net/netfilter/
H A Dxt_mac.c36 ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); in mac_mt()
/openbmc/linux/net/core/
H A Dfailover.c28 if (ether_addr_equal(failover_dev->perm_addr, mac)) { in failover_get_bymac()
224 if (ether_addr_equal(failover_dev->perm_addr, dev->perm_addr)) in failover_existing_slave_register()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Drx.c107 if (!ether_addr_equal(vif->bss_conf.bssid, bssid)) in rtw_rx_addr_match_iter()
110 if (!(ether_addr_equal(vif->addr, hdr->addr1) || in rtw_rx_addr_match_iter()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_mps.c15 if (ether_addr_equal(mps_entry->addr, addr) && in cxgb4_mps_ref_dec_by_mac()
16 ether_addr_equal(mps_entry->mask, mask ? mask : bitmask)) { in cxgb4_mps_ref_dec_by_mac()
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_fdb.c31 ether_addr_equal(fdb_entry->mac, fdb_info->addr)) in lan966x_fdb_find_entry()
67 ether_addr_equal(fdb_entry->mac, fdb_info->addr)) { in lan966x_fdb_del_entry()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmpfs.h58 if (ether_addr_equal(ptr->node.addr, mac)) {\
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_mactable.c266 ether_addr_equal(mac, mact_entry->mac) && in find_mact_entry()
349 ether_addr_equal(addr, mact_entry->mac)) { in sparx5_del_mact_entry()
383 ether_addr_equal(mac, mact_entry->mac)) { in sparx5_mact_handle_entry()
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Ddot11d.h39 #define IS_EQUAL_CIE_SRC(ieee_dev, addr) ether_addr_equal(GET_DOT11D_INFO(ieee_dev)->country_ie_src…
/openbmc/linux/net/802/
H A Dstp.c46 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()

1234567891011