Home
last modified time | relevance | path

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

1234567891011

/linux-6.1.9/net/wireless/
Dmlme.c111 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_deauth()
115 if (!wdev->connected || !ether_addr_equal(wdev->u.client.connected_addr, bssid)) in cfg80211_process_deauth()
130 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_disassoc()
136 !ether_addr_equal(wdev->u.client.connected_addr, bssid))) in cfg80211_process_disassoc()
277 ether_addr_equal(req->bss->bssid, wdev->u.client.connected_addr)) in cfg80211_mlme_auth()
338 !ether_addr_equal(wdev->u.client.connected_addr, req->prev_bssid))) in cfg80211_mlme_assoc()
383 !ether_addr_equal(wdev->u.client.connected_addr, bssid))) in cfg80211_mlme_deauth()
386 if (ether_addr_equal(wdev->disconnect_bssid, bssid) || in cfg80211_mlme_deauth()
388 ether_addr_equal(wdev->u.client.connected_addr, bssid))) in cfg80211_mlme_deauth()
665 if (ether_addr_equal(addr, wdev->links[i].addr)) in cfg80211_allowed_address()
[all …]
/linux-6.1.9/net/hsr/
Dhsr_framereg.c50 if (ether_addr_equal(addr, node->macaddress_A)) in hsr_addr_is_self()
52 if (ether_addr_equal(addr, node->macaddress_B)) in hsr_addr_is_self()
66 if (ether_addr_equal(node->macaddress_A, addr)) in find_node_by_addr_A()
179 if (ether_addr_equal(node->macaddress_A, addr)) in hsr_add_node()
181 if (ether_addr_equal(node->macaddress_B, addr)) in hsr_add_node()
221 if (ether_addr_equal(node->macaddress_A, ethhdr->h_source)) { in hsr_get_node()
226 if (ether_addr_equal(node->macaddress_B, ethhdr->h_source)) { in hsr_get_node()
350 if (!ether_addr_equal(node_real->macaddress_A, hsr_sp->macaddress_A)) { in hsr_handle_sup_frame()
/linux-6.1.9/drivers/scsi/qedf/
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-6.1.9/net/bridge/netfilter/
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()
Debt_dnat.c52 if (ether_addr_equal(info->mac, dev->dev_addr)) in ebt_dnat_tg()
/linux-6.1.9/net/mac80211/
Drx.c279 if (!ether_addr_equal(action.hdr.addr1, sdata->u.mntr.mu_follow_addr)) in ieee80211_handle_mu_mimo_mon()
1051 if (ether_addr_equal(hdr->addr3, dev_addr)) in ieee80211_rx_mesh_check()
1056 if (ether_addr_equal(hdr->addr4, dev_addr)) in ieee80211_rx_mesh_check()
1754 if (ether_addr_equal(bssid, rx->sdata->u.ibss.bssid) && in ieee80211_rx_h_sta_process()
2215 !ether_addr_equal(hdr->addr1, f_hdr->addr1) || in ieee80211_reassemble_find()
2216 !ether_addr_equal(hdr->addr2, f_hdr->addr2)) in ieee80211_reassemble_find()
2428 if (!ether_addr_equal(hdr->addr1, rx->sdata->vif.addr)) in ieee80211_drop_unencrypted()
2526 else if (!ether_addr_equal(hdr->addr1, sdata->vif.addr)) in __ieee80211_data_to_8023()
2553 if (ether_addr_equal(sdata->vif.addr, addr)) in ieee80211_is_our_addr()
2566 if (ether_addr_equal(conf->addr, addr)) { in ieee80211_is_our_addr()
[all …]
Dmesh_hwmp.c440 if (ether_addr_equal(orig_addr, sdata->vif.addr)) { in hwmp_route_info_get()
518 if (ether_addr_equal(orig_addr, ta)) in hwmp_route_info_get()
590 if (ether_addr_equal(target_addr, sdata->vif.addr)) { in hwmp_preq_frame_process()
715 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_prep_frame_process()
792 ether_addr_equal(ta, sta->sta.addr) && in hwmp_perr_frame_process()
838 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_rann_frame_process()
1248 ether_addr_equal(sdata->vif.addr, hdr->addr4) && in mesh_nexthop_lookup()
/linux-6.1.9/net/8021q/
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()
Dvlan_dev.c268 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr) && in vlan_dev_open()
303 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr)) in vlan_dev_open()
322 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr)) in vlan_dev_stop()
342 if (!ether_addr_equal(addr->sa_data, real_dev->dev_addr)) { in vlan_dev_set_mac_address()
348 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr)) in vlan_dev_set_mac_address()
/linux-6.1.9/net/bridge/
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()
/linux-6.1.9/include/linux/
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()
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/
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 …]
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dmac_flt.c83 if (ether_addr_equal(mac, pf->netdev->dev_addr)) in otx2_dmacflt_add()
134 if (ether_addr_equal(mac, pf->netdev->dev_addr)) in otx2_dmacflt_remove()
/linux-6.1.9/net/netfilter/
Dxt_mac.c36 ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); in mac_mt()
/linux-6.1.9/net/core/
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()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
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()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmpfs.h58 if (ether_addr_equal(ptr->node.addr, mac)) {\
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
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()
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-6.1.9/drivers/staging/rtl8192u/ieee80211/
Ddot11d.h39 #define IS_EQUAL_CIE_SRC(ieee_dev, addr) ether_addr_equal(GET_DOT11D_INFO(ieee_dev)->country_ie_src…
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
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()
/linux-6.1.9/net/802/
Dstp.c46 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/
Dutil.c25 if (ether_addr_equal(node->mac_addr, mac)) in qtnf_sta_list_lookup()
/linux-6.1.9/net/netfilter/ipset/
Dip_set_hash_ipmac.c55 return e1->ip == e2->ip && ether_addr_equal(e1->ether, e2->ether); in hash_ipmac4_data_equal()
163 ether_addr_equal(e1->ether, e2->ether); in hash_ipmac6_data_equal()

1234567891011