Lines Matching refs:rt6_info
112 static struct rt6_info *rt6_find_cached_rt(struct fib6_info *rt,
135 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add()
146 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del()
169 struct rt6_info *rt; in rt6_uncached_list_flush_dev()
220 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst); in ip6_dst_neigh_lookup()
228 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_confirm_neigh()
301 static const struct rt6_info ip6_null_entry_template = {
315 static const struct rt6_info ip6_prohibit_entry_template = {
327 static const struct rt6_info ip6_blk_hole_entry_template = {
341 static void rt6_info_init(struct rt6_info *rt) in rt6_info_init()
350 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev, in ip6_dst_alloc()
353 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev, in ip6_dst_alloc()
368 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_destroy()
393 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_ifdown()
407 static bool __rt6_check_expired(const struct rt6_info *rt) in __rt6_check_expired()
415 static bool rt6_check_expired(const struct rt6_info *rt) in rt6_check_expired()
928 static void ip6_rt_init_dst_reject(struct rt6_info *rt, struct fib6_info *ort) in ip6_rt_init_dst_reject()
950 static void ip6_rt_init_dst(struct rt6_info *rt, struct fib6_info *ort) in ip6_rt_init_dst()
977 static void rt6_set_from(struct rt6_info *rt, struct fib6_info *from) in rt6_set_from()
989 static void ip6_rt_copy_init(struct rt6_info *rt, struct fib6_info *ort) in ip6_rt_copy_init()
1024 static bool ip6_hold_safe(struct net *net, struct rt6_info **prt, in ip6_hold_safe()
1027 struct rt6_info *rt = *prt; in ip6_hold_safe()
1042 static struct rt6_info *ip6_create_rt_rcu(struct fib6_info *rt) in ip6_create_rt_rcu()
1046 struct rt6_info *nrt; in ip6_create_rt_rcu()
1060 static struct rt6_info *ip6_pol_route_lookup(struct net *net, in ip6_pol_route_lookup()
1068 struct rt6_info *rt; in ip6_pol_route_lookup()
1123 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, in rt6_lookup()
1141 return (struct rt6_info *) dst; in rt6_lookup()
1176 static struct rt6_info *ip6_rt_cache_alloc(struct fib6_info *ort, in ip6_rt_cache_alloc()
1181 struct rt6_info *rt; in ip6_rt_cache_alloc()
1218 static struct rt6_info *ip6_rt_pcpu_alloc(struct fib6_info *rt) in ip6_rt_pcpu_alloc()
1222 struct rt6_info *pcpu_rt; in ip6_rt_pcpu_alloc()
1241 static struct rt6_info *rt6_get_pcpu_route(struct fib6_info *rt) in rt6_get_pcpu_route()
1243 struct rt6_info *pcpu_rt, **p; in rt6_get_pcpu_route()
1254 static struct rt6_info *rt6_make_pcpu_route(struct net *net, in rt6_make_pcpu_route()
1257 struct rt6_info *pcpu_rt, *prev, **p; in rt6_make_pcpu_route()
1350 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_spinlock()
1385 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_rcu()
1419 static int rt6_insert_exception(struct rt6_info *nrt, in rt6_insert_exception()
1534 static struct rt6_info *rt6_find_cached_rt(struct fib6_info *rt, in rt6_find_cached_rt()
1541 struct rt6_info *res = NULL; in rt6_find_cached_rt()
1564 static int rt6_remove_exception_rt(struct rt6_info *rt) in rt6_remove_exception_rt()
1610 static void rt6_update_exception_stamp_rt(struct rt6_info *rt) in rt6_update_exception_stamp_rt()
1663 struct rt6_info *rt, int mtu) in rt6_mtu_change_route_allowed()
1699 struct rt6_info *entry = rt6_ex->rt6i; in rt6_exceptions_update_pmtu()
1734 struct rt6_info *entry = rt6_ex->rt6i; in rt6_exceptions_clean_tohost()
1755 struct rt6_info *rt = rt6_ex->rt6i; in rt6_age_examine_exception()
1857 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, in ip6_pol_route()
1862 struct rt6_info *rt; in ip6_pol_route()
1898 struct rt6_info *uncached_rt; in ip6_pol_route()
1919 struct rt6_info *pcpu_rt; in ip6_pol_route()
1935 static struct rt6_info *ip6_pol_route_input(struct net *net, in ip6_pol_route_input()
2092 static struct rt6_info *ip6_pol_route_output(struct net *net, in ip6_pol_route_output()
2132 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route()
2180 static struct dst_entry *rt6_check(struct rt6_info *rt, in rt6_check()
2196 static struct dst_entry *rt6_dst_from_check(struct rt6_info *rt, in rt6_dst_from_check()
2212 struct rt6_info *rt; in ip6_dst_check()
2214 rt = container_of(dst, struct rt6_info, dst); in ip6_dst_check()
2238 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_negative_advice()
2258 struct rt6_info *rt; in ip6_link_failure()
2262 rt = (struct rt6_info *) skb_dst(skb); in ip6_link_failure()
2283 static void rt6_update_expires(struct rt6_info *rt0, int timeout) in rt6_update_expires()
2299 static void rt6_do_update_pmtu(struct rt6_info *rt, u32 mtu) in rt6_do_update_pmtu()
2308 static bool rt6_cache_allowed_for_pmtu(const struct rt6_info *rt) in rt6_cache_allowed_for_pmtu()
2324 struct rt6_info *rt6 = (struct rt6_info *)dst; in __ip6_rt_update_pmtu()
2351 struct rt6_info *nrt6; in __ip6_rt_update_pmtu()
2435 static struct rt6_info *__ip6_route_redirect(struct net *net, in __ip6_route_redirect()
2442 struct rt6_info *ret = NULL, *rt_cache; in __ip6_route_redirect()
2677 struct rt6_info *rt; in icmp6_dst_alloc()
2755 static struct rt6_info *ip6_nh_lookup_table(struct net *net, in ip6_nh_lookup_table()
2766 struct rt6_info *rt; in ip6_nh_lookup_table()
2795 struct rt6_info *grt; in ip6_route_check_nh_onlink()
2821 struct rt6_info *grt = NULL; in ip6_route_check_nh()
3257 static int ip6_del_cached_rt(struct rt6_info *rt, struct fib6_config *cfg) in ip6_del_cached_rt()
3276 struct rt6_info *rt_cache; in ip6_route_del()
3341 struct rt6_info *rt, *nrt = NULL; in rt6_do_redirect()
3400 rt = (struct rt6_info *) dst; in rt6_do_redirect()
4673 struct rt6_info *rt6 = (struct rt6_info *)dst; in rt6_fill_node()
4850 struct rt6_info *rt; in inet6_rtm_getroute()
4937 rt = container_of(dst, struct rt6_info, dst); in inet6_rtm_getroute()
5359 kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0, in ip6_route_init()