Lines Matching refs:rt6_info

109 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res,
132 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add()
143 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del()
166 struct rt6_info *rt; in rt6_uncached_list_flush_dev()
219 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()
367 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_destroy()
387 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_ifdown()
401 static bool __rt6_check_expired(const struct rt6_info *rt) in __rt6_check_expired()
409 static bool rt6_check_expired(const struct rt6_info *rt) in rt6_check_expired()
1069 static void ip6_rt_init_dst_reject(struct rt6_info *rt, u8 fib6_type) in ip6_rt_init_dst_reject()
1091 static void ip6_rt_init_dst(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_init_dst()
1120 static void rt6_set_from(struct rt6_info *rt, struct fib6_info *from) in rt6_set_from()
1128 static void ip6_rt_copy_init(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_copy_init()
1167 static bool ip6_hold_safe(struct net *net, struct rt6_info **prt) in ip6_hold_safe()
1169 struct rt6_info *rt = *prt; in ip6_hold_safe()
1184 static struct rt6_info *ip6_create_rt_rcu(const struct fib6_result *res) in ip6_create_rt_rcu()
1189 struct rt6_info *nrt; in ip6_create_rt_rcu()
1210 static struct rt6_info *ip6_pol_route_lookup(struct net *net, in ip6_pol_route_lookup()
1218 struct rt6_info *rt; in ip6_pol_route_lookup()
1273 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, in rt6_lookup()
1291 return (struct rt6_info *) dst; in rt6_lookup()
1326 static struct rt6_info *ip6_rt_cache_alloc(const struct fib6_result *res, in ip6_rt_cache_alloc()
1332 struct rt6_info *rt; in ip6_rt_cache_alloc()
1369 static struct rt6_info *ip6_rt_pcpu_alloc(const struct fib6_result *res) in ip6_rt_pcpu_alloc()
1374 struct rt6_info *pcpu_rt; in ip6_rt_pcpu_alloc()
1393 static struct rt6_info *rt6_get_pcpu_route(const struct fib6_result *res) in rt6_get_pcpu_route()
1395 struct rt6_info *pcpu_rt; in rt6_get_pcpu_route()
1402 static struct rt6_info *rt6_make_pcpu_route(struct net *net, in rt6_make_pcpu_route()
1405 struct rt6_info *pcpu_rt, *prev, **p; in rt6_make_pcpu_route()
1511 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_spinlock()
1546 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_rcu()
1634 static int rt6_insert_exception(struct rt6_info *nrt, in rt6_insert_exception()
1765 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res, in rt6_find_cached_rt()
1772 struct rt6_info *ret = NULL; in rt6_find_cached_rt()
1809 const struct rt6_info *rt) in fib6_nh_remove_exception()
1847 struct rt6_info *rt;
1863 static int rt6_remove_exception_rt(struct rt6_info *rt) in rt6_remove_exception_rt()
1893 const struct rt6_info *rt) in fib6_nh_update_exception()
1938 static void rt6_update_exception_stamp_rt(struct rt6_info *rt) in rt6_update_exception_stamp_rt()
1969 struct rt6_info *rt, int mtu) in rt6_mtu_change_route_allowed()
2003 struct rt6_info *entry = rt6_ex->rt6i; in rt6_exceptions_update_pmtu()
2036 struct rt6_info *entry = rt6_ex->rt6i; in fib6_nh_exceptions_clean_tohost()
2057 struct rt6_info *rt = rt6_ex->rt6i; in rt6_age_examine_exception()
2186 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, in ip6_pol_route()
2191 struct rt6_info *rt = NULL; in ip6_pol_route()
2256 static struct rt6_info *ip6_pol_route_input(struct net *net, in ip6_pol_route_input()
2450 static struct rt6_info *ip6_pol_route_output(struct net *net, in ip6_pol_route_output()
2498 struct rt6_info *rt6; in ip6_route_output_flags()
2502 rt6 = (struct rt6_info *)dst; in ip6_route_output_flags()
2516 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route()
2564 static struct dst_entry *rt6_check(struct rt6_info *rt, in rt6_check()
2580 static struct dst_entry *rt6_dst_from_check(struct rt6_info *rt, in rt6_dst_from_check()
2596 struct rt6_info *rt; in ip6_dst_check()
2598 rt = container_of(dst, struct rt6_info, dst); in ip6_dst_check()
2622 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_negative_advice()
2642 struct rt6_info *rt; in ip6_link_failure()
2646 rt = (struct rt6_info *) skb_dst(skb); in ip6_link_failure()
2666 static void rt6_update_expires(struct rt6_info *rt0, int timeout) in rt6_update_expires()
2682 static void rt6_do_update_pmtu(struct rt6_info *rt, u32 mtu) in rt6_do_update_pmtu()
2691 static bool rt6_cache_allowed_for_pmtu(const struct rt6_info *rt) in rt6_cache_allowed_for_pmtu()
2701 struct rt6_info *rt6 = (struct rt6_info *)dst; in __ip6_rt_update_pmtu()
2728 struct rt6_info *nrt6; in __ip6_rt_update_pmtu()
2838 struct rt6_info **ret) in ip6_redirect_nh_match()
2852 struct rt6_info *rt_cache; in ip6_redirect_nh_match()
2869 struct rt6_info **ret;
2886 static struct rt6_info *__ip6_route_redirect(struct net *net, in __ip6_route_redirect()
2893 struct rt6_info *ret = NULL; in __ip6_route_redirect()
3096 struct rt6_info *rt; in ip6_mtu_from_fib6()
3126 struct rt6_info *rt; in icmp6_dst_alloc()
3479 fib6_nh->rt6i_pcpu = alloc_percpu_gfp(struct rt6_info *, gfp_flags); in fib6_nh_init()
3521 struct rt6_info **ppcpu_rt; in fib6_nh_release()
3522 struct rt6_info *pcpu_rt; in fib6_nh_release()
3798 static int __ip6_del_cached_rt(struct rt6_info *rt, struct fib6_config *cfg) in __ip6_del_cached_rt()
3821 struct rt6_info *rt_cache; in ip6_del_cached_rt()
3944 struct rt6_info *rt, *nrt = NULL; in rt6_do_redirect()
4003 rt = (struct rt6_info *) dst; in rt6_do_redirect()
5366 struct rt6_info *rt6 = (struct rt6_info *)dst; in rt6_fill_node()
5768 struct rt6_info *rt; in inet6_rtm_getroute()
5854 rt = container_of(dst, struct rt6_info, dst); in inet6_rtm_getroute()
6330 kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0, in ip6_route_init()