Lines Matching refs:rtable

391 static inline bool rt_is_expired(const struct rtable *rth)  in rt_is_expired()
411 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_neigh_lookup()
438 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_confirm_neigh()
572 struct rtable *rt; in fnhe_flush_routes()
619 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe()
639 struct rtable *rt; in update_or_create_fnhe()
718 struct rtable __rcu **prt; in update_or_create_fnhe()
733 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect()
820 struct rtable *rt; in ip_do_redirect()
838 struct rtable *rt = dst_rtable(dst); in ipv4_negative_advice()
864 struct rtable *rt = skb_rtable(skb); in ip_rt_send_redirect()
929 struct rtable *rt = skb_rtable(skb); in ip_error()
1008 static void __ip_rt_update_pmtu(struct rtable *rt, struct flowi4 *fl4, u32 mtu) in __ip_rt_update_pmtu()
1062 struct rtable *rt = dst_rtable(dst); in ip_rt_update_pmtu()
1079 struct rtable *rt; in ipv4_update_pmtu()
1096 struct rtable *rt; in __ipv4_sk_update_pmtu()
1114 struct rtable *rt; in ipv4_sk_update_pmtu()
1169 struct rtable *rt; in ipv4_redirect()
1184 struct rtable *rt; in ipv4_sk_redirect()
1199 struct rtable *rt = dst_rtable(dst); in ipv4_dst_check()
1247 struct rtable *rt; in ipv4_link_failure()
1275 void ip_rt_get_source(u8 *addr, struct sk_buff *skb, struct rtable *rt) in ip_rt_get_source()
1306 static void set_class_tag(struct rtable *rt, u32 tag) in set_class_tag()
1427 static bool rt_bind_exception(struct rtable *rt, struct fib_nh_exception *fnhe, in rt_bind_exception()
1435 struct rtable __rcu **porig; in rt_bind_exception()
1436 struct rtable *orig; in rt_bind_exception()
1477 static bool rt_cache_route(struct fib_nh_common *nhc, struct rtable *rt) in rt_cache_route()
1479 struct rtable *orig, *prev, **p; in rt_cache_route()
1483 p = (struct rtable **)&nhc->nhc_rth_input; in rt_cache_route()
1485 p = (struct rtable **)raw_cpu_ptr(nhc->nhc_pcpu_rth_output); in rt_cache_route()
1514 void rt_add_uncached_list(struct rtable *rt) in rt_add_uncached_list()
1525 void rt_del_uncached_list(struct rtable *rt) in rt_del_uncached_list()
1544 struct rtable *rt, *safe; in rt_flush_dev()
1566 static bool rt_cache_valid(const struct rtable *rt) in rt_cache_valid()
1573 static void rt_set_nexthop(struct rtable *rt, __be32 daddr, in rt_set_nexthop()
1632 struct rtable *rt_dst_alloc(struct net_device *dev, in rt_dst_alloc()
1636 struct rtable *rt; in rt_dst_alloc()
1662 struct rtable *rt_dst_clone(struct net_device *dev, struct rtable *rt) in rt_dst_clone()
1664 struct rtable *new_rt; in rt_dst_clone()
1735 struct rtable *rth; in ip_route_input_mc()
1807 struct rtable *rth; in __mkroute_input()
2177 struct rtable *rt = skb_rtable(hint); in ip_route_use_hint()
2255 struct rtable *rth; in ip_route_input_slow()
2542 static struct rtable *__mkroute_output(const struct fib_result *res, in __mkroute_output()
2551 struct rtable *rth; in __mkroute_output()
2609 struct rtable __rcu **prth; in __mkroute_output()
2668 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *fl4, in ip_route_output_key_hash()
2677 struct rtable *rth; in ip_route_output_key_hash()
2690 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *fl4, in ip_route_output_key_hash_rcu()
2697 struct rtable *rth; in ip_route_output_key_hash_rcu()
2873 struct rtable *ort = dst_rtable(dst_orig); in ipv4_blackhole_route()
2874 struct rtable *rt; in ipv4_blackhole_route()
2908 struct rtable *ip_route_output_flow(struct net *net, struct flowi4 *flp4, in ip_route_output_flow()
2911 struct rtable *rt = __ip_route_output_key(net, flp4); in ip_route_output_flow()
2929 struct rtable *rt, u32 table_id, dscp_t dscp, in rt_fill_info()
3077 struct rtable *rt; in fnhe_dump_bucket()
3279 struct rtable *rt = NULL; in inet_rtm_getroute()
3736 ipv4_dst_ops.kmem_cachep = KMEM_CACHE(rtable, in ip_rt_init()