Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/net/wireless/
Dmlme.c77 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_deauth()
82 !ether_addr_equal(wdev->current_bss->pub.bssid, bssid)) in cfg80211_process_deauth()
96 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_disassoc()
101 !ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) in cfg80211_process_disassoc()
247 ether_addr_equal(bssid, wdev->current_bss->pub.bssid)) in cfg80211_mlme_auth()
309 (!req->prev_bssid || !ether_addr_equal(wdev->current_bss->pub.bssid, in cfg80211_mlme_assoc()
351 !ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) in cfg80211_mlme_deauth()
354 if (ether_addr_equal(wdev->disconnect_bssid, bssid) || in cfg80211_mlme_deauth()
356 ether_addr_equal(wdev->current_bss->pub.bssid, bssid))) in cfg80211_mlme_deauth()
381 if (ether_addr_equal(wdev->current_bss->pub.bssid, bssid)) in cfg80211_mlme_disassoc()
[all …]
Dutil.c490 ether_addr_equal(tmp.h_source, addr))) in ieee80211_data_to_8023_exthdr()
513 if (likely((ether_addr_equal(payload.hdr, rfc1042_header) && in ieee80211_data_to_8023_exthdr()
516 ether_addr_equal(payload.hdr, bridge_tunnel_header))) in ieee80211_data_to_8023_exthdr()
661 !ether_addr_equal(check_da, eth.h_dest)) || in ieee80211_amsdu_to_8023s()
662 (check_sa && !ether_addr_equal(check_sa, eth.h_source))) { in ieee80211_amsdu_to_8023s()
687 if (likely((ether_addr_equal(payload, rfc1042_header) && in ieee80211_amsdu_to_8023s()
689 ether_addr_equal(payload, bridge_tunnel_header))) { in ieee80211_amsdu_to_8023s()
/Linux-v4.19/net/netfilter/ipset/
Dip_set_hash_ipmac.c61 return e1->ip == e2->ip && ether_addr_equal(e1->ether, e2->ether); in hash_ipmac4_data_equal()
107 if (ether_addr_equal(e.ether, invalid_ether)) in hash_ipmac4_kadt()
143 if (ether_addr_equal(e.ether, invalid_ether)) in hash_ipmac4_uadt()
169 ether_addr_equal(e1->ether, e2->ether); in hash_ipmac6_data_equal()
223 if (ether_addr_equal(e.ether, invalid_ether)) in hash_ipmac6_kadt()
263 if (ether_addr_equal(e.ether, invalid_ether)) in hash_ipmac6_uadt()
Dip_set_hash_mac.c49 return ether_addr_equal(e1->ether, e2->ether); in hash_mac4_data_equal()
Dip_set_bitmap_ipmac.c96 return ether_addr_equal(e->ether, elem->ether); in bitmap_ipmac_do_test()
157 !ether_addr_equal(e->ether, elem->ether)) { in bitmap_ipmac_do_add()
/Linux-v4.19/net/hsr/
Dhsr_framereg.c71 if (ether_addr_equal(addr, node->MacAddressA)) in hsr_addr_is_self()
73 if (ether_addr_equal(addr, node->MacAddressB)) in hsr_addr_is_self()
87 if (ether_addr_equal(node->MacAddressA, addr)) in find_node_by_AddrA()
175 if (ether_addr_equal(node->MacAddressA, ethhdr->h_source)) in hsr_get_node()
177 if (ether_addr_equal(node->MacAddressB, ethhdr->h_source)) in hsr_get_node()
/Linux-v4.19/include/linux/
Detherdevice.h318 static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2) in ether_addr_equal() function
359 return ether_addr_equal(addr1, addr2); in ether_addr_equal_64bits()
375 return ether_addr_equal(addr1, addr2); in ether_addr_equal_unaligned()
/Linux-v4.19/net/bridge/
Dbr_stp_if.c233 if (ether_addr_equal(p->designated_bridge.addr, oldaddr)) in br_stp_change_bridge_id()
236 if (ether_addr_equal(p->designated_root.addr, oldaddr)) in br_stp_change_bridge_id()
268 if (ether_addr_equal(br->bridge_id.addr, addr)) in br_stp_recalculate_bridge_id()
/Linux-v4.19/net/8021q/
Dvlan.c291 if (ether_addr_equal(vlan->real_dev_addr, dev->dev_addr)) in vlan_sync_address()
300 if (!ether_addr_equal(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address()
301 ether_addr_equal(vlandev->dev_addr, dev->dev_addr)) in vlan_sync_address()
306 if (ether_addr_equal(vlandev->dev_addr, vlan->real_dev_addr) && in vlan_sync_address()
307 !ether_addr_equal(vlandev->dev_addr, dev->dev_addr)) in vlan_sync_address()
Dvlan_dev.c274 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr) && in vlan_dev_open()
308 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr)) in vlan_dev_open()
327 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr)) in vlan_dev_stop()
346 if (!ether_addr_equal(addr->sa_data, real_dev->dev_addr)) { in vlan_dev_set_mac_address()
352 if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr)) in vlan_dev_set_mac_address()
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c80 ether_addr_equal(entry->src_addr, src) && in libipw_frag_cache_find()
81 ether_addr_equal(entry->dst_addr, dst)) in libipw_frag_cache_find()
248 ether_addr_equal(hdr->addr1, dev->dev_addr) && in libipw_is_eapol_frame()
249 ether_addr_equal(hdr->addr3, dev->dev_addr)) { in libipw_is_eapol_frame()
253 ether_addr_equal(hdr->addr1, dev->dev_addr)) { in libipw_is_eapol_frame()
527 ether_addr_equal(hdr->addr2, ieee->assoc_ap_addr)) { in libipw_rx()
877 if (ether_addr_equal(hdr->addr3, ieee->bssid)) in libipw_rx_any()
883 else if (ether_addr_equal(hdr->addr1, ieee->dev->dev_addr)) in libipw_rx_any()
892 if (ether_addr_equal(hdr->addr2, ieee->bssid)) in libipw_rx_any()
898 else if (ether_addr_equal(hdr->addr1, ieee->dev->dev_addr)) in libipw_rx_any()
[all …]
/Linux-v4.19/net/mac80211/
Drx.c248 if (!ether_addr_equal(action.hdr.addr1, sdata->u.mntr.mu_follow_addr)) in ieee80211_handle_mu_mimo_mon()
978 if (ether_addr_equal(hdr->addr3, dev_addr)) in ieee80211_rx_mesh_check()
983 if (ether_addr_equal(hdr->addr4, dev_addr)) in ieee80211_rx_mesh_check()
1676 if (ether_addr_equal(bssid, rx->sdata->u.ibss.bssid) && in ieee80211_rx_h_sta_process()
2067 !ether_addr_equal(hdr->addr1, f_hdr->addr1) || in ieee80211_reassemble_find()
2068 !ether_addr_equal(hdr->addr2, f_hdr->addr2)) in ieee80211_reassemble_find()
2352 (ether_addr_equal(ehdr->h_dest, rx->sdata->vif.addr) || in ieee80211_frame_allowed()
2353 ether_addr_equal(ehdr->h_dest, pae_group_addr))) in ieee80211_frame_allowed()
2656 if (!ether_addr_equal(mppath->mpp, mpp_addr)) in ieee80211_rx_h_mesh_fwding()
2666 ether_addr_equal(sdata->vif.addr, hdr->addr3)) in ieee80211_rx_h_mesh_fwding()
[all …]
Dmesh_hwmp.c428 if (ether_addr_equal(orig_addr, sdata->vif.addr)) { in hwmp_route_info_get()
500 if (ether_addr_equal(orig_addr, ta)) in hwmp_route_info_get()
567 if (ether_addr_equal(target_addr, sdata->vif.addr)) { in hwmp_preq_frame_process()
692 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_prep_frame_process()
769 ether_addr_equal(ta, sta->sta.addr) && in hwmp_perr_frame_process()
815 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_rann_frame_process()
1183 ether_addr_equal(sdata->vif.addr, hdr->addr4) && in mesh_nexthop_lookup()
Dmesh_pathtbl.c420 if (ether_addr_equal(dst, sdata->vif.addr)) in mesh_path_add()
469 if (ether_addr_equal(dst, sdata->vif.addr)) in mpp_path_add()
617 if (ether_addr_equal(mpath->mpp, proxy)) in mpp_flush_by_proxy()
/Linux-v4.19/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-v4.19/net/netfilter/
Dxt_mac.c39 ret = ether_addr_equal(eth_hdr(skb)->h_source, info->srcaddr); in mac_mt()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmpfs.h58 if (ether_addr_equal(ptr->node.addr, mac)) {\
/Linux-v4.19/net/bridge/netfilter/
Debt_dnat.c40 if (ether_addr_equal(info->mac, dev->dev_addr)) in ebt_dnat_tg()
/Linux-v4.19/net/802/
Dstp.c49 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Dutil.c37 if (ether_addr_equal(node->mac_addr, mac)) in qtnf_sta_list_lookup()
/Linux-v4.19/net/bluetooth/bnep/
Dcore.c55 if (ether_addr_equal(dst, s->eh.h_source)) in __bnep_get_session()
437 if (compress_src && ether_addr_equal(eh->h_dest, s->eh.h_source)) in bnep_tx_frame()
440 if (compress_dst && ether_addr_equal(eh->h_source, s->eh.h_dest)) in bnep_tx_frame()
/Linux-v4.19/drivers/net/wireless/intersil/hostap/
Dhostap_ap.c98 if (ether_addr_equal(s->addr, sta->addr)) { in ap_sta_hash_del()
103 while (s->hnext != NULL && !ether_addr_equal(s->hnext->addr, sta->addr)) in ap_sta_hash_del()
408 if (ether_addr_equal(entry->addr, mac)) { in ap_control_del_mac()
432 if (ether_addr_equal(entry->addr, mac)) { in ap_control_mac_deny()
914 while (s != NULL && !ether_addr_equal(s->addr, sta)) in ap_get_sta()
1332 if (ether_addr_equal(dev->dev_addr, hdr->addr2) || in handle_authen()
1876 if (!ether_addr_equal(hdr->addr1, dev->dev_addr)) { in handle_pspoll()
2171 if (!ether_addr_equal(hdr->addr1, dev->dev_addr)) { in handle_ap_item()
2208 if (!ether_addr_equal(hdr->addr1, dev->dev_addr)) { in handle_ap_item()
2214 if (!ether_addr_equal(hdr->addr3, dev->dev_addr)) { in handle_ap_item()
[all …]
/Linux-v4.19/drivers/staging/wlan-ng/
Dprism2sta.c1496 if (ether_addr_equal(rec.sta_addr, hw->authlist.addr[i])) in prism2sta_inf_assocstatus()
1578 if (ether_addr_equal(rec.address, in prism2sta_inf_authreq_defer()
1616 if (ether_addr_equal(rec.address, addr)) { in prism2sta_inf_authreq_defer()
1646 if (ether_addr_equal(rec.address, addr)) { in prism2sta_inf_authreq_defer()
1667 if (ether_addr_equal(rec.address, in prism2sta_inf_authreq_defer()
/Linux-v4.19/drivers/scsi/fcoe/
Dfcoe_ctlr.c345 if (sel && ether_addr_equal(sel->fcf_mac, fip->dest_addr)) in fcoe_ctlr_announce()
1046 ether_addr_equal(fcf->fcf_mac, new.fcf_mac)) { in fcoe_ctlr_recv_adv()
1358 if (!ether_addr_equal(eh->h_source, fcf->fcf_mac)) { in fcoe_ctlr_recv_clr_vlink()
1416 if (!ether_addr_equal(mp->fd_mac, fcf->fcf_mac)) in fcoe_ctlr_recv_clr_vlink()
1494 if (!ether_addr_equal(fip->get_src_addr(vn_port), in fcoe_ctlr_recv_clr_vlink()
1559 if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1560 !ether_addr_equal(eh->h_dest, fcoe_all_vn2vn) && in fcoe_ctlr_recv_handler()
1561 !ether_addr_equal(eh->h_dest, fcoe_all_p2p)) in fcoe_ctlr_recv_handler()
1563 } else if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1564 !ether_addr_equal(eh->h_dest, fcoe_all_enode)) in fcoe_ctlr_recv_handler()
[all …]
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2u_main.c54 if (!ether_addr_equal(dev->mt76.macaddr, vif->addr)) in mt76x2u_add_interface()

123456789