Lines Matching refs:rt6_info

114 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res,
138 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add()
149 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del()
166 struct rt6_info *rt, *safe; in rt6_uncached_list_flush_dev()
229 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst); in ip6_dst_neigh_lookup()
238 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_confirm_neigh()
294 static const struct rt6_info ip6_null_entry_template = {
308 static const struct rt6_info ip6_prohibit_entry_template = {
320 static const struct rt6_info ip6_blk_hole_entry_template = {
334 static void rt6_info_init(struct rt6_info *rt) in rt6_info_init()
341 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev, in ip6_dst_alloc()
344 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev, in ip6_dst_alloc()
358 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_destroy()
378 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_ifdown()
391 static bool __rt6_check_expired(const struct rt6_info *rt) in __rt6_check_expired()
399 static bool rt6_check_expired(const struct rt6_info *rt) in rt6_check_expired()
1061 static void ip6_rt_init_dst_reject(struct rt6_info *rt, u8 fib6_type) in ip6_rt_init_dst_reject()
1083 static void ip6_rt_init_dst(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_init_dst()
1112 static void rt6_set_from(struct rt6_info *rt, struct fib6_info *from) in rt6_set_from()
1120 static void ip6_rt_copy_init(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_copy_init()
1159 static bool ip6_hold_safe(struct net *net, struct rt6_info **prt) in ip6_hold_safe()
1161 struct rt6_info *rt = *prt; in ip6_hold_safe()
1176 static struct rt6_info *ip6_create_rt_rcu(const struct fib6_result *res) in ip6_create_rt_rcu()
1181 struct rt6_info *nrt; in ip6_create_rt_rcu()
1202 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_lookup(struct net *net, in ip6_pol_route_lookup()
1210 struct rt6_info *rt; in ip6_pol_route_lookup()
1262 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, in rt6_lookup()
1280 return (struct rt6_info *) dst; in rt6_lookup()
1315 static struct rt6_info *ip6_rt_cache_alloc(const struct fib6_result *res, in ip6_rt_cache_alloc()
1321 struct rt6_info *rt; in ip6_rt_cache_alloc()
1357 static struct rt6_info *ip6_rt_pcpu_alloc(const struct fib6_result *res) in ip6_rt_pcpu_alloc()
1362 struct rt6_info *pcpu_rt; in ip6_rt_pcpu_alloc()
1384 static bool rt6_is_valid(const struct rt6_info *rt6) in rt6_is_valid()
1390 static struct rt6_info *rt6_get_pcpu_route(const struct fib6_result *res) in rt6_get_pcpu_route()
1392 struct rt6_info *pcpu_rt; in rt6_get_pcpu_route()
1397 struct rt6_info *prev, **p; in rt6_get_pcpu_route()
1412 static struct rt6_info *rt6_make_pcpu_route(struct net *net, in rt6_make_pcpu_route()
1415 struct rt6_info *pcpu_rt, *prev, **p; in rt6_make_pcpu_route()
1528 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_spinlock()
1563 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_rcu()
1651 static int rt6_insert_exception(struct rt6_info *nrt, in rt6_insert_exception()
1785 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res, in rt6_find_cached_rt()
1792 struct rt6_info *ret = NULL; in rt6_find_cached_rt()
1829 const struct rt6_info *rt) in fib6_nh_remove_exception()
1867 struct rt6_info *rt;
1883 static int rt6_remove_exception_rt(struct rt6_info *rt) in rt6_remove_exception_rt()
1913 const struct rt6_info *rt) in fib6_nh_update_exception()
1958 static void rt6_update_exception_stamp_rt(struct rt6_info *rt) in rt6_update_exception_stamp_rt()
1989 struct rt6_info *rt, int mtu) in rt6_mtu_change_route_allowed()
2023 struct rt6_info *entry = rt6_ex->rt6i; in rt6_exceptions_update_pmtu()
2056 struct rt6_info *entry = rt6_ex->rt6i; in fib6_nh_exceptions_clean_tohost()
2077 struct rt6_info *rt = rt6_ex->rt6i; in rt6_age_examine_exception()
2200 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, in ip6_pol_route()
2205 struct rt6_info *rt = NULL; in ip6_pol_route()
2269 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_input(struct net *net, in ip6_pol_route_input()
2587 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_output(struct net *net, in ip6_pol_route_output()
2635 struct rt6_info *rt6; in ip6_route_output_flags()
2639 rt6 = (struct rt6_info *)dst; in ip6_route_output_flags()
2653 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route()
2701 static struct dst_entry *rt6_check(struct rt6_info *rt, in rt6_check()
2717 static struct dst_entry *rt6_dst_from_check(struct rt6_info *rt, in rt6_dst_from_check()
2734 struct rt6_info *rt; in ip6_dst_check()
2736 rt = container_of(dst, struct rt6_info, dst); in ip6_dst_check()
2764 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_negative_advice()
2784 struct rt6_info *rt; in ip6_link_failure()
2788 rt = (struct rt6_info *) skb_dst(skb); in ip6_link_failure()
2808 static void rt6_update_expires(struct rt6_info *rt0, int timeout) in rt6_update_expires()
2824 static void rt6_do_update_pmtu(struct rt6_info *rt, u32 mtu) in rt6_do_update_pmtu()
2833 static bool rt6_cache_allowed_for_pmtu(const struct rt6_info *rt) in rt6_cache_allowed_for_pmtu()
2844 struct rt6_info *rt6 = (struct rt6_info *)dst; in __ip6_rt_update_pmtu()
2877 struct rt6_info *nrt6; in __ip6_rt_update_pmtu()
2989 struct rt6_info **ret) in ip6_redirect_nh_match()
3003 struct rt6_info *rt_cache; in ip6_redirect_nh_match()
3020 struct rt6_info **ret;
3037 INDIRECT_CALLABLE_SCOPE struct rt6_info *__ip6_route_redirect(struct net *net, in __ip6_route_redirect()
3044 struct rt6_info *ret = NULL; in __ip6_route_redirect()
3224 struct rt6_info *rt; in ip6_mtu_from_fib6()
3254 struct rt6_info *rt; in icmp6_dst_alloc()
3607 fib6_nh->rt6i_pcpu = alloc_percpu_gfp(struct rt6_info *, gfp_flags); in fib6_nh_init()
3660 struct rt6_info *pcpu_rt, **ppcpu_rt; in fib6_nh_release_dsts()
3956 static int __ip6_del_cached_rt(struct rt6_info *rt, struct fib6_config *cfg) in __ip6_del_cached_rt()
3979 struct rt6_info *rt_cache; in ip6_del_cached_rt()
4102 struct rt6_info *rt, *nrt = NULL; in rt6_do_redirect()
4161 rt = (struct rt6_info *) dst; in rt6_do_redirect()
5602 struct rt6_info *rt6 = (struct rt6_info *)dst; in rt6_fill_node()
6019 struct rt6_info *rt; in inet6_rtm_getroute()
6105 rt = container_of(dst, struct rt6_info, dst); in inet6_rtm_getroute()
6674 kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0, in ip6_route_init()