Lines Matching refs:rtable

433 static inline bool rt_is_expired(const struct rtable *rth)  in rt_is_expired()
449 const struct rtable *rt; in ipv4_neigh_lookup()
452 rt = (const struct rtable *) dst; in ipv4_neigh_lookup()
562 static inline void rt_free(struct rtable *rt) in rt_free()
571 struct rtable *rt; in fnhe_flush_routes()
609 static void fill_route_from_fnhe(struct rtable *rt, struct fib_nh_exception *fnhe) in fill_route_from_fnhe()
626 struct rtable *rt; in update_or_create_fnhe()
691 struct rtable __rcu **prt; in update_or_create_fnhe()
705 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect()
787 struct rtable *rt; in ip_do_redirect()
795 rt = (struct rtable *) dst; in ip_do_redirect()
803 struct rtable *rt = (struct rtable *)dst; in ipv4_negative_advice()
837 struct rtable *rt = skb_rtable(skb); in ip_rt_send_redirect()
903 struct rtable *rt = skb_rtable(skb); in ip_error()
967 static void __ip_rt_update_pmtu(struct rtable *rt, struct flowi4 *fl4, u32 mtu) in __ip_rt_update_pmtu()
998 struct rtable *rt = (struct rtable *) dst; in ip_rt_update_pmtu()
1010 struct rtable *rt; in ipv4_update_pmtu()
1029 struct rtable *rt; in __ipv4_sk_update_pmtu()
1047 struct rtable *rt; in ipv4_sk_update_pmtu()
1065 rt = (struct rtable *)odst; in ipv4_sk_update_pmtu()
1074 __ip_rt_update_pmtu((struct rtable *) rt->dst.path, &fl4, mtu); in ipv4_sk_update_pmtu()
1101 struct rtable *rt; in ipv4_redirect()
1117 struct rtable *rt; in ipv4_sk_redirect()
1130 struct rtable *rt = (struct rtable *) dst; in ipv4_dst_check()
1147 struct rtable *rt; in ipv4_link_failure()
1175 void ip_rt_get_source(u8 *addr, struct sk_buff *skb, struct rtable *rt) in ip_rt_get_source()
1209 static void set_class_tag(struct rtable *rt, u32 tag) in set_class_tag()
1233 const struct rtable *rt = (const struct rtable *) dst; in ipv4_mtu()
1271 static bool rt_bind_exception(struct rtable *rt, struct fib_nh_exception *fnhe, in rt_bind_exception()
1279 struct rtable __rcu **porig; in rt_bind_exception()
1280 struct rtable *orig; in rt_bind_exception()
1315 static bool rt_cache_route(struct fib_nh *nh, struct rtable *rt) in rt_cache_route()
1317 struct rtable *orig, *prev, **p; in rt_cache_route()
1321 p = (struct rtable **)&nh->nh_rth_input; in rt_cache_route()
1323 p = (struct rtable **)raw_cpu_ptr(nh->nh_pcpu_rth_output); in rt_cache_route()
1344 static void rt_add_uncached_list(struct rtable *rt) in rt_add_uncached_list()
1357 struct rtable *rt = (struct rtable *) dst; in ipv4_dst_destroy()
1371 struct rtable *rt; in rt_flush_dev()
1389 static bool rt_cache_valid(const struct rtable *rt) in rt_cache_valid()
1396 static void rt_set_nexthop(struct rtable *rt, __be32 daddr, in rt_set_nexthop()
1441 static struct rtable *rt_dst_alloc(struct net_device *dev, in rt_dst_alloc()
1445 struct rtable *rt; in rt_dst_alloc()
1476 struct rtable *rth; in ip_route_input_mc()
1597 struct rtable *rth; in __mkroute_input()
1778 struct rtable *rth; in ip_route_input_slow()
2001 static struct rtable *__mkroute_output(const struct fib_result *res, in __mkroute_output()
2010 struct rtable *rth; in __mkroute_output()
2065 struct rtable __rcu **prth; in __mkroute_output()
2140 struct rtable *__ip_route_output_key_hash(struct net *net, struct flowi4 *fl4, in __ip_route_output_key_hash()
2147 struct rtable *rth; in __ip_route_output_key_hash()
2360 struct rtable *ort = (struct rtable *) dst_orig; in ipv4_blackhole_route()
2361 struct rtable *rt; in ipv4_blackhole_route()
2394 struct rtable *ip_route_output_flow(struct net *net, struct flowi4 *flp4, in ip_route_output_flow()
2397 struct rtable *rt = __ip_route_output_key(net, flp4); in ip_route_output_flow()
2403 rt = (struct rtable *)xfrm_lookup_route(net, &rt->dst, in ip_route_output_flow()
2415 struct rtable *rt = skb_rtable(skb); in rt_fill_info()
2529 struct rtable *rt = NULL; in inet_rtm_getroute()
2888 kmem_cache_create("ip_dst_cache", sizeof(struct rtable), 0, in ip_rt_init()