Lines Matching refs:nhi
172 struct nh_info *nhi = rcu_dereference_rtnl(nhe->nh_info); in nexthop_mpath_fill_node() local
173 struct fib_nh_common *nhc = &nhi->fib_nhc; in nexthop_mpath_fill_node()
186 const struct nh_info *nhi; in nexthop_is_blackhole() local
196 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_is_blackhole()
197 return nhi->reject_nh; in nexthop_is_blackhole()
202 struct nh_info *nhi; in nexthop_path_fib_result() local
206 nhi = rcu_dereference(nh->nh_info); in nexthop_path_fib_result()
207 res->nhc = &nhi->fib_nhc; in nexthop_path_fib_result()
214 struct nh_info *nhi; in nexthop_fib_nhc() local
225 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_fib_nhc()
226 return &nhi->fib_nhc; in nexthop_fib_nhc()
264 struct nh_info *nhi; in nexthop_fib6_nh() local
272 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_fib6_nh()
273 if (nhi->family == AF_INET6) in nexthop_fib6_nh()
274 return &nhi->fib6_nh; in nexthop_fib6_nh()
290 struct nh_info *nhi; in nexthop_path_fib6_result() local
294 nhi = rcu_dereference_rtnl(nh->nh_info); in nexthop_path_fib6_result()
295 if (nhi->reject_nh) { in nexthop_path_fib6_result()
300 res->nh = &nhi->fib6_nh; in nexthop_path_fib6_result()