Home
last modified time | relevance | path

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

12345678

/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()
405 if (ether_addr_equal(req->links[i].bss->bssid, dev->dev_addr)) { in cfg80211_mlme_check_mlo()
478 !ether_addr_equal(wdev->u.client.connected_addr, req->prev_bssid))) in cfg80211_mlme_assoc()
481 if ((req->bss && ether_addr_equal(re in cfg80211_mlme_assoc()
[all...]
/linux/net/hsr/
H A Dhsr_framereg.c28 return ether_addr_equal(addr, hsr->macaddress_redbox); in hsr_addr_is_redbox()
43 if (ether_addr_equal(addr, sn->macaddress_A) || in hsr_addr_is_self()
44 ether_addr_equal(addr, sn->macaddress_B)) in hsr_addr_is_self()
59 if (ether_addr_equal(node->macaddress_A, addr)) in find_node_by_addr_A()
229 if (ether_addr_equal(node->macaddress_A, addr)) in hsr_add_node()
231 if (ether_addr_equal(node->macaddress_B, addr)) in hsr_add_node()
272 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) { in hsr_get_node()
277 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) { in hsr_get_node()
286 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) { in hsr_get_node()
462 if (!ether_addr_equal(node_rea in hsr_handle_sup_frame()
[all...]
/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()
/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()
/linux/net/mac80211/
H A Drx.c297 if (!ether_addr_equal(action.hdr.addr1, sdata->u.mntr.mu_follow_addr)) in ieee80211_handle_mu_mimo_mon()
1141 if (ether_addr_equal(hdr->addr3, dev_addr)) in ieee80211_rx_mesh_check()
1146 if (ether_addr_equal(hdr->addr4, dev_addr)) in ieee80211_rx_mesh_check()
1880 if (ether_addr_equal(bssid, rx->sdata->u.ibss.bssid) && in ieee80211_rx_h_sta_process()
2343 !ether_addr_equal(hdr->addr1, f_hdr->addr1) || in ieee80211_reassemble_find()
2344 !ether_addr_equal(hdr->addr2, f_hdr->addr2)) in ieee80211_reassemble_find()
2663 else if (!ether_addr_equal(hdr->addr1, sdata->vif.addr)) in __ieee80211_data_to_8023()
2690 if (ether_addr_equal(sdata->vif.addr, addr)) in ieee80211_is_our_addr()
2703 if (ether_addr_equal(conf->addr, addr)) { in ieee80211_is_our_addr()
2729 ether_addr_equal(ehdr->h_dest, pae_group_addr); in ieee80211_frame_allowed()
[all …]
H A Dmesh_pathtbl.c500 if (!ether_addr_equal(meshhdr->eaddr2, sdata->vif.addr)) in mesh_fast_tx_cache()
508 if (!ether_addr_equal(hdr->addr4, sdata->vif.addr)) in mesh_fast_tx_cache()
686 if (ether_addr_equal(dst, sdata->vif.addr)) in mesh_path_add()
729 if (ether_addr_equal(dst, sdata->vif.addr)) in mpp_path_add()
857 if (ether_addr_equal(mpath->mpp, proxy)) in mpp_flush_by_proxy()
1030 if (ether_addr_equal(mpath->dst, preq->dst)) { in mesh_path_flush_pending()
/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()
/linux/net/8021q/
H A Dvlan.c296 if (ether_addr_equal(vlan->real_dev_addr, dev->dev_addr)) in vlan_sync_address()
305 if (!ether_addr_equal(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address()
306 ether_addr_equal(vlandev->dev_addr, dev->dev_addr)) in vlan_sync_address()
311 if (ether_addr_equal(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address()
312 !ether_addr_equal(vlandev->dev_addr, dev->dev_addr)) in vlan_sync_address()
H A Dvlan_dev.c273 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr) && in vlan_dev_open()
306 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr)) in vlan_dev_stop()
326 if (!ether_addr_equal(addr->sa_data, real_dev->dev_addr)) { in vlan_dev_set_mac_address()
332 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr)) in vlan_dev_set_mac_address()
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_peer.c31 if (!ether_addr_equal(peer->addr, addr)) in ath12k_dp_link_peer_find_by_vdev_and_addr()
51 if (!ether_addr_equal(peer->addr, addr)) in ath12k_dp_link_peer_find_by_pdev_and_addr()
352 if (ether_addr_equal(peer->addr, addr)) in ath12k_dp_peer_find_by_addr()
369 if (ether_addr_equal(dp_peer->addr, addr) && (dp_peer->sta == sta)) in ath12k_dp_peer_find_by_addr_and_sta()
386 if (ether_addr_equal(dp_peer->addr, addr)) { in ath12k_dp_peer_create_find()
/linux/include/linux/
H A Detherdevice.h353 static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2) in ether_addr_equal() function
393 return ether_addr_equal(addr1, addr2); in ether_addr_equal_64bits()
409 return ether_addr_equal(addr1, addr2); in ether_addr_equal_unaligned()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-sync.h22 if (ether_addr_equal(mvm->time_sync.peer_addr, addr) && in iwl_mvm_time_sync_frame()
/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_filter.c31 if (ether_addr_equal(addr, netdev->dev_addr)) in hinic3_filter_addr_unsync()
65 if (ether_addr_equal(addr, f->addr)) in hinic3_find_mac()
339 if (ether_addr_equal(ha->addr, f->addr)) { in hinic3_update_mac_filter()
/linux/drivers/net/wireless/ath/ath11k/
H A Dcfr.c427 if (ether_addr_equal(peer_mac, entry->peer_mac)) { in ath11k_cfr_peer_is_in_cfr_unassoc_pool()
451 if (ether_addr_equal(peer_mac, entry->peer_mac) && in ath11k_cfr_update_unassoc_pool_entry()
593 if (ether_addr_equal(peer_mac, entry->peer_mac)) { in ath11k_cfr_update_unassoc_pool()
611 if (ether_addr_equal(peer_mac, entry->peer_mac)) { in ath11k_cfr_update_unassoc_pool()
732 if (ether_addr_equal(peer_mac, entry->peer_mac)) { in ath11k_write_file_cfr_unassoc()
753 if (ether_addr_equal(peer_mac, entry->peer_mac)) { in ath11k_write_file_cfr_unassoc()
/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()
H A Dlan966x_mac.c230 ether_addr_equal(mac, mac_entry->mac) && in lan966x_mac_find_entry()
323 ether_addr_equal(addr, mac_entry->mac)) { in lan966x_mac_del_entry()
457 ether_addr_equal(mac_entry->mac, mac) && in lan966x_mac_irq_process()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmpfs.h62 if (ether_addr_equal(ptr->node.addr, mac)) {\
/linux/net/802/
H A Dstp.c46 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dutil.c25 if (ether_addr_equal(node->mac_addr, mac)) in qtnf_sta_list_lookup()
/linux/net/bluetooth/bnep/
H A Dcore.c55 if (ether_addr_equal(dst, s->eh.h_source)) in __bnep_get_session()
445 if (compress_src && ether_addr_equal(eh->h_dest, s->eh.h_source)) in bnep_tx_frame()
448 if (compress_dst && ether_addr_equal(eh->h_source, s->eh.h_dest)) in bnep_tx_frame()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_rx.c73 ether_addr_equal(entry->src_addr, src) && in libipw_frag_cache_find()
74 ether_addr_equal(entry->dst_addr, dst)) in libipw_frag_cache_find()
241 ether_addr_equal(hdr->addr1, dev->dev_addr) && in libipw_is_eapol_frame()
242 ether_addr_equal(hdr->addr3, dev->dev_addr)) { in libipw_is_eapol_frame()
246 ether_addr_equal(hdr->addr1, dev->dev_addr)) { in libipw_is_eapol_frame()
520 ether_addr_equal(hdr->addr2, ieee->assoc_ap_addr)) { in libipw_rx()
/linux/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c334 if (sel && ether_addr_equal(sel->fcf_mac, fip->dest_addr)) in fcoe_ctlr_announce()
1037 ether_addr_equal(fcf->fcf_mac, new.fcf_mac)) { in fcoe_ctlr_recv_adv()
1346 if (!ether_addr_equal(eh->h_source, fcf->fcf_mac)) { in fcoe_ctlr_recv_clr_vlink()
1403 if (!ether_addr_equal(mp->fd_mac, fcf->fcf_mac)) in fcoe_ctlr_recv_clr_vlink()
1478 if (!ether_addr_equal(fip->get_src_addr(vn_port), in fcoe_ctlr_recv_clr_vlink()
1543 if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1544 !ether_addr_equal(eh->h_dest, fcoe_all_vn2vn) && in fcoe_ctlr_recv_handler()
1545 !ether_addr_equal(eh->h_dest, fcoe_all_p2p)) in fcoe_ctlr_recv_handler()
1547 } else if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1548 !ether_addr_equal(eh->h_dest, fcoe_all_enode)) in fcoe_ctlr_recv_handler()
[all …]
/linux/Documentation/translations/zh_CN/core-api/
H A Dunaligned-memory-access.rst132 bool ether_addr_equal(const u8 *addr1, const u8 *addr2)
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_switchdev.c145 if (!ether_addr_equal(emac->mac_addr, fdb->addr)) in prueth_switchdev_event_work()
162 if (!ether_addr_equal(emac->mac_addr, fdb->addr)) in prueth_switchdev_event_work()

12345678