/net/mac80211/ |
H A D | mesh.h | 77 * @next_hop: mesh neighbor to which frames for this destination will be 101 * next_hop STA is only protected by RCU as well, deleting the STA must also 109 struct sta_info __rcu *next_hop; member in struct:mesh_path 273 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
|
H A D | mesh_pathtbl.c | 211 rcu_assign_pointer(mpath->next_hop, sta); 230 char *next_hop; local 257 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr; 258 memcpy(hdr->addr1, next_hop, ETH_ALEN); 275 * The gate mpath must be an active mpath with a valid mpath->next_hop. 292 if (WARN_ON(!gate_mpath->next_hop)) 732 if (rcu_access_pointer(mpath->next_hop) == sta && 797 if (rcu_access_pointer(mpath->next_hop) == sta) { 988 * @next_hop 992 mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) argument [all...] |
H A D | mesh_hwmp.c | 641 return rcu_dereference_protected(mpath->next_hop, 654 u8 next_hop[ETH_ALEN]; local 684 memcpy(next_hop, next_hop_deref_protected(mpath)->sta.addr, ETH_ALEN); 695 target_addr, target_sn, next_hop, hopcount, 1127 struct sta_info *next_hop; local 1146 next_hop = rcu_dereference(mpath->next_hop); 1147 if (next_hop) { 1148 memcpy(hdr->addr1, next_hop->sta.addr, ETH_ALEN); 1150 ieee80211_mps_set_frame_flags(sdata, next_hop, hd [all...] |
H A D | cfg.c | 1367 const u8 *dst, const u8 *next_hop) 1376 sta = sta_info_get(sdata, next_hop); 1407 const u8 *dst, const u8 *next_hop) 1417 sta = sta_info_get(sdata, next_hop); 1435 static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop, argument 1438 struct sta_info *next_hop_sta = rcu_dereference(mpath->next_hop); 1441 memcpy(next_hop, next_hop_sta->sta.addr, ETH_ALEN); 1443 memset(next_hop, 0, ETH_ALEN); 1478 u8 *dst, u8 *next_hop, struct mpath_info *pinfo) 1493 mpath_set_pinfo(mpath, next_hop, pinf 1366 ieee80211_add_mpath(struct wiphy *wiphy, struct net_device *dev, const u8 *dst, const u8 *next_hop) argument 1406 ieee80211_change_mpath(struct wiphy *wiphy, struct net_device *dev, const u8 *dst, const u8 *next_hop) argument 1477 ieee80211_get_mpath(struct wiphy *wiphy, struct net_device *dev, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) argument 1498 ieee80211_dump_mpath(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) argument [all...] |
H A D | tx.c | 1891 struct sta_info *next_hop; local 1897 next_hop = rcu_dereference(mpath->next_hop); 1898 if (!next_hop ||
|
/net/wireless/ |
H A D | rdev-ops.h | 224 struct net_device *dev, u8 *dst, u8 *next_hop) 227 trace_rdev_add_mpath(&rdev->wiphy, dev, dst, next_hop); 228 ret = rdev->ops->add_mpath(&rdev->wiphy, dev, dst, next_hop); 245 u8 *next_hop) 248 trace_rdev_change_mpath(&rdev->wiphy, dev, dst, next_hop); 249 ret = rdev->ops->change_mpath(&rdev->wiphy, dev, dst, next_hop); 255 struct net_device *dev, u8 *dst, u8 *next_hop, 259 trace_rdev_get_mpath(&rdev->wiphy, dev, dst, next_hop); 260 ret = rdev->ops->get_mpath(&rdev->wiphy, dev, dst, next_hop, pinfo); 268 u8 *next_hop, struc 223 rdev_add_mpath(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *dst, u8 *next_hop) argument 243 rdev_change_mpath(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *dst, u8 *next_hop) argument 254 rdev_get_mpath(struct cfg80211_registered_device *rdev, struct net_device *dev, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) argument 266 rdev_dump_mpath(struct cfg80211_registered_device *rdev, struct net_device *dev, int idx, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) argument [all...] |
H A D | nl80211.c | 4420 u8 *dst, u8 *next_hop, 4432 nla_put(msg, NL80211_ATTR_MPATH_NEXT_HOP, ETH_ALEN, next_hop) || 4478 u8 next_hop[ETH_ALEN]; local 4498 next_hop, &pinfo); 4506 wdev->netdev, dst, next_hop, 4530 u8 next_hop[ETH_ALEN]; local 4545 err = rdev_get_mpath(rdev, dev, dst, next_hop, &pinfo); 4554 dev, dst, next_hop, &pinfo) < 0) { 4567 u8 *next_hop = NULL; local 4576 next_hop 4418 nl80211_send_mpath(struct sk_buff *msg, u32 portid, u32 seq, int flags, struct net_device *dev, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) argument 4592 u8 *next_hop = NULL; local [all...] |
/net/batman-adv/ |
H A D | types.h | 1034 * @next_hop: next hop (destination) of path 1044 uint8_t next_hop[ETH_ALEN]; member in struct:batadv_nc_path
|