Lines Matching refs:rtable

422 static inline bool rt_is_expired(const struct rtable *rth)  in rt_is_expired()
436 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_neigh_lookup()
463 const struct rtable *rt = container_of(dst, struct rtable, dst); in ipv4_confirm_neigh()
590 struct rtable *rt; in fnhe_flush_routes()
630 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe()
650 struct rtable *rt; in update_or_create_fnhe()
722 struct rtable __rcu **prt; in update_or_create_fnhe()
736 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect()
823 struct rtable *rt; in ip_do_redirect()
832 rt = (struct rtable *) dst; in ip_do_redirect()
840 struct rtable *rt = (struct rtable *)dst; in ipv4_negative_advice()
874 struct rtable *rt = skb_rtable(skb); in ip_rt_send_redirect()
941 struct rtable *rt = skb_rtable(skb); in ip_error()
1015 static void __ip_rt_update_pmtu(struct rtable *rt, struct flowi4 *fl4, u32 mtu) in __ip_rt_update_pmtu()
1055 struct rtable *rt = (struct rtable *) dst; in ip_rt_update_pmtu()
1072 struct rtable *rt; in ipv4_update_pmtu()
1089 struct rtable *rt; in __ipv4_sk_update_pmtu()
1107 struct rtable *rt; in ipv4_sk_update_pmtu()
1126 rt = (struct rtable *)odst; in ipv4_sk_update_pmtu()
1135 __ip_rt_update_pmtu((struct rtable *)xfrm_dst_path(&rt->dst), &fl4, mtu); in ipv4_sk_update_pmtu()
1162 struct rtable *rt; in ipv4_redirect()
1178 struct rtable *rt; in ipv4_sk_redirect()
1192 struct rtable *rt = (struct rtable *) dst; in ipv4_dst_check()
1237 struct rtable *rt; in ipv4_link_failure()
1265 void ip_rt_get_source(u8 *addr, struct sk_buff *skb, struct rtable *rt) in ip_rt_get_source()
1296 static void set_class_tag(struct rtable *rt, u32 tag) in set_class_tag()
1316 const struct rtable *rt = (const struct rtable *)dst; in ipv4_mtu()
1428 static bool rt_bind_exception(struct rtable *rt, struct fib_nh_exception *fnhe, in rt_bind_exception()
1436 struct rtable __rcu **porig; in rt_bind_exception()
1437 struct rtable *orig; in rt_bind_exception()
1478 static bool rt_cache_route(struct fib_nh_common *nhc, struct rtable *rt) in rt_cache_route()
1480 struct rtable *orig, *prev, **p; in rt_cache_route()
1484 p = (struct rtable **)&nhc->nhc_rth_input; in rt_cache_route()
1486 p = (struct rtable **)raw_cpu_ptr(nhc->nhc_pcpu_rth_output); in rt_cache_route()
1515 void rt_add_uncached_list(struct rtable *rt) in rt_add_uncached_list()
1526 void rt_del_uncached_list(struct rtable *rt) in rt_del_uncached_list()
1539 struct rtable *rt = (struct rtable *)dst; in ipv4_dst_destroy()
1547 struct rtable *rt; in rt_flush_dev()
1565 static bool rt_cache_valid(const struct rtable *rt) in rt_cache_valid()
1572 static void rt_set_nexthop(struct rtable *rt, __be32 daddr, in rt_set_nexthop()
1631 struct rtable *rt_dst_alloc(struct net_device *dev, in rt_dst_alloc()
1635 struct rtable *rt; in rt_dst_alloc()
1663 struct rtable *rt_dst_clone(struct net_device *dev, struct rtable *rt) in rt_dst_clone()
1665 struct rtable *new_rt; in rt_dst_clone()
1732 struct rtable *rth; in ip_route_input_mc()
1799 struct rtable *rth; in __mkroute_input()
2041 struct rtable *rt = skb_rtable(hint); in ip_route_use_hint()
2096 struct rtable *rth; in ip_route_input_slow()
2362 static struct rtable *__mkroute_output(const struct fib_result *res, in __mkroute_output()
2371 struct rtable *rth; in __mkroute_output()
2429 struct rtable __rcu **prth; in __mkroute_output()
2489 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *fl4, in ip_route_output_key_hash()
2499 struct rtable *rth; in ip_route_output_key_hash()
2514 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *fl4, in ip_route_output_key_hash_rcu()
2521 struct rtable *rth; in ip_route_output_key_hash_rcu()
2727 struct rtable *ort = (struct rtable *) dst_orig; in ipv4_blackhole_route()
2728 struct rtable *rt; in ipv4_blackhole_route()
2765 struct rtable *ip_route_output_flow(struct net *net, struct flowi4 *flp4, in ip_route_output_flow()
2768 struct rtable *rt = __ip_route_output_key(net, flp4); in ip_route_output_flow()
2775 rt = (struct rtable *)xfrm_lookup_route(net, &rt->dst, in ip_route_output_flow()
2784 struct rtable *ip_route_output_tunnel(struct sk_buff *skb, in ip_route_output_tunnel()
2793 struct rtable *rt = NULL; in ip_route_output_tunnel()
2834 struct rtable *rt, u32 table_id, struct flowi4 *fl4, in rt_fill_info()
2979 struct rtable *rt; in fnhe_dump_bucket()
3181 struct rtable *rt = NULL; in inet_rtm_getroute()
3602 kmem_cache_create("ip_dst_cache", sizeof(struct rtable), 0, in ip_rt_init()