Lines Matching refs:rt6_info

114 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res,
137 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add()
148 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del()
171 struct rt6_info *rt; in rt6_uncached_list_flush_dev()
224 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst); in ip6_dst_neigh_lookup()
233 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_confirm_neigh()
289 static const struct rt6_info ip6_null_entry_template = {
303 static const struct rt6_info ip6_prohibit_entry_template = {
315 static const struct rt6_info ip6_blk_hole_entry_template = {
329 static void rt6_info_init(struct rt6_info *rt) in rt6_info_init()
338 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev, in ip6_dst_alloc()
341 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev, in ip6_dst_alloc()
355 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_destroy()
375 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_ifdown()
389 static bool __rt6_check_expired(const struct rt6_info *rt) in __rt6_check_expired()
397 static bool rt6_check_expired(const struct rt6_info *rt) in rt6_check_expired()
1058 static void ip6_rt_init_dst_reject(struct rt6_info *rt, u8 fib6_type) in ip6_rt_init_dst_reject()
1080 static void ip6_rt_init_dst(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_init_dst()
1109 static void rt6_set_from(struct rt6_info *rt, struct fib6_info *from) in rt6_set_from()
1117 static void ip6_rt_copy_init(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_copy_init()
1156 static bool ip6_hold_safe(struct net *net, struct rt6_info **prt) in ip6_hold_safe()
1158 struct rt6_info *rt = *prt; in ip6_hold_safe()
1173 static struct rt6_info *ip6_create_rt_rcu(const struct fib6_result *res) in ip6_create_rt_rcu()
1178 struct rt6_info *nrt; in ip6_create_rt_rcu()
1199 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_lookup(struct net *net, in ip6_pol_route_lookup()
1207 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()
2203 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, in ip6_pol_route()
2208 struct rt6_info *rt = NULL; in ip6_pol_route()
2273 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_input(struct net *net, in ip6_pol_route_input()
2591 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_output(struct net *net, in ip6_pol_route_output()
2639 struct rt6_info *rt6; in ip6_route_output_flags()
2643 rt6 = (struct rt6_info *)dst; in ip6_route_output_flags()
2657 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route()
2705 static struct dst_entry *rt6_check(struct rt6_info *rt, in rt6_check()
2721 static struct dst_entry *rt6_dst_from_check(struct rt6_info *rt, in rt6_dst_from_check()
2738 struct rt6_info *rt; in ip6_dst_check()
2740 rt = container_of(dst, struct rt6_info, dst); in ip6_dst_check()
2768 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_negative_advice()
2788 struct rt6_info *rt; in ip6_link_failure()
2792 rt = (struct rt6_info *) skb_dst(skb); in ip6_link_failure()
2812 static void rt6_update_expires(struct rt6_info *rt0, int timeout) in rt6_update_expires()
2828 static void rt6_do_update_pmtu(struct rt6_info *rt, u32 mtu) in rt6_do_update_pmtu()
2837 static bool rt6_cache_allowed_for_pmtu(const struct rt6_info *rt) in rt6_cache_allowed_for_pmtu()
2848 struct rt6_info *rt6 = (struct rt6_info *)dst; in __ip6_rt_update_pmtu()
2881 struct rt6_info *nrt6; in __ip6_rt_update_pmtu()
2993 struct rt6_info **ret) in ip6_redirect_nh_match()
3007 struct rt6_info *rt_cache; in ip6_redirect_nh_match()
3024 struct rt6_info **ret;
3041 INDIRECT_CALLABLE_SCOPE struct rt6_info *__ip6_route_redirect(struct net *net, in __ip6_route_redirect()
3048 struct rt6_info *ret = NULL; in __ip6_route_redirect()
3234 struct rt6_info *rt; in ip6_mtu_from_fib6()
3264 struct rt6_info *rt; in icmp6_dst_alloc()
3624 fib6_nh->rt6i_pcpu = alloc_percpu_gfp(struct rt6_info *, gfp_flags); in fib6_nh_init()
3665 struct rt6_info **ppcpu_rt; in fib6_nh_release()
3666 struct rt6_info *pcpu_rt; in fib6_nh_release()
3691 struct rt6_info *pcpu_rt, **ppcpu_rt; in fib6_nh_release_dsts()
3987 static int __ip6_del_cached_rt(struct rt6_info *rt, struct fib6_config *cfg) in __ip6_del_cached_rt()
4010 struct rt6_info *rt_cache; in ip6_del_cached_rt()
4133 struct rt6_info *rt, *nrt = NULL; in rt6_do_redirect()
4192 rt = (struct rt6_info *) dst; in rt6_do_redirect()
5615 struct rt6_info *rt6 = (struct rt6_info *)dst; in rt6_fill_node()
6032 struct rt6_info *rt; in inet6_rtm_getroute()
6118 rt = container_of(dst, struct rt6_info, dst); in inet6_rtm_getroute()
6680 kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0, in ip6_route_init()