Lines Matching refs:rtable
49 struct rtable { struct
75 static inline bool rt_is_input_route(const struct rtable *rt) in rt_is_input_route() argument
80 static inline bool rt_is_output_route(const struct rtable *rt) in rt_is_output_route()
85 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) in rt_nexthop()
117 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp,
119 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp,
123 static inline struct rtable *__ip_route_output_key(struct net *net, in __ip_route_output_key()
129 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
131 struct rtable *ip_route_output_tunnel(struct sk_buff *skb,
140 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key()
145 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, in ip_route_output()
157 static inline struct rtable *ip_route_output_ports(struct net *net, struct flowi4 *fl4, in ip_route_output_ports()
172 static inline struct rtable *ip_route_output_gre(struct net *net, struct flowi4 *fl4, in ip_route_output_gre()
231 void ip_rt_get_source(u8 *src, struct sk_buff *skb, struct rtable *rt);
232 struct rtable *rt_dst_alloc(struct net_device *dev,
235 struct rtable *rt_dst_clone(struct net_device *dev, struct rtable *rt);
242 void rt_add_uncached_list(struct rtable *rt);
243 void rt_del_uncached_list(struct rtable *rt);
249 static inline void ip_rt_put(struct rtable *rt) in ip_rt_put()
254 BUILD_BUG_ON(offsetof(struct rtable, dst) != 0); in ip_rt_put()
306 static inline struct rtable *ip_route_connect(struct flowi4 *fl4, in ip_route_connect()
313 struct rtable *rt; in ip_route_connect()
329 static inline struct rtable *ip_route_newports(struct flowi4 *fl4, struct rtable *rt, in ip_route_newports()
349 struct rtable *rt = skb_rtable(skb); in inet_iif()
379 static inline struct neighbour *ip_neigh_for_gw(struct rtable *rt, in ip_neigh_for_gw()