Lines Matching refs:rt6_info

112 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res,
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()
222 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst); in ip6_dst_neigh_lookup()
231 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_confirm_neigh()
287 static const struct rt6_info ip6_null_entry_template = {
301 static const struct rt6_info ip6_prohibit_entry_template = {
313 static const struct rt6_info ip6_blk_hole_entry_template = {
327 static void rt6_info_init(struct rt6_info *rt) in rt6_info_init()
336 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev, in ip6_dst_alloc()
339 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev, in ip6_dst_alloc()
353 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_destroy()
373 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_ifdown()
387 static bool __rt6_check_expired(const struct rt6_info *rt) in __rt6_check_expired()
395 static bool rt6_check_expired(const struct rt6_info *rt) in rt6_check_expired()
1056 static void ip6_rt_init_dst_reject(struct rt6_info *rt, u8 fib6_type) in ip6_rt_init_dst_reject()
1078 static void ip6_rt_init_dst(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_init_dst()
1107 static void rt6_set_from(struct rt6_info *rt, struct fib6_info *from) in rt6_set_from()
1115 static void ip6_rt_copy_init(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_copy_init()
1154 static bool ip6_hold_safe(struct net *net, struct rt6_info **prt) in ip6_hold_safe()
1156 struct rt6_info *rt = *prt; in ip6_hold_safe()
1171 static struct rt6_info *ip6_create_rt_rcu(const struct fib6_result *res) in ip6_create_rt_rcu()
1176 struct rt6_info *nrt; in ip6_create_rt_rcu()
1197 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_lookup(struct net *net, in ip6_pol_route_lookup()
1205 struct rt6_info *rt; in ip6_pol_route_lookup()
1260 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, in rt6_lookup()
1278 return (struct rt6_info *) dst; in rt6_lookup()
1313 static struct rt6_info *ip6_rt_cache_alloc(const struct fib6_result *res, in ip6_rt_cache_alloc()
1319 struct rt6_info *rt; in ip6_rt_cache_alloc()
1355 static struct rt6_info *ip6_rt_pcpu_alloc(const struct fib6_result *res) in ip6_rt_pcpu_alloc()
1360 struct rt6_info *pcpu_rt; in ip6_rt_pcpu_alloc()
1382 static bool rt6_is_valid(const struct rt6_info *rt6) in rt6_is_valid()
1388 static struct rt6_info *rt6_get_pcpu_route(const struct fib6_result *res) in rt6_get_pcpu_route()
1390 struct rt6_info *pcpu_rt; in rt6_get_pcpu_route()
1395 struct rt6_info *prev, **p; in rt6_get_pcpu_route()
1410 static struct rt6_info *rt6_make_pcpu_route(struct net *net, in rt6_make_pcpu_route()
1413 struct rt6_info *pcpu_rt, *prev, **p; in rt6_make_pcpu_route()
1526 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_spinlock()
1561 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_rcu()
1649 static int rt6_insert_exception(struct rt6_info *nrt, in rt6_insert_exception()
1783 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res, in rt6_find_cached_rt()
1790 struct rt6_info *ret = NULL; in rt6_find_cached_rt()
1827 const struct rt6_info *rt) in fib6_nh_remove_exception()
1865 struct rt6_info *rt;
1881 static int rt6_remove_exception_rt(struct rt6_info *rt) in rt6_remove_exception_rt()
1911 const struct rt6_info *rt) in fib6_nh_update_exception()
1956 static void rt6_update_exception_stamp_rt(struct rt6_info *rt) in rt6_update_exception_stamp_rt()
1987 struct rt6_info *rt, int mtu) in rt6_mtu_change_route_allowed()
2021 struct rt6_info *entry = rt6_ex->rt6i; in rt6_exceptions_update_pmtu()
2054 struct rt6_info *entry = rt6_ex->rt6i; in fib6_nh_exceptions_clean_tohost()
2075 struct rt6_info *rt = rt6_ex->rt6i; in rt6_age_examine_exception()
2204 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, in ip6_pol_route()
2209 struct rt6_info *rt = NULL; in ip6_pol_route()
2274 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_input(struct net *net, in ip6_pol_route_input()
2465 INDIRECT_CALLABLE_SCOPE struct rt6_info *ip6_pol_route_output(struct net *net, in ip6_pol_route_output()
2513 struct rt6_info *rt6; in ip6_route_output_flags()
2517 rt6 = (struct rt6_info *)dst; in ip6_route_output_flags()
2531 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route()
2579 static struct dst_entry *rt6_check(struct rt6_info *rt, in rt6_check()
2595 static struct dst_entry *rt6_dst_from_check(struct rt6_info *rt, in rt6_dst_from_check()
2611 struct rt6_info *rt; in ip6_dst_check()
2613 rt = container_of(dst, struct rt6_info, dst); in ip6_dst_check()
2640 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_negative_advice()
2660 struct rt6_info *rt; in ip6_link_failure()
2664 rt = (struct rt6_info *) skb_dst(skb); in ip6_link_failure()
2684 static void rt6_update_expires(struct rt6_info *rt0, int timeout) in rt6_update_expires()
2700 static void rt6_do_update_pmtu(struct rt6_info *rt, u32 mtu) in rt6_do_update_pmtu()
2709 static bool rt6_cache_allowed_for_pmtu(const struct rt6_info *rt) in rt6_cache_allowed_for_pmtu()
2720 struct rt6_info *rt6 = (struct rt6_info *)dst; in __ip6_rt_update_pmtu()
2753 struct rt6_info *nrt6; in __ip6_rt_update_pmtu()
2865 struct rt6_info **ret) in ip6_redirect_nh_match()
2879 struct rt6_info *rt_cache; in ip6_redirect_nh_match()
2896 struct rt6_info **ret;
2913 INDIRECT_CALLABLE_SCOPE struct rt6_info *__ip6_route_redirect(struct net *net, in __ip6_route_redirect()
2920 struct rt6_info *ret = NULL; in __ip6_route_redirect()
3123 struct rt6_info *rt; in ip6_mtu_from_fib6()
3153 struct rt6_info *rt; in icmp6_dst_alloc()
3513 fib6_nh->rt6i_pcpu = alloc_percpu_gfp(struct rt6_info *, gfp_flags); in fib6_nh_init()
3555 struct rt6_info **ppcpu_rt; in fib6_nh_release()
3556 struct rt6_info *pcpu_rt; in fib6_nh_release()
3858 static int __ip6_del_cached_rt(struct rt6_info *rt, struct fib6_config *cfg) in __ip6_del_cached_rt()
3881 struct rt6_info *rt_cache; in ip6_del_cached_rt()
4004 struct rt6_info *rt, *nrt = NULL; in rt6_do_redirect()
4063 rt = (struct rt6_info *) dst; in rt6_do_redirect()
5469 struct rt6_info *rt6 = (struct rt6_info *)dst; in rt6_fill_node()
5880 struct rt6_info *rt; in inet6_rtm_getroute()
5966 rt = container_of(dst, struct rt6_info, dst); in inet6_rtm_getroute()
6487 kmem_cache_create("ip6_dst_cache", sizeof(struct rt6_info), 0, in ip6_route_init()