Lines Matching refs:rt6_info

113 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res,
136 void rt6_uncached_list_add(struct rt6_info *rt)
147 void rt6_uncached_list_del(struct rt6_info *rt)
170 struct rt6_info *rt;
223 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst);
232 struct rt6_info *rt = (struct rt6_info *)dst;
288 static const struct rt6_info ip6_null_entry_template = {
302 static const struct rt6_info ip6_prohibit_entry_template = {
314 static const struct rt6_info ip6_blk_hole_entry_template = {
328 static void rt6_info_init(struct rt6_info *rt)
337 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev,
340 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev,
354 struct rt6_info *rt = (struct rt6_info *)dst;
374 struct rt6_info *rt = (struct rt6_info *)dst;
388 static bool __rt6_check_expired(const struct rt6_info *rt)
396 static bool rt6_check_expired(const struct rt6_info *rt)
1059 static void ip6_rt_init_dst_reject(struct rt6_info *rt, u8 fib6_type)
1081 static void ip6_rt_init_dst(struct rt6_info *rt, const struct fib6_result *res)
1110 static void rt6_set_from(struct rt6_info *rt, struct fib6_info *from)
1118 static void ip6_rt_copy_init(struct rt6_info *rt, const struct fib6_result *res)
1157 static bool ip6_hold_safe(struct net *net, struct rt6_info **prt)
1159 struct rt6_info *rt = *prt;
1174 static struct rt6_info *ip6_create_rt_rcu(const struct fib6_result *res)
1179 struct rt6_info *nrt;
1200 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_lookup(struct net *net,
1208 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;
1414 static struct rt6_info *rt6_make_pcpu_route(struct net *net,
1417 struct rt6_info *pcpu_rt, *prev, **p;
1530 struct rt6_info *rt6 = rt6_ex->rt6i;
1565 struct rt6_info *rt6 = rt6_ex->rt6i;
1653 static int rt6_insert_exception(struct rt6_info *nrt,
1787 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res,
1794 struct rt6_info *ret = NULL;
1831 const struct rt6_info *rt)
1869 struct rt6_info *rt;
1885 static int rt6_remove_exception_rt(struct rt6_info *rt)
1915 const struct rt6_info *rt)
1960 static void rt6_update_exception_stamp_rt(struct rt6_info *rt)
1991 struct rt6_info *rt, int mtu)
2025 struct rt6_info *entry = rt6_ex->rt6i;
2058 struct rt6_info *entry = rt6_ex->rt6i;
2079 struct rt6_info *rt = rt6_ex->rt6i;
2208 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table,
2213 struct rt6_info *rt = NULL;
2278 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_input(struct net *net,
2469 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_output(struct net *net,
2517 struct rt6_info *rt6;
2521 rt6 = (struct rt6_info *)dst;
2535 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig;
2583 static struct dst_entry *rt6_check(struct rt6_info *rt,
2599 static struct dst_entry *rt6_dst_from_check(struct rt6_info *rt,
2615 struct rt6_info *rt;
2617 rt = container_of(dst, struct rt6_info, dst);
2645 struct rt6_info *rt = (struct rt6_info *) dst;
2664 struct rt6_info *rt;
2668 rt = (struct rt6_info *) skb_dst(skb);
2688 static void rt6_update_expires(struct rt6_info *rt0, int timeout)
2704 static void rt6_do_update_pmtu(struct rt6_info *rt, u32 mtu)
2713 static bool rt6_cache_allowed_for_pmtu(const struct rt6_info *rt)
2724 struct rt6_info *rt6 = (struct rt6_info *)dst;
2757 struct rt6_info *nrt6;
2869 struct rt6_info **ret)
2883 struct rt6_info *rt_cache;
2900 struct rt6_info **ret;
2917 INDIRECT_CALLABLE_SCOPE struct rt6_info *__ip6_route_redirect(struct net *net,
2924 struct rt6_info *ret = NULL;
3127 struct rt6_info *rt;
3157 struct rt6_info *rt;
3515 fib6_nh->rt6i_pcpu = alloc_percpu_gfp(struct rt6_info *, gfp_flags);
3557 struct rt6_info **ppcpu_rt;
3558 struct rt6_info *pcpu_rt;
3583 struct rt6_info *pcpu_rt, **ppcpu_rt;
3879 static int __ip6_del_cached_rt(struct rt6_info *rt, struct fib6_config *cfg)
3902 struct rt6_info *rt_cache;
4025 struct rt6_info *rt, *nrt = NULL;
4084 rt = (struct rt6_info *) dst;
5507 struct rt6_info *rt6 = (struct rt6_info *)dst;
5918 struct rt6_info *rt;
6004 rt = container_of(dst, struct rt6_info, dst);
6468 * the loopback reference in rt6_info will not be taken, do it
6525 kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0,