Lines Matching refs:rtable

429 static inline bool rt_is_expired(const struct rtable *rth)  in rt_is_expired()
445 const struct rtable *rt; in ipv4_neigh_lookup()
448 rt = (const struct rtable *) dst; in ipv4_neigh_lookup()
560 static inline void rt_free(struct rtable *rt) in rt_free()
569 struct rtable *rt; in fnhe_flush_routes()
607 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe()
624 struct rtable *rt; in update_or_create_fnhe()
689 struct rtable __rcu **prt; in update_or_create_fnhe()
703 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect()
785 struct rtable *rt; in ip_do_redirect()
793 rt = (struct rtable *) dst; in ip_do_redirect()
801 struct rtable *rt = (struct rtable *)dst; in ipv4_negative_advice()
835 struct rtable *rt = skb_rtable(skb); in ip_rt_send_redirect()
899 struct rtable *rt = skb_rtable(skb); in ip_error()
962 static void __ip_rt_update_pmtu(struct rtable *rt, struct flowi4 *fl4, u32 mtu) in __ip_rt_update_pmtu()
993 struct rtable *rt = (struct rtable *) dst; in ip_rt_update_pmtu()
1005 struct rtable *rt; in ipv4_update_pmtu()
1024 struct rtable *rt; in __ipv4_sk_update_pmtu()
1042 struct rtable *rt; in ipv4_sk_update_pmtu()
1060 rt = (struct rtable *)odst; in ipv4_sk_update_pmtu()
1069 __ip_rt_update_pmtu((struct rtable *) rt->dst.path, &fl4, mtu); in ipv4_sk_update_pmtu()
1096 struct rtable *rt; in ipv4_redirect()
1112 struct rtable *rt; in ipv4_sk_redirect()
1125 struct rtable *rt = (struct rtable *) dst; in ipv4_dst_check()
1142 struct rtable *rt; in ipv4_link_failure()
1170 void ip_rt_get_source(u8 *addr, struct sk_buff *skb, struct rtable *rt) in ip_rt_get_source()
1204 static void set_class_tag(struct rtable *rt, u32 tag) in set_class_tag()
1228 const struct rtable *rt = (const struct rtable *) dst; in ipv4_mtu()
1266 static bool rt_bind_exception(struct rtable *rt, struct fib_nh_exception *fnhe, in rt_bind_exception()
1274 struct rtable __rcu **porig; in rt_bind_exception()
1275 struct rtable *orig; in rt_bind_exception()
1310 static bool rt_cache_route(struct fib_nh *nh, struct rtable *rt) in rt_cache_route()
1312 struct rtable *orig, *prev, **p; in rt_cache_route()
1316 p = (struct rtable **)&nh->nh_rth_input; in rt_cache_route()
1318 p = (struct rtable **)raw_cpu_ptr(nh->nh_pcpu_rth_output); in rt_cache_route()
1339 static void rt_add_uncached_list(struct rtable *rt) in rt_add_uncached_list()
1352 struct rtable *rt = (struct rtable *) dst; in ipv4_dst_destroy()
1366 struct rtable *rt; in rt_flush_dev()
1384 static bool rt_cache_valid(const struct rtable *rt) in rt_cache_valid()
1391 static void rt_set_nexthop(struct rtable *rt, __be32 daddr, in rt_set_nexthop()
1435 static struct rtable *rt_dst_alloc(struct net_device *dev, in rt_dst_alloc()
1448 struct rtable *rth; in ip_route_input_mc()
1579 struct rtable *rth; in __mkroute_input()
1710 struct rtable *rth; in ip_route_input_slow()
1932 static struct rtable *__mkroute_output(const struct fib_result *res, in __mkroute_output()
1941 struct rtable *rth; in __mkroute_output()
1984 struct rtable __rcu **prth; in __mkroute_output()
2067 struct rtable *__ip_route_output_key(struct net *net, struct flowi4 *fl4) in __ip_route_output_key()
2073 struct rtable *rth; in __ip_route_output_key()
2289 struct rtable *ort = (struct rtable *) dst_orig; in ipv4_blackhole_route()
2290 struct rtable *rt; in ipv4_blackhole_route()
2324 struct rtable *ip_route_output_flow(struct net *net, struct flowi4 *flp4, in ip_route_output_flow()
2327 struct rtable *rt = __ip_route_output_key(net, flp4); in ip_route_output_flow()
2333 rt = (struct rtable *)xfrm_lookup_route(net, &rt->dst, in ip_route_output_flow()
2345 struct rtable *rt = skb_rtable(skb); in rt_fill_info()
2459 struct rtable *rt = NULL; in inet_rtm_getroute()
2807 kmem_cache_create("ip_dst_cache", sizeof(struct rtable), 0, in ip_rt_init()