Lines Matching defs:rt
138 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add()
149 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del()
166 struct rt6_info *rt, *safe; in rt6_uncached_list_flush_dev() local
229 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst); in ip6_dst_neigh_lookup() local
238 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_confirm_neigh() local
334 static void rt6_info_init(struct rt6_info *rt) in rt6_info_init()
343 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev, in ip6_dst_alloc() local
357 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_destroy() local
376 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_ifdown() local
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()
936 struct fib6_info *rt; in rt6_route_rcv() local
1050 static unsigned short fib6_info_dst_flags(struct fib6_info *rt) in fib6_info_dst_flags()
1062 static void ip6_rt_init_dst_reject(struct rt6_info *rt, u8 fib6_type) in ip6_rt_init_dst_reject()
1084 static void ip6_rt_init_dst(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_init_dst()
1113 static void rt6_set_from(struct rt6_info *rt, struct fib6_info *from) in rt6_set_from()
1121 static void ip6_rt_copy_init(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_copy_init()
1162 struct rt6_info *rt = *prt; in ip6_hold_safe() local
1211 struct rt6_info *rt; in ip6_pol_route_lookup() local
1295 static int __ip6_ins_rt(struct fib6_info *rt, struct nl_info *info, in __ip6_ins_rt()
1309 int ip6_ins_rt(struct net *net, struct fib6_info *rt) in ip6_ins_rt()
1322 struct rt6_info *rt; in ip6_rt_cache_alloc() local
1830 const struct rt6_info *rt) in fib6_nh_remove_exception()
1868 struct rt6_info *rt; member
1884 static int rt6_remove_exception_rt(struct rt6_info *rt) in rt6_remove_exception_rt()
1914 const struct rt6_info *rt) in fib6_nh_update_exception()
1959 static void rt6_update_exception_stamp_rt(struct rt6_info *rt) in rt6_update_exception_stamp_rt()
1990 struct rt6_info *rt, int mtu) in rt6_mtu_change_route_allowed()
2078 struct rt6_info *rt = rt6_ex->rt6i; in rt6_age_examine_exception() local
2206 struct rt6_info *rt = NULL; in ip6_pol_route() local
2654 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route() local
2702 static struct dst_entry *rt6_check(struct rt6_info *rt, in rt6_check()
2718 static struct dst_entry *rt6_dst_from_check(struct rt6_info *rt, in rt6_dst_from_check()
2735 struct rt6_info *rt; in ip6_dst_check() local
2765 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_negative_advice() local
2785 struct rt6_info *rt; in ip6_link_failure() local
2825 static void rt6_do_update_pmtu(struct rt6_info *rt, u32 mtu) in rt6_do_update_pmtu()
2834 static bool rt6_cache_allowed_for_pmtu(const struct rt6_info *rt) in rt6_cache_allowed_for_pmtu()
3054 struct fib6_info *rt; in __ip6_route_redirect() local
3226 struct rt6_info *rt; in ip6_mtu_from_fib6() local
3256 struct rt6_info *rt; in icmp6_dst_alloc() local
3683 struct fib6_info *rt = NULL; in ip6_route_info_create() local
3840 struct fib6_info *rt; in ip6_route_add() local
3853 static int __ip6_del_rt(struct fib6_info *rt, struct nl_info *info) in __ip6_del_rt()
3874 int ip6_del_rt(struct net *net, struct fib6_info *rt, bool skip_notify) in ip6_del_rt()
3884 static int __ip6_del_rt_siblings(struct fib6_info *rt, struct fib6_config *cfg) in __ip6_del_rt_siblings()
3963 static int __ip6_del_cached_rt(struct rt6_info *rt, struct fib6_config *cfg) in __ip6_del_cached_rt()
3979 static int ip6_del_cached_rt(struct fib6_config *cfg, struct fib6_info *rt, in ip6_del_cached_rt()
4023 struct fib6_info *rt; in ip6_route_del() local
4109 struct rt6_info *rt, *nrt = NULL; in rt6_do_redirect() local
4257 struct fib6_info *rt = NULL; in rt6_get_route_info() local
4327 struct fib6_info *rt; in rt6_get_dflt_router() local
4389 struct fib6_info *rt; in __rt6_purge_dflt_routers() local
4591 static int fib6_remove_prefsrc(struct fib6_info *rt, void *arg) in fib6_remove_prefsrc()
4621 static int fib6_clean_tohost(struct fib6_info *rt, void *arg) in fib6_clean_tohost()
4657 static struct fib6_info *rt6_multipath_first_sibling(const struct fib6_info *rt) in rt6_multipath_first_sibling()
4678 static bool rt6_is_dead(const struct fib6_info *rt) in rt6_is_dead()
4688 static int rt6_multipath_total_weight(const struct fib6_info *rt) in rt6_multipath_total_weight()
4704 static void rt6_upper_bound_set(struct fib6_info *rt, int *weight, int total) in rt6_upper_bound_set()
4716 static void rt6_multipath_upper_bound_set(struct fib6_info *rt, int total) in rt6_multipath_upper_bound_set()
4727 void rt6_multipath_rebalance(struct fib6_info *rt) in rt6_multipath_rebalance()
4751 static int fib6_ifup(struct fib6_info *rt, void *p_arg) in fib6_ifup()
4782 static bool rt6_multipath_uses_dev(const struct fib6_info *rt, in rt6_multipath_uses_dev()
4796 static void rt6_multipath_flush(struct fib6_info *rt) in rt6_multipath_flush()
4805 static unsigned int rt6_multipath_dead_count(const struct fib6_info *rt, in rt6_multipath_dead_count()
4822 static void rt6_multipath_nh_flags_set(struct fib6_info *rt, in rt6_multipath_nh_flags_set()
4836 static int fib6_ifdown(struct fib6_info *rt, void *p_arg) in fib6_ifdown()
5149 struct fib6_info *rt, in ip6_route_info_append()
5171 static void ip6_route_mpath_notify(struct fib6_info *rt, in ip6_route_mpath_notify()
5192 static bool ip6_route_mpath_should_notify(const struct fib6_info *rt) in ip6_route_mpath_should_notify()
5238 struct fib6_info *rt; in ip6_route_multipath_add() local
5595 struct fib6_info *rt, struct dst_entry *dst, in rt6_fill_node()
5817 struct fib6_info *rt; member
5875 int rt6_dump_route(struct fib6_info *rt, void *p_arg, unsigned int skip) in rt6_dump_route()
6017 struct rt6_info *rt; in inet6_rtm_getroute() local
6153 void inet6_rt_notify(int event, struct fib6_info *rt, struct nl_info *info, in inet6_rt_notify()
6184 void fib6_rt_update(struct net *net, struct fib6_info *rt, in fib6_rt_update()