Home
last modified time | relevance | path

Searched refs:nh_info (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/include/net/
H A Dnexthop.h51 struct nh_info { struct
102 struct nh_info __rcu *nh_info; member
143 const struct nh_info *nhi; in nexthop_is_fdb()
145 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_fdb()
210 struct nh_info *nhi = rcu_dereference_rtnl(nhe->nh_info); in nexthop_mpath_fill_node()
224 const struct nh_info *nhi; in nexthop_is_blackhole()
236 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_blackhole()
242 struct nh_info *nh in nexthop_path_fib_result()
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dnexthop.h57 struct nh_info { struct
150 struct nh_info __rcu *nh_info; member
257 const struct nh_info *nhi; in nexthop_is_fdb()
259 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_fdb()
324 struct nh_info *nhi = rcu_dereference_rtnl(nhe->nh_info); in nexthop_mpath_fill_node()
338 const struct nh_info *nhi; in nexthop_is_blackhole()
350 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_blackhole()
356 struct nh_info *nh in nexthop_path_fib_result()
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dnexthop.c59 static void nexthop_devhash_add(struct net *net, struct nh_info *nhi) in nexthop_devhash_add()
93 struct nh_info *nhi; in nexthop_free_single()
95 nhi = rcu_dereference_raw(nh->nh_info); in nexthop_free_single()
231 struct nh_info *nhi; in nh_fill_node()
258 nhi = rtnl_dereference(nh->nh_info); in nh_fill_node()
317 struct nh_info *nhi = rtnl_dereference(nh->nh_info); in nh_nlmsg_size_single()
403 struct nh_info *nhi = rtnl_dereference(nh->nh_info); in valid_group_nh()
419 struct nh_info *nh in nh_check_attr_fdb_group()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dnexthop.c85 __nh_notifier_single_info_init(struct nh_notifier_single_info *nh_info, in __nh_notifier_single_info_init() argument
86 const struct nh_info *nhi) in __nh_notifier_single_info_init()
88 nh_info->dev = nhi->fib_nhc.nhc_dev; in __nh_notifier_single_info_init()
89 nh_info->gw_family = nhi->fib_nhc.nhc_gw_family; in __nh_notifier_single_info_init()
90 if (nh_info->gw_family == AF_INET) in __nh_notifier_single_info_init()
91 nh_info->ipv4 = nhi->fib_nhc.nhc_gw.ipv4; in __nh_notifier_single_info_init()
92 else if (nh_info->gw_family == AF_INET6) in __nh_notifier_single_info_init()
93 nh_info->ipv6 = nhi->fib_nhc.nhc_gw.ipv6; in __nh_notifier_single_info_init()
95 nh_info->is_reject = nhi->reject_nh; in __nh_notifier_single_info_init()
96 nh_info in __nh_notifier_single_info_init()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c31 fib6_nh = &nh->nh_info->fib6_nh; in dump_ipv6_route()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c30 fib6_nh = &nh->nh_info->fib6_nh; in dump_ipv6_route()

Completed in 7 milliseconds