Lines Matching defs:rt

118 static void rt6_uncached_list_add(struct rt6_info *rt)  in rt6_uncached_list_add()
130 static void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del()
151 struct rt6_info *rt; in rt6_uncached_list_flush_dev() local
173 static u32 *rt6_pcpu_cow_metrics(struct rt6_info *rt) in rt6_pcpu_cow_metrics()
180 struct rt6_info *rt = (struct rt6_info *)dst; in ipv6_cow_metrics() local
190 static inline const void *choose_neigh_daddr(struct rt6_info *rt, in choose_neigh_daddr()
207 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_neigh_lookup() local
317 static void rt6_info_init(struct rt6_info *rt) in rt6_info_init()
331 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev, in __ip6_dst_alloc() local
344 struct rt6_info *rt = __ip6_dst_alloc(net, dev, flags); in ip6_dst_alloc() local
369 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_destroy() local
390 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_dst_ifdown() local
407 static bool __rt6_check_expired(const struct rt6_info *rt) in __rt6_check_expired()
415 static bool rt6_check_expired(const struct rt6_info *rt) in rt6_check_expired()
465 static inline struct rt6_info *rt6_device_match(struct net *net, in rt6_device_match()
531 static void rt6_probe(struct rt6_info *rt) in rt6_probe()
578 static inline void rt6_probe(struct rt6_info *rt) in rt6_probe()
586 static inline int rt6_check_dev(struct rt6_info *rt, int oif) in rt6_check_dev()
597 static inline enum rt6_nud_state rt6_check_neigh(struct rt6_info *rt) in rt6_check_neigh()
628 static int rt6_score_route(struct rt6_info *rt, int oif, in rt6_score_route()
647 static struct rt6_info *find_match(struct rt6_info *rt, int oif, int strict, in find_match()
689 struct rt6_info *rt, *match, *cont; in find_rr_leaf() local
749 static bool rt6_is_gw_or_nonexthop(const struct rt6_info *rt) in rt6_is_gw_or_nonexthop()
763 struct rt6_info *rt; in rt6_route_rcv() local
852 struct rt6_info *rt; in ip6_pol_route_lookup() local
910 static int __ip6_ins_rt(struct rt6_info *rt, struct nl_info *info, in __ip6_ins_rt()
924 int ip6_ins_rt(struct rt6_info *rt) in ip6_ins_rt()
936 struct rt6_info *rt; in ip6_rt_cache_alloc() local
972 static struct rt6_info *ip6_rt_pcpu_alloc(struct rt6_info *rt) in ip6_rt_pcpu_alloc()
988 static struct rt6_info *rt6_get_pcpu_route(struct rt6_info *rt) in rt6_get_pcpu_route()
1002 static struct rt6_info *rt6_make_pcpu_route(struct rt6_info *rt) in rt6_make_pcpu_route()
1044 struct rt6_info *rt; in ip6_pol_route() local
1205 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route() local
1242 static void rt6_dst_from_metrics_check(struct rt6_info *rt) in rt6_dst_from_metrics_check()
1249 static struct dst_entry *rt6_check(struct rt6_info *rt, u32 cookie) in rt6_check()
1260 static struct dst_entry *rt6_dst_from_check(struct rt6_info *rt, u32 cookie) in rt6_dst_from_check()
1272 struct rt6_info *rt; in ip6_dst_check() local
1292 struct rt6_info *rt = (struct rt6_info *) dst; in ip6_negative_advice() local
1310 struct rt6_info *rt; in ip6_link_failure() local
1325 static void rt6_do_update_pmtu(struct rt6_info *rt, u32 mtu) in rt6_do_update_pmtu()
1334 static bool rt6_cache_allowed_for_pmtu(const struct rt6_info *rt) in rt6_cache_allowed_for_pmtu()
1428 struct rt6_info *rt; in __ip6_route_redirect() local
1563 const struct rt6_info *rt = (const struct rt6_info *)dst; in ip6_mtu() local
1593 struct rt6_info *rt; in icmp6_dst_alloc() local
1652 static void icmp6_clean_all(int (*func)(struct rt6_info *rt, void *arg), in icmp6_clean_all()
1660 struct rt6_info *rt = (struct rt6_info *) dst; in icmp6_clean_all() local
1754 struct rt6_info *rt = NULL; in ip6_route_info_create() local
2000 struct rt6_info *rt; in ip6_route_add() local
2026 static int __ip6_del_rt(struct rt6_info *rt, struct nl_info *info) in __ip6_del_rt()
2048 int ip6_del_rt(struct rt6_info *rt) in ip6_del_rt()
2060 struct rt6_info *rt; in ip6_route_del() local
2101 struct rt6_info *rt, *nrt = NULL; in rt6_do_redirect() local
2218 static void rt6_set_from(struct rt6_info *rt, struct rt6_info *from) in rt6_set_from()
2228 static void ip6_rt_copy_init(struct rt6_info *rt, struct rt6_info *ort) in ip6_rt_copy_init()
2256 struct rt6_info *rt = NULL; in rt6_get_route_info() local
2315 struct rt6_info *rt; in rt6_get_dflt_router() local
2359 struct rt6_info *rt; in rt6_purge_dflt_routers() local
2499 struct rt6_info *rt = ip6_dst_alloc(net, net->loopback_dev, in addrconf_dst_alloc() local
2530 struct rt6_info *rt, in ip6_route_get_saddr()
2553 static int fib6_remove_prefsrc(struct rt6_info *rt, void *arg) in fib6_remove_prefsrc()
2583 static int fib6_clean_tohost(struct rt6_info *rt, void *arg) in fib6_clean_tohost()
2605 static int fib6_ifdown(struct rt6_info *rt, void *arg) in fib6_ifdown()
2635 static int rt6_mtu_change_route(struct rt6_info *rt, void *p_arg) in rt6_mtu_change_route()
2827 struct rt6_info *rt, struct fib6_config *r_cfg) in ip6_route_info_append()
2863 struct rt6_info *rt; in ip6_route_multipath_add() local
3029 static inline size_t rt6_nlmsg_size(struct rt6_info *rt) in rt6_nlmsg_size()
3048 struct sk_buff *skb, struct rt6_info *rt, in rt6_fill_node()
3207 int rt6_dump_route(struct rt6_info *rt, void *p_arg) in rt6_dump_route()
3228 struct rt6_info *rt; in inet6_rtm_getroute() local
3320 void inet6_rt_notify(int event, struct rt6_info *rt, struct nl_info *info, in inet6_rt_notify()