Lines Matching refs:rtable
423 static inline bool rt_is_expired(const struct rtable *rth) in rt_is_expired()
439 const struct rtable *rt; in ipv4_neigh_lookup()
442 rt = (const struct rtable *) dst; in ipv4_neigh_lookup()
458 const struct rtable *rt; in ipv4_confirm_neigh()
460 rt = (const struct rtable *)dst; in ipv4_confirm_neigh()
582 struct rtable *rt; in fnhe_flush_routes()
622 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe()
640 struct rtable *rt; in update_or_create_fnhe()
712 struct rtable __rcu **prt; in update_or_create_fnhe()
726 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect()
811 struct rtable *rt; in ip_do_redirect()
820 rt = (struct rtable *) dst; in ip_do_redirect()
828 struct rtable *rt = (struct rtable *)dst; in ipv4_negative_advice()
862 struct rtable *rt = skb_rtable(skb); in ip_rt_send_redirect()
927 struct rtable *rt = skb_rtable(skb); in ip_error()
1001 static void __ip_rt_update_pmtu(struct rtable *rt, struct flowi4 *fl4, u32 mtu) in __ip_rt_update_pmtu()
1036 struct rtable *rt = (struct rtable *) dst; in ip_rt_update_pmtu()
1048 struct rtable *rt; in ipv4_update_pmtu()
1067 struct rtable *rt; in __ipv4_sk_update_pmtu()
1085 struct rtable *rt; in ipv4_sk_update_pmtu()
1104 rt = (struct rtable *)odst; in ipv4_sk_update_pmtu()
1113 __ip_rt_update_pmtu((struct rtable *) xfrm_dst_path(&rt->dst), &fl4, mtu); in ipv4_sk_update_pmtu()
1140 struct rtable *rt; in ipv4_redirect()
1156 struct rtable *rt; in ipv4_sk_redirect()
1170 struct rtable *rt = (struct rtable *) dst; in ipv4_dst_check()
1187 struct rtable *rt; in ipv4_link_failure()
1215 void ip_rt_get_source(u8 *addr, struct sk_buff *skb, struct rtable *rt) in ip_rt_get_source()
1249 static void set_class_tag(struct rtable *rt, u32 tag) in set_class_tag()
1269 const struct rtable *rt = (const struct rtable *) dst; in ipv4_mtu()
1376 static bool rt_bind_exception(struct rtable *rt, struct fib_nh_exception *fnhe, in rt_bind_exception()
1384 struct rtable __rcu **porig; in rt_bind_exception()
1385 struct rtable *orig; in rt_bind_exception()
1424 static bool rt_cache_route(struct fib_nh *nh, struct rtable *rt) in rt_cache_route()
1426 struct rtable *orig, *prev, **p; in rt_cache_route()
1430 p = (struct rtable **)&nh->nh_rth_input; in rt_cache_route()
1432 p = (struct rtable **)raw_cpu_ptr(nh->nh_pcpu_rth_output); in rt_cache_route()
1461 void rt_add_uncached_list(struct rtable *rt) in rt_add_uncached_list()
1472 void rt_del_uncached_list(struct rtable *rt) in rt_del_uncached_list()
1486 struct rtable *rt = (struct rtable *)dst; in ipv4_dst_destroy()
1497 struct rtable *rt; in rt_flush_dev()
1515 static bool rt_cache_valid(const struct rtable *rt) in rt_cache_valid()
1522 static void rt_set_nexthop(struct rtable *rt, __be32 daddr, in rt_set_nexthop()
1571 struct rtable *rt_dst_alloc(struct net_device *dev, in rt_dst_alloc()
1575 struct rtable *rt; in rt_dst_alloc()
1639 struct rtable *rth; in ip_route_input_mc()
1704 struct rtable *rth; in __mkroute_input()
1924 struct rtable *rth; in ip_route_input_slow()
2186 static struct rtable *__mkroute_output(const struct fib_result *res, in __mkroute_output()
2195 struct rtable *rth; in __mkroute_output()
2252 struct rtable __rcu **prth; in __mkroute_output()
2314 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *fl4, in ip_route_output_key_hash()
2324 struct rtable *rth; in ip_route_output_key_hash()
2339 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *fl4, in ip_route_output_key_hash_rcu()
2346 struct rtable *rth; in ip_route_output_key_hash_rcu()
2550 struct rtable *ort = (struct rtable *) dst_orig; in ipv4_blackhole_route()
2551 struct rtable *rt; in ipv4_blackhole_route()
2584 struct rtable *ip_route_output_flow(struct net *net, struct flowi4 *flp4, in ip_route_output_flow()
2587 struct rtable *rt = __ip_route_output_key(net, flp4); in ip_route_output_flow()
2593 rt = (struct rtable *)xfrm_lookup_route(net, &rt->dst, in ip_route_output_flow()
2603 struct rtable *rt, u32 table_id, struct flowi4 *fl4, in rt_fill_info()
2786 struct rtable *rt = NULL; in inet_rtm_getroute()
3178 kmem_cache_create("ip_dst_cache", sizeof(struct rtable), 0, in ip_rt_init()