Home
last modified time | relevance | path

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

/linux-3.4.99/net/mac80211/
Dmesh_pathtbl.c215 rcu_assign_pointer(mpath->next_hop, sta); in mesh_path_assign_nexthop()
238 char *next_hop; in prepare_for_gate() local
265 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr; in prepare_for_gate()
266 memcpy(hdr->addr1, next_hop, ETH_ALEN); in prepare_for_gate()
300 BUG_ON(!gate_mpath->next_hop); in mesh_path_move_to_queue()
742 if (rcu_dereference(mpath->next_hop) == sta && in mesh_plink_broken()
807 if (rcu_dereference(mpath->next_hop) == sta) { in mesh_path_flush_by_nexthop()
1004 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) in mesh_path_fix_nexthop() argument
1007 mesh_path_assign_nexthop(mpath, next_hop); in mesh_path_fix_nexthop()
Dmesh_hwmp.c615 return rcu_dereference_protected(mpath->next_hop, in next_hop_deref_protected()
628 u8 next_hop[ETH_ALEN]; in hwmp_prep_frame_process() local
657 memcpy(next_hop, next_hop_deref_protected(mpath)->sta.addr, ETH_ALEN); in hwmp_prep_frame_process()
669 cpu_to_le32(target_sn), next_hop, hopcount, in hwmp_prep_frame_process()
1075 struct sta_info *next_hop; in mesh_nexthop_lookup() local
1094 next_hop = rcu_dereference(mpath->next_hop); in mesh_nexthop_lookup()
1095 if (next_hop) { in mesh_nexthop_lookup()
1096 memcpy(hdr->addr1, next_hop->sta.addr, ETH_ALEN); in mesh_nexthop_lookup()
Dmesh.h102 struct sta_info __rcu *next_hop; member
249 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
Dcfg.c1047 u8 *dst, u8 *next_hop) in ieee80211_add_mpath() argument
1057 sta = sta_info_get(sdata, next_hop); in ieee80211_add_mpath()
1094 u8 *dst, u8 *next_hop) in ieee80211_change_mpath() argument
1104 sta = sta_info_get(sdata, next_hop); in ieee80211_change_mpath()
1122 static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop, in mpath_set_pinfo() argument
1125 struct sta_info *next_hop_sta = rcu_dereference(mpath->next_hop); in mpath_set_pinfo()
1128 memcpy(next_hop, next_hop_sta->sta.addr, ETH_ALEN); in mpath_set_pinfo()
1130 memset(next_hop, 0, ETH_ALEN); in mpath_set_pinfo()
1166 u8 *dst, u8 *next_hop, struct mpath_info *pinfo) in ieee80211_get_mpath() argument
1181 mpath_set_pinfo(mpath, next_hop, pinfo); in ieee80211_get_mpath()
[all …]
/linux-3.4.99/include/net/
Dcfg80211.h1557 u8 *dst, u8 *next_hop);
1561 u8 *dst, u8 *next_hop);
1563 u8 *dst, u8 *next_hop,
1566 int idx, u8 *dst, u8 *next_hop,
/linux-3.4.99/net/wireless/
Dnl80211.c2911 u8 *dst, u8 *next_hop, in nl80211_send_mpath() argument
2923 NLA_PUT(msg, NL80211_ATTR_MPATH_NEXT_HOP, ETH_ALEN, next_hop); in nl80211_send_mpath()
2968 u8 next_hop[ETH_ALEN]; in nl80211_dump_mpath() local
2988 dst, next_hop, &pinfo); in nl80211_dump_mpath()
2996 netdev, dst, next_hop, in nl80211_dump_mpath()
3020 u8 next_hop[ETH_ALEN]; in nl80211_get_mpath() local
3035 err = rdev->ops->get_mpath(&rdev->wiphy, dev, dst, next_hop, &pinfo); in nl80211_get_mpath()
3044 dev, dst, next_hop, &pinfo) < 0) { in nl80211_get_mpath()
3057 u8 *next_hop = NULL; in nl80211_set_mpath() local
3066 next_hop = nla_data(info->attrs[NL80211_ATTR_MPATH_NEXT_HOP]); in nl80211_set_mpath()
[all …]