Home
last modified time | relevance | path

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

/Linux-v4.19/net/mac80211/
Dmesh_pathtbl.c90 rcu_assign_pointer(mpath->next_hop, sta); in mesh_path_assign_nexthop()
109 char *next_hop; in prepare_for_gate() local
136 next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr; in prepare_for_gate()
137 memcpy(hdr->addr1, next_hop, ETH_ALEN); in prepare_for_gate()
171 if (WARN_ON(!gate_mpath->next_hop)) in mesh_path_move_to_queue()
520 if (rcu_access_pointer(mpath->next_hop) == sta && in mesh_plink_broken()
589 if (rcu_access_pointer(mpath->next_hop) == sta) in mesh_path_flush_by_nexthop()
807 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) in mesh_path_fix_nexthop() argument
810 mesh_path_assign_nexthop(mpath, next_hop); in mesh_path_fix_nexthop()
818 ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg); in mesh_path_fix_nexthop()
[all …]
Dmesh_hwmp.c672 return rcu_dereference_protected(mpath->next_hop, in next_hop_deref_protected()
685 u8 next_hop[ETH_ALEN]; in hwmp_prep_frame_process() local
715 memcpy(next_hop, next_hop_deref_protected(mpath)->sta.addr, ETH_ALEN); in hwmp_prep_frame_process()
726 target_addr, target_sn, next_hop, hopcount, in hwmp_prep_frame_process()
1169 struct sta_info *next_hop; in mesh_nexthop_lookup() local
1188 next_hop = rcu_dereference(mpath->next_hop); in mesh_nexthop_lookup()
1189 if (next_hop) { in mesh_nexthop_lookup()
1190 memcpy(hdr->addr1, next_hop->sta.addr, ETH_ALEN); in mesh_nexthop_lookup()
1192 ieee80211_mps_set_frame_flags(sdata, next_hop, hdr); in mesh_nexthop_lookup()
Dmesh.h110 struct sta_info __rcu *next_hop; member
263 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
Dcfg.c1641 const u8 *dst, const u8 *next_hop) in ieee80211_add_mpath() argument
1650 sta = sta_info_get(sdata, next_hop); in ieee80211_add_mpath()
1681 const u8 *dst, const u8 *next_hop) in ieee80211_change_mpath() argument
1691 sta = sta_info_get(sdata, next_hop); in ieee80211_change_mpath()
1709 static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop, in mpath_set_pinfo() argument
1712 struct sta_info *next_hop_sta = rcu_dereference(mpath->next_hop); in mpath_set_pinfo()
1715 memcpy(next_hop, next_hop_sta->sta.addr, ETH_ALEN); in mpath_set_pinfo()
1717 eth_zero_addr(next_hop); in mpath_set_pinfo()
1752 u8 *dst, u8 *next_hop, struct mpath_info *pinfo) in ieee80211_get_mpath() argument
1767 mpath_set_pinfo(mpath, next_hop, pinfo); in ieee80211_get_mpath()
[all …]
Dtx.c2496 struct sta_info *next_hop; in ieee80211_build_hdr() local
2502 next_hop = rcu_dereference(mpath->next_hop); in ieee80211_build_hdr()
2503 if (!next_hop || in ieee80211_build_hdr()
/Linux-v4.19/net/batman-adv/
Dnetwork-coding.c471 nc_path->next_hop); in batadv_nc_purge_paths()
478 nc_path->prev_hop, nc_path->next_hop); in batadv_nc_purge_paths()
496 memcpy(key->next_hop, dst, sizeof(key->next_hop)); in batadv_nc_hash_key_gen()
512 hash = jhash(&nc_path->next_hop, sizeof(nc_path->next_hop), hash); in batadv_nc_hash_choose()
537 if (!batadv_compare_eth(nc_path1->next_hop, nc_path2->next_hop)) in batadv_nc_hash_compare()
994 ether_addr_copy(nc_path->next_hop, dst); in batadv_nc_get_path()
999 nc_path->next_hop); in batadv_nc_get_path()
1307 if (!batadv_compare_eth(nc_path->next_hop, out_nc_node->addr)) in batadv_nc_path_search()
Dtypes.h2011 u8 next_hop[ETH_ALEN]; member
/Linux-v4.19/net/wireless/
Drdev-ops.h226 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 …]
Dtrace.h812 u8 *next_hop),
813 TP_ARGS(wiphy, netdev, dst, next_hop),
818 MAC_ENTRY(next_hop)
824 MAC_ASSIGN(next_hop, next_hop);
828 MAC_PR_ARG(next_hop))
833 u8 *next_hop),
834 TP_ARGS(wiphy, netdev, dst, next_hop)
839 u8 *next_hop),
840 TP_ARGS(wiphy, netdev, dst, next_hop)
845 u8 *next_hop),
[all …]
Dnl80211.c5597 u8 *dst, u8 *next_hop, in nl80211_send_mpath() argument
5609 nla_put(msg, NL80211_ATTR_MPATH_NEXT_HOP, ETH_ALEN, next_hop) || in nl80211_send_mpath()
5656 u8 next_hop[ETH_ALEN]; in nl80211_dump_mpath() local
5677 next_hop, &pinfo); in nl80211_dump_mpath()
5685 wdev->netdev, dst, next_hop, in nl80211_dump_mpath()
5708 u8 next_hop[ETH_ALEN]; in nl80211_get_mpath() local
5723 err = rdev_get_mpath(rdev, dev, dst, next_hop, &pinfo); in nl80211_get_mpath()
5732 dev, dst, next_hop, &pinfo) < 0) { in nl80211_get_mpath()
5745 u8 *next_hop = NULL; in nl80211_set_mpath() local
5754 next_hop = nla_data(info->attrs[NL80211_ATTR_MPATH_NEXT_HOP]); in nl80211_set_mpath()
[all …]
/Linux-v4.19/drivers/thunderbolt/
Dpath.c17 hop->out_port, hop->next_hop, in tb_dump_hop()
176 hop.next_hop = path->hops[i].next_hop_index; in tb_path_activate()
Dtb_regs.h216 u32 next_hop:11; /* member
/Linux-v4.19/drivers/s390/net/
Dqeth_l3_main.c1327 tg_addr, &hdr->hdr.l3.next_hop.rx.src_mac, in qeth_l3_rebuild_skb()
1342 hdr->hdr.l3.next_hop.rx.vlan_id; in qeth_l3_rebuild_skb()
2019 memcpy(hdr->hdr.l3.next_hop.ipv6_addr, daddr, 16); in qeth_l3_fill_af_iucv_hdr()
2076 *((__be32 *) &hdr->hdr.l3.next_hop.ipv4.addr) = (rt) ? in qeth_l3_fill_header()
2082 const struct in6_addr *next_hop; in qeth_l3_fill_header() local
2085 next_hop = &rt->rt6i_gateway; in qeth_l3_fill_header()
2087 next_hop = &ipv6_hdr(skb)->daddr; in qeth_l3_fill_header()
2088 memcpy(hdr->hdr.l3.next_hop.ipv6_addr, next_hop, 16); in qeth_l3_fill_header()
Dqeth_core.h316 } next_hop; member
/Linux-v4.19/include/net/
Dcfg80211.h3184 const u8 *dst, const u8 *next_hop);
3188 const u8 *dst, const u8 *next_hop);
3190 u8 *dst, u8 *next_hop, struct mpath_info *pinfo);
3192 int idx, u8 *dst, u8 *next_hop,