Home
last modified time | relevance | path

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

/linux/include/net/
H A Dnexthop.h59 struct nh_info { struct
162 struct nh_info __rcu *nh_info;
289 const struct nh_info *nhi; in nexthop_is_fdb()
291 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_fdb()
356 struct nh_info *nhi = rcu_dereference_rtnl(nhe->nh_info); in nexthop_mpath_fill_node()
370 const struct nh_info *nhi; in nexthop_is_blackhole()
382 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_blackhole()
388 struct nh_info *nh in nexthop_path_fib_result()
60 dev_hashnh_info global() argument
61 nh_parentnh_info global() argument
63 familynh_info global() argument
64 reject_nhnh_info global() argument
65 fdb_nhnh_info global() argument
67 __anonc7a92b1b020anh_info global() argument
160 struct nh_info __rcu *nh_info; global() member
[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 …]