/linux-4.1.27/net/batman-adv/ |
D | network-coding.c | 414 nc_path->next_hop); in batadv_nc_purge_paths() 421 nc_path->prev_hop, nc_path->next_hop); in batadv_nc_purge_paths() 439 memcpy(key->next_hop, dst, sizeof(key->next_hop)); in batadv_nc_hash_key_gen() 456 hash = batadv_hash_bytes(hash, &nc_path->next_hop, in batadv_nc_hash_choose() 457 sizeof(nc_path->next_hop)); in batadv_nc_hash_choose() 487 if (memcmp(nc_path1->next_hop, nc_path2->next_hop, in batadv_nc_hash_compare() 488 sizeof(nc_path1->next_hop)) != 0) in batadv_nc_hash_compare() 539 nc_packet->nc_path->next_hop); in batadv_nc_send_packet() 943 ether_addr_copy(nc_path->next_hop, dst); in batadv_nc_get_path() 948 nc_path->next_hop); in batadv_nc_get_path() [all …]
|
D | types.h | 1045 uint8_t next_hop[ETH_ALEN]; member
|
/linux-4.1.27/net/mac80211/ |
D | mesh_pathtbl.c | 212 rcu_assign_pointer(mpath->next_hop, sta); in mesh_path_assign_nexthop() 231 char *next_hop; in prepare_for_gate() local 258 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr; in prepare_for_gate() 259 memcpy(hdr->addr1, next_hop, ETH_ALEN); in prepare_for_gate() 293 if (WARN_ON(!gate_mpath->next_hop)) in mesh_path_move_to_queue() 763 if (rcu_access_pointer(mpath->next_hop) == sta && in mesh_plink_broken() 828 if (rcu_access_pointer(mpath->next_hop) == sta) { in mesh_path_flush_by_nexthop() 1023 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) in mesh_path_fix_nexthop() argument 1026 mesh_path_assign_nexthop(mpath, next_hop); in mesh_path_fix_nexthop()
|
D | mesh_hwmp.c | 641 return rcu_dereference_protected(mpath->next_hop, in next_hop_deref_protected() 654 u8 next_hop[ETH_ALEN]; in hwmp_prep_frame_process() local 684 memcpy(next_hop, next_hop_deref_protected(mpath)->sta.addr, ETH_ALEN); in hwmp_prep_frame_process() 695 target_addr, target_sn, next_hop, hopcount, in hwmp_prep_frame_process() 1127 struct sta_info *next_hop; in mesh_nexthop_lookup() local 1146 next_hop = rcu_dereference(mpath->next_hop); in mesh_nexthop_lookup() 1147 if (next_hop) { in mesh_nexthop_lookup() 1148 memcpy(hdr->addr1, next_hop->sta.addr, ETH_ALEN); in mesh_nexthop_lookup() 1150 ieee80211_mps_set_frame_flags(sdata, next_hop, hdr); in mesh_nexthop_lookup()
|
D | mesh.h | 109 struct sta_info __rcu *next_hop; member 275 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
|
D | cfg.c | 1421 const u8 *dst, const u8 *next_hop) in ieee80211_add_mpath() argument 1430 sta = sta_info_get(sdata, next_hop); in ieee80211_add_mpath() 1461 const u8 *dst, const u8 *next_hop) in ieee80211_change_mpath() argument 1471 sta = sta_info_get(sdata, next_hop); in ieee80211_change_mpath() 1489 static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop, in mpath_set_pinfo() argument 1492 struct sta_info *next_hop_sta = rcu_dereference(mpath->next_hop); in mpath_set_pinfo() 1495 memcpy(next_hop, next_hop_sta->sta.addr, ETH_ALEN); in mpath_set_pinfo() 1497 eth_zero_addr(next_hop); in mpath_set_pinfo() 1532 u8 *dst, u8 *next_hop, struct mpath_info *pinfo) in ieee80211_get_mpath() argument 1547 mpath_set_pinfo(mpath, next_hop, pinfo); in ieee80211_get_mpath() [all …]
|
D | tx.c | 2076 struct sta_info *next_hop; in ieee80211_build_hdr() local 2082 next_hop = rcu_dereference(mpath->next_hop); in ieee80211_build_hdr() 2083 if (!next_hop || in ieee80211_build_hdr()
|
/linux-4.1.27/net/wireless/ |
D | rdev-ops.h | 226 struct net_device *dev, u8 *dst, u8 *next_hop) in rdev_add_mpath() argument 229 trace_rdev_add_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_add_mpath() 230 ret = rdev->ops->add_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_add_mpath() 247 u8 *next_hop) in rdev_change_mpath() argument 250 trace_rdev_change_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_change_mpath() 251 ret = rdev->ops->change_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_change_mpath() 257 struct net_device *dev, u8 *dst, u8 *next_hop, in rdev_get_mpath() argument 261 trace_rdev_get_mpath(&rdev->wiphy, dev, dst, next_hop); in rdev_get_mpath() 262 ret = rdev->ops->get_mpath(&rdev->wiphy, dev, dst, next_hop, pinfo); in rdev_get_mpath() 282 u8 *next_hop, struct mpath_info *pinfo) in rdev_dump_mpath() argument [all …]
|
D | trace.h | 778 u8 *next_hop), 779 TP_ARGS(wiphy, netdev, dst, next_hop), 784 MAC_ENTRY(next_hop) 790 MAC_ASSIGN(next_hop, next_hop); 794 MAC_PR_ARG(next_hop)) 799 u8 *next_hop), 800 TP_ARGS(wiphy, netdev, dst, next_hop) 805 u8 *next_hop), 806 TP_ARGS(wiphy, netdev, dst, next_hop) 811 u8 *next_hop), [all …]
|
D | nl80211.c | 4541 u8 *dst, u8 *next_hop, in nl80211_send_mpath() argument 4553 nla_put(msg, NL80211_ATTR_MPATH_NEXT_HOP, ETH_ALEN, next_hop) || in nl80211_send_mpath() 4600 u8 next_hop[ETH_ALEN]; in nl80211_dump_mpath() local 4620 next_hop, &pinfo); in nl80211_dump_mpath() 4628 wdev->netdev, dst, next_hop, in nl80211_dump_mpath() 4652 u8 next_hop[ETH_ALEN]; in nl80211_get_mpath() local 4667 err = rdev_get_mpath(rdev, dev, dst, next_hop, &pinfo); in nl80211_get_mpath() 4676 dev, dst, next_hop, &pinfo) < 0) { in nl80211_get_mpath() 4689 u8 *next_hop = NULL; in nl80211_set_mpath() local 4698 next_hop = nla_data(info->attrs[NL80211_ATTR_MPATH_NEXT_HOP]); in nl80211_set_mpath() [all …]
|
/linux-4.1.27/drivers/thunderbolt/ |
D | path.c | 16 hop->out_port, hop->next_hop, in tb_dump_hop() 175 hop.next_hop = path->hops[i].next_hop_index; in tb_path_activate()
|
D | tb_regs.h | 189 u32 next_hop:11; /* member
|
/linux-4.1.27/include/net/ |
D | cfg80211.h | 2507 const u8 *dst, const u8 *next_hop); 2511 const u8 *dst, const u8 *next_hop); 2513 u8 *dst, u8 *next_hop, struct mpath_info *pinfo); 2515 int idx, u8 *dst, u8 *next_hop,
|