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)
149 void rt6_uncached_list_del(struct rt6_info *rt)
166 struct rt6_info *rt, *safe;
229 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst);
238 struct rt6_info *rt = (struct rt6_info *)dst;
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)
340 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev,
343 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev,
357 struct rt6_info *rt = (struct rt6_info *)dst;
376 struct rt6_info *rt = (struct rt6_info *)dst;
389 static bool __rt6_check_expired(const struct rt6_info *rt)
397 static bool rt6_check_expired(const struct rt6_info *rt)
1062 static void ip6_rt_init_dst_reject(struct rt6_info *rt, u8 fib6_type)
1084 static void ip6_rt_init_dst(struct rt6_info *rt, const struct fib6_result *res)
1113 static void rt6_set_from(struct rt6_info *rt, struct fib6_info *from)
1121 static void ip6_rt_copy_init(struct rt6_info *rt, const struct fib6_result *res)
1160 static bool ip6_hold_safe(struct net *net, struct rt6_info **prt)
1162 struct rt6_info *rt = *prt;
1177 static struct rt6_info *ip6_create_rt_rcu(const struct fib6_result *res)
1182 struct rt6_info *nrt;
1203 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_lookup(struct net *net,
1211 struct rt6_info *rt;
1263 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
1281 return (struct rt6_info *) dst;
1316 static struct rt6_info *ip6_rt_cache_alloc(const struct fib6_result *res,
1322 struct rt6_info *rt;
1358 static struct rt6_info *ip6_rt_pcpu_alloc(const struct fib6_result *res)
1363 struct rt6_info *pcpu_rt;
1385 static bool rt6_is_valid(const struct rt6_info *rt6)
1391 static struct rt6_info *rt6_get_pcpu_route(const struct fib6_result *res)
1393 struct rt6_info *pcpu_rt;
1398 struct rt6_info *prev, **p;
1413 static struct rt6_info *rt6_make_pcpu_route(struct net *net,
1416 struct rt6_info *pcpu_rt, *prev, **p;
1529 struct rt6_info *rt6 = rt6_ex->rt6i;
1564 struct rt6_info *rt6 = rt6_ex->rt6i;
1652 static int rt6_insert_exception(struct rt6_info *nrt,
1786 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res,
1793 struct rt6_info *ret = NULL;
1830 const struct rt6_info *rt)
1868 struct rt6_info *rt;
1884 static int rt6_remove_exception_rt(struct rt6_info *rt)
1914 const struct rt6_info *rt)
1959 static void rt6_update_exception_stamp_rt(struct rt6_info *rt)
1990 struct rt6_info *rt, int mtu)
2024 struct rt6_info *entry = rt6_ex->rt6i;
2057 struct rt6_info *entry = rt6_ex->rt6i;
2078 struct rt6_info *rt = rt6_ex->rt6i;
2201 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table,
2206 struct rt6_info *rt = NULL;
2270 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_input(struct net *net,
2588 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_output(struct net *net,
2636 struct rt6_info *rt6;
2640 rt6 = (struct rt6_info *)dst;
2654 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig;
2702 static struct dst_entry *rt6_check(struct rt6_info *rt,
2718 static struct dst_entry *rt6_dst_from_check(struct rt6_info *rt,
2735 struct rt6_info *rt;
2737 rt = container_of(dst, struct rt6_info, dst);
2765 struct rt6_info *rt = (struct rt6_info *) dst;
2785 struct rt6_info *rt;
2789 rt = (struct rt6_info *) skb_dst(skb);
2809 static void rt6_update_expires(struct rt6_info *rt0, int timeout)
2825 static void rt6_do_update_pmtu(struct rt6_info *rt, u32 mtu)
2834 static bool rt6_cache_allowed_for_pmtu(const struct rt6_info *rt)
2845 struct rt6_info *rt6 = (struct rt6_info *)dst;
2878 struct rt6_info *nrt6;
2991 struct rt6_info **ret)
3005 struct rt6_info *rt_cache;
3022 struct rt6_info **ret;
3039 INDIRECT_CALLABLE_SCOPE struct rt6_info *__ip6_route_redirect(struct net *net,
3046 struct rt6_info *ret = NULL;
3226 struct rt6_info *rt;
3256 struct rt6_info *rt;
3616 fib6_nh->rt6i_pcpu = alloc_percpu_gfp(struct rt6_info *, gfp_flags);
3667 struct rt6_info *pcpu_rt, **ppcpu_rt;
3963 static int __ip6_del_cached_rt(struct rt6_info *rt, struct fib6_config *cfg)
3986 struct rt6_info *rt_cache;
4109 struct rt6_info *rt, *nrt = NULL;
4168 rt = (struct rt6_info *) dst;
5600 struct rt6_info *rt6 = (struct rt6_info *)dst;
6017 struct rt6_info *rt;
6103 rt = container_of(dst, struct rt6_info, dst);
6624 * the loopback reference in rt6_info will not be taken, do it
6681 kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0,