Home
last modified time | relevance | path

Searched refs:nh_info (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/include/net/
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 *nhi; in nexthop_path_fib_result()
360 nhi = rcu_dereference(nh->nh_info); in nexthop_path_fib_result()
368 struct nh_info *nhi; in nexthop_fib_nhc()
[all …]
/Linux-v6.1/net/ipv4/
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->is_fdb = nhi->fdb_nh; in __nh_notifier_single_info_init()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c30 fib6_nh = &nh->nh_info->fib6_nh; in dump_ipv6_route()