Home
last modified time | relevance | path

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

/linux/include/net/
H A Dnexthop.h59 struct nh_info { struct
160 struct nh_info __rcu *nh_info; member
287 const struct nh_info *nhi; in nexthop_is_fdb()
289 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_fdb()
354 struct nh_info *nhi = rcu_dereference_rtnl(nhe->nh_info); in nexthop_mpath_fill_node()
368 const struct nh_info *nhi; in nexthop_is_blackhole()
380 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_blackhole()
386 struct nh_info *nhi; in nexthop_path_fib_result()
390 nhi = rcu_dereference(nh->nh_info); in nexthop_path_fib_result()
398 struct nh_info *nhi; in nexthop_fib_nhc()
[all …]
/linux/net/ipv4/
H A Dnexthop.c97 __nh_notifier_single_info_init(struct nh_notifier_single_info *nh_info, in __nh_notifier_single_info_init() argument
98 const struct nh_info *nhi) in __nh_notifier_single_info_init()
100 nh_info->dev = nhi->fib_nhc.nhc_dev; in __nh_notifier_single_info_init()
101 nh_info->gw_family = nhi->fib_nhc.nhc_gw_family; in __nh_notifier_single_info_init()
102 if (nh_info->gw_family == AF_INET) in __nh_notifier_single_info_init()
103 nh_info->ipv4 = nhi->fib_nhc.nhc_gw.ipv4; in __nh_notifier_single_info_init()
104 else if (nh_info->gw_family == AF_INET6) in __nh_notifier_single_info_init()
105 nh_info->ipv6 = nhi->fib_nhc.nhc_gw.ipv6; in __nh_notifier_single_info_init()
107 nh_info->id = nhi->nh_parent->id; in __nh_notifier_single_info_init()
108 nh_info->is_reject = nhi->reject_nh; in __nh_notifier_single_info_init()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c30 fib6_nh = &nh->nh_info->fib6_nh; in dump_ipv6_route()