Lines Matching defs:rtable

60 struct rtable {
83 static inline bool rt_is_input_route(const struct rtable *rt)
88 static inline bool rt_is_output_route(const struct rtable *rt)
93 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr)
125 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp,
127 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp,
131 static inline struct rtable *__ip_route_output_key(struct net *net,
137 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
139 struct rtable *ip_route_output_tunnel(struct sk_buff *skb,
148 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp)
153 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr,
165 static inline struct rtable *ip_route_output_ports(struct net *net, struct flowi4 *fl4,
180 static inline struct rtable *ip_route_output_gre(struct net *net, struct flowi4 *fl4,
235 void ip_rt_get_source(u8 *src, struct sk_buff *skb, struct rtable *rt);
236 struct rtable *rt_dst_alloc(struct net_device *dev,
238 struct rtable *rt_dst_clone(struct net_device *dev, struct rtable *rt);
245 void rt_add_uncached_list(struct rtable *rt);
246 void rt_del_uncached_list(struct rtable *rt);
252 static inline void ip_rt_put(struct rtable *rt)
255 * We rely on dst being first structure in struct rtable
257 BUILD_BUG_ON(offsetof(struct rtable, dst) != 0);
309 static inline struct rtable *ip_route_connect(struct flowi4 *fl4, __be32 dst,
315 struct rtable *rt;
330 static inline struct rtable *ip_route_newports(struct flowi4 *fl4, struct rtable *rt,
349 struct rtable *rt = skb_rtable(skb);
379 static inline struct neighbour *ip_neigh_for_gw(struct rtable *rt,