Lines Matching refs:fib6_nh
498 ipv6_stub->fib6_nh_release(&nhi->fib6_nh); in nexthop_free_single()
695 struct fib6_nh *fib6_nh; in nh_fill_node() local
752 fib6_nh = &nhi->fib6_nh; in nh_fill_node()
753 if (fib6_nh->fib_nh_gw_family && in nh_fill_node()
754 nla_put_in6_addr(skb, NHA_GATEWAY, &fib6_nh->fib_nh_gw6)) in nh_fill_node()
813 if (nhi->fib6_nh.fib_nh_gw_family) in nh_nlmsg_size_single()
1121 static bool ipv6_good_nh(const struct fib6_nh *nh) in ipv6_good_nh()
1179 if (ipv6_good_nh(&nhi->fib6_nh)) in nexthop_select_path_hthr()
1226 int (*cb)(struct fib6_nh *nh, void *arg), in nexthop_for_each_fib6_nh()
1241 err = cb(&nhi->fib6_nh, arg); in nexthop_for_each_fib6_nh()
1247 err = cb(&nhi->fib6_nh, arg); in nexthop_for_each_fib6_nh()
1930 ipv6_stub->fib6_nh_release_dsts(&nhi->fib6_nh); in nh_rt_cache_flush()
2550 struct fib6_nh *fib6_nh = &nhi->fib6_nh; in nh_create_ipv6() local
2567 err = ipv6_stub->fib6_nh_init(net, fib6_nh, &fib6_cfg, GFP_KERNEL, in nh_create_ipv6()
2573 ipv6_stub->fib6_nh_release(fib6_nh); in nh_create_ipv6()
2575 nh->nh_flags = fib6_nh->fib_nh_flags; in nh_create_ipv6()