Lines Matching defs:addr
22 static u32 mesh_table_hash(const void *addr, u32 len, u32 seed)
24 /* Use last four bytes of hw addr as hash index */
25 return jhash_1word(__get_unaligned_cpu32((u8 *)addr + 2), seed);
126 memcpy(hdr->addr1, sta->sta.addr, ETH_ALEN);
127 memcpy(hdr->addr2, mpath->sdata->vif.addr, ETH_ALEN);
167 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr;
170 memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN);
500 if (!ether_addr_equal(meshhdr->eaddr2, sdata->vif.addr))
508 if (!ether_addr_equal(hdr->addr4, sdata->vif.addr))
557 memcpy(build.key.addr, mppath->dst, ETH_ALEN);
653 const u8 *addr)
660 ether_addr_copy(key.addr, addr);
686 if (ether_addr_equal(dst, sdata->vif.addr))
729 if (ether_addr_equal(dst, sdata->vif.addr))
893 * @addr: dst address (ETH_ALEN length)
899 const u8 *addr)
904 mpath = rhashtable_lookup_fast(&tbl->rhead, addr, mesh_rht_params);
919 * @addr: dst address (ETH_ALEN length)
924 int mesh_path_del(struct ieee80211_sub_if_data *sdata, const u8 *addr)
929 mpp_flush_by_proxy(sdata, addr);
931 err = table_path_del(&sdata->u.mesh.mesh_paths, sdata, addr);