Lines Matching refs:rt
173 void udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, in udp_tunnel_xmit_skb() argument
192 iptunnel_xmit(sk, rt, skb, src, dst, IPPROTO_UDP, tos, ttl, df, xnet, in udp_tunnel_xmit_skb()
237 struct rtable *rt = NULL; in udp_tunnel_dst_lookup() local
242 rt = dst_cache_get_ip4(dst_cache, saddr); in udp_tunnel_dst_lookup()
243 if (rt) in udp_tunnel_dst_lookup()
244 return rt; in udp_tunnel_dst_lookup()
259 rt = ip_route_output_key(net, &fl4); in udp_tunnel_dst_lookup()
260 if (IS_ERR(rt)) { in udp_tunnel_dst_lookup()
264 if (rt->dst.dev == dev) { /* is this necessary? */ in udp_tunnel_dst_lookup()
266 ip_rt_put(rt); in udp_tunnel_dst_lookup()
271 dst_cache_set_ip4(dst_cache, &rt->dst, fl4.saddr); in udp_tunnel_dst_lookup()
274 return rt; in udp_tunnel_dst_lookup()