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()
344 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev, in ip6_dst_alloc() local
358 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_destroy() local
378 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_ifdown() local
391 static bool __rt6_check_expired(const struct rt6_info *rt) in __rt6_check_expired()
399 static bool rt6_check_expired(const struct rt6_info *rt) in rt6_check_expired()
935 struct fib6_info *rt; in rt6_route_rcv() local
1049 static unsigned short fib6_info_dst_flags(struct fib6_info *rt) in fib6_info_dst_flags()
1061 static void ip6_rt_init_dst_reject(struct rt6_info *rt, u8 fib6_type) in ip6_rt_init_dst_reject()
1083 static void ip6_rt_init_dst(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_init_dst()
1112 static void rt6_set_from(struct rt6_info *rt, struct fib6_info *from) in rt6_set_from()
1120 static void ip6_rt_copy_init(struct rt6_info *rt, const struct fib6_result *res) in ip6_rt_copy_init()
1161 struct rt6_info *rt = *prt; in ip6_hold_safe() local
1210 struct rt6_info *rt; in ip6_pol_route_lookup() local
1294 static int __ip6_ins_rt(struct fib6_info *rt, struct nl_info *info, in __ip6_ins_rt()
1308 int ip6_ins_rt(struct net *net, struct fib6_info *rt) in ip6_ins_rt()
1321 struct rt6_info *rt; in ip6_rt_cache_alloc() local
1829 const struct rt6_info *rt) in fib6_nh_remove_exception()
1867 struct rt6_info *rt; member
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()
2077 struct rt6_info *rt = rt6_ex->rt6i; in rt6_age_examine_exception() local
2205 struct rt6_info *rt = NULL; in ip6_pol_route() local
2653 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route() local
2701 static struct dst_entry *rt6_check(struct rt6_info *rt, in rt6_check()
2717 static struct dst_entry *rt6_dst_from_check(struct rt6_info *rt, in rt6_dst_from_check()
2734 struct rt6_info *rt; in ip6_dst_check() local
2764 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_negative_advice() local
2784 struct rt6_info *rt; in ip6_link_failure() local
2824 static void rt6_do_update_pmtu(struct rt6_info *rt, u32 mtu) in rt6_do_update_pmtu()
2833 static bool rt6_cache_allowed_for_pmtu(const struct rt6_info *rt) in rt6_cache_allowed_for_pmtu()
3052 struct fib6_info *rt; in __ip6_route_redirect() local
3224 struct rt6_info *rt; in ip6_mtu_from_fib6() local
3254 struct rt6_info *rt; in icmp6_dst_alloc() local
3676 struct fib6_info *rt = NULL; in ip6_route_info_create() local
3833 struct fib6_info *rt; in ip6_route_add() local
3846 static int __ip6_del_rt(struct fib6_info *rt, struct nl_info *info) in __ip6_del_rt()
3867 int ip6_del_rt(struct net *net, struct fib6_info *rt, bool skip_notify) in ip6_del_rt()
3877 static int __ip6_del_rt_siblings(struct fib6_info *rt, struct fib6_config *cfg) in __ip6_del_rt_siblings()
3956 static int __ip6_del_cached_rt(struct rt6_info *rt, struct fib6_config *cfg) in __ip6_del_cached_rt()
3972 static int ip6_del_cached_rt(struct fib6_config *cfg, struct fib6_info *rt, in ip6_del_cached_rt()
4016 struct fib6_info *rt; in ip6_route_del() local
4102 struct rt6_info *rt, *nrt = NULL; in rt6_do_redirect() local
4250 struct fib6_info *rt = NULL; in rt6_get_route_info() local
4320 struct fib6_info *rt; in rt6_get_dflt_router() local
4382 struct fib6_info *rt; in __rt6_purge_dflt_routers() local
4584 static int fib6_remove_prefsrc(struct fib6_info *rt, void *arg) in fib6_remove_prefsrc()
4616 static int fib6_clean_tohost(struct fib6_info *rt, void *arg) in fib6_clean_tohost()
4652 static struct fib6_info *rt6_multipath_first_sibling(const struct fib6_info *rt) in rt6_multipath_first_sibling()
4673 static bool rt6_is_dead(const struct fib6_info *rt) in rt6_is_dead()
4683 static int rt6_multipath_total_weight(const struct fib6_info *rt) in rt6_multipath_total_weight()
4699 static void rt6_upper_bound_set(struct fib6_info *rt, int *weight, int total) in rt6_upper_bound_set()
4711 static void rt6_multipath_upper_bound_set(struct fib6_info *rt, int total) in rt6_multipath_upper_bound_set()
4722 void rt6_multipath_rebalance(struct fib6_info *rt) in rt6_multipath_rebalance()
4746 static int fib6_ifup(struct fib6_info *rt, void *p_arg) in fib6_ifup()
4777 static bool rt6_multipath_uses_dev(const struct fib6_info *rt, in rt6_multipath_uses_dev()
4791 static void rt6_multipath_flush(struct fib6_info *rt) in rt6_multipath_flush()
4800 static unsigned int rt6_multipath_dead_count(const struct fib6_info *rt, in rt6_multipath_dead_count()
4817 static void rt6_multipath_nh_flags_set(struct fib6_info *rt, in rt6_multipath_nh_flags_set()
4831 static int fib6_ifdown(struct fib6_info *rt, void *p_arg) in fib6_ifdown()
5144 struct fib6_info *rt, in ip6_route_info_append()
5166 static void ip6_route_mpath_notify(struct fib6_info *rt, in ip6_route_mpath_notify()
5187 static bool ip6_route_mpath_should_notify(const struct fib6_info *rt) in ip6_route_mpath_should_notify()
5233 struct fib6_info *rt; in ip6_route_multipath_add() local
5597 struct fib6_info *rt, struct dst_entry *dst, in rt6_fill_node()
5819 struct fib6_info *rt; member
5877 int rt6_dump_route(struct fib6_info *rt, void *p_arg, unsigned int skip) in rt6_dump_route()
6019 struct rt6_info *rt; in inet6_rtm_getroute() local
6155 void inet6_rt_notify(int event, struct fib6_info *rt, struct nl_info *info, in inet6_rt_notify()
6186 void fib6_rt_update(struct net *net, struct fib6_info *rt, in fib6_rt_update()