Home
last modified time | relevance | path

Searched refs:next_hop (Results 1 – 12 of 12) sorted by relevance

/net/mac80211/
Dmesh_pathtbl.c120 rcu_assign_pointer(mpath->next_hop, sta); in mesh_path_assign_nexthop()
139 char *next_hop; in prepare_for_gate() local
166 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr; in prepare_for_gate()
167 memcpy(hdr->addr1, next_hop, ETH_ALEN); in prepare_for_gate()
200 if (WARN_ON(!gate_mpath->next_hop)) in mesh_path_move_to_queue()
484 sta = rcu_dereference(mpath->next_hop); in mesh_fast_tx_cache()
642 if (rcu_access_pointer(entry->mpath->next_hop) == sta) in mesh_fast_tx_flush_sta()
774 if (rcu_access_pointer(mpath->next_hop) == sta && in mesh_plink_broken()
837 if (rcu_access_pointer(mpath->next_hop) == sta) in mesh_path_flush_by_nexthop()
1041 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) in mesh_path_fix_nexthop() argument
[all …]
Dmesh_hwmp.c457 (rcu_access_pointer(mpath->next_hop) != in hwmp_route_info_get()
495 if (rcu_access_pointer(mpath->next_hop) != sta) { in hwmp_route_info_get()
533 ((rcu_access_pointer(mpath->next_hop) != sta ? in hwmp_route_info_get()
547 if (rcu_access_pointer(mpath->next_hop) != sta) { in hwmp_route_info_get()
704 return rcu_dereference_protected(mpath->next_hop, in next_hop_deref_protected()
717 u8 next_hop[ETH_ALEN]; in hwmp_prep_frame_process() local
747 memcpy(next_hop, next_hop_deref_protected(mpath)->sta.addr, ETH_ALEN); in hwmp_prep_frame_process()
758 target_addr, target_sn, next_hop, hopcount, in hwmp_prep_frame_process()
1256 struct sta_info *next_hop; in mesh_nexthop_lookup() local
1270 next_hop = rcu_dereference(mpath->next_hop); in mesh_nexthop_lookup()
[all …]
Dmesh.h111 struct sta_info __rcu *next_hop; member
317 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
Dcfg.c2234 const u8 *dst, const u8 *next_hop) in ieee80211_add_mpath() argument
2243 sta = sta_info_get(sdata, next_hop); in ieee80211_add_mpath()
2274 const u8 *dst, const u8 *next_hop) in ieee80211_change_mpath() argument
2284 sta = sta_info_get(sdata, next_hop); in ieee80211_change_mpath()
2302 static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop, in mpath_set_pinfo() argument
2305 struct sta_info *next_hop_sta = rcu_dereference(mpath->next_hop); in mpath_set_pinfo()
2308 memcpy(next_hop, next_hop_sta->sta.addr, ETH_ALEN); in mpath_set_pinfo()
2310 eth_zero_addr(next_hop); in mpath_set_pinfo()
2349 u8 *dst, u8 *next_hop, struct mpath_info *pinfo) in ieee80211_get_mpath() argument
2364 mpath_set_pinfo(mpath, next_hop, pinfo); in ieee80211_get_mpath()
[all …]
Dtx.c2686 struct sta_info *next_hop; in ieee80211_build_hdr() local
2692 next_hop = rcu_dereference(mpath->next_hop); in ieee80211_build_hdr()
2693 if (!next_hop || in ieee80211_build_hdr()
Dmesh.c816 sta = rcu_dereference(entry->mpath->next_hop); in ieee80211_mesh_xmit_fast()
Drx.c2751 sta = rcu_dereference(entry->mpath->next_hop); in ieee80211_rx_mesh_fast_forward()
/net/batman-adv/
Dnetwork-coding.c460 nc_path->next_hop); in batadv_nc_purge_paths()
467 nc_path->prev_hop, nc_path->next_hop); in batadv_nc_purge_paths()
485 memcpy(key->next_hop, dst, sizeof(key->next_hop)); in batadv_nc_hash_key_gen()
501 hash = jhash(&nc_path->next_hop, sizeof(nc_path->next_hop), hash); in batadv_nc_hash_choose()
526 if (!batadv_compare_eth(nc_path1->next_hop, nc_path2->next_hop)) in batadv_nc_hash_compare()
981 ether_addr_copy(nc_path->next_hop, dst); in batadv_nc_get_path()
986 nc_path->next_hop); in batadv_nc_get_path()
1283 if (!batadv_compare_eth(nc_path->next_hop, out_nc_node->addr)) in batadv_nc_path_search()
Dtypes.h2017 u8 next_hop[ETH_ALEN]; member
/net/wireless/
Drdev-ops.h251 struct net_device *dev, u8 *dst, u8 *next_hop) in rdev_add_mpath() argument
254 trace_rdev_add_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_add_mpath()
255 ret = rdev->ops->add_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_add_mpath()
272 u8 *next_hop) in rdev_change_mpath() argument
275 trace_rdev_change_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_change_mpath()
276 ret = rdev->ops->change_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_change_mpath()
282 struct net_device *dev, u8 *dst, u8 *next_hop, in rdev_get_mpath() argument
286 trace_rdev_get_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_get_mpath()
287 ret = rdev->ops->get_mpath(&rdev->wiphy, dev, dst, next_hop, pinfo); in rdev_get_mpath()
307 u8 *next_hop, struct mpath_info *pinfo) in rdev_dump_mpath() argument
[all …]
Dtrace.h934 u8 *next_hop),
935 TP_ARGS(wiphy, netdev, dst, next_hop),
940 MAC_ENTRY(next_hop)
946 MAC_ASSIGN(next_hop, next_hop);
950 __entry->next_hop)
955 u8 *next_hop),
956 TP_ARGS(wiphy, netdev, dst, next_hop)
961 u8 *next_hop),
962 TP_ARGS(wiphy, netdev, dst, next_hop)
967 u8 *next_hop),
[all …]
Dnl80211.c7726 u8 *dst, u8 *next_hop, in nl80211_send_mpath() argument
7738 nla_put(msg, NL80211_ATTR_MPATH_NEXT_HOP, ETH_ALEN, next_hop) || in nl80211_send_mpath()
7791 u8 next_hop[ETH_ALEN]; in nl80211_dump_mpath() local
7813 next_hop, &pinfo); in nl80211_dump_mpath()
7821 wdev->netdev, dst, next_hop, in nl80211_dump_mpath()
7844 u8 next_hop[ETH_ALEN]; in nl80211_get_mpath() local
7859 err = rdev_get_mpath(rdev, dev, dst, next_hop, &pinfo); in nl80211_get_mpath()
7868 dev, dst, next_hop, &pinfo) < 0) { in nl80211_get_mpath()
7881 u8 *next_hop = NULL; in nl80211_set_mpath() local
7890 next_hop = nla_data(info->attrs[NL80211_ATTR_MPATH_NEXT_HOP]); in nl80211_set_mpath()
[all …]