Lines Matching refs:rt
30 struct rtable *rt = NULL; in send4() local
49 rt = dst_cache_get_ip4(cache, &fl.saddr); in send4()
51 if (!rt) { in send4()
61 rt = ip_route_output_flow(sock_net(sock), &fl, sock); in send4()
62 if (unlikely(endpoint->src_if4 && ((IS_ERR(rt) && in send4()
63 PTR_ERR(rt) == -EINVAL) || (!IS_ERR(rt) && in send4()
64 rt->dst.dev->ifindex != endpoint->src_if4)))) { in send4()
70 if (!IS_ERR(rt)) in send4()
71 ip_rt_put(rt); in send4()
72 rt = ip_route_output_flow(sock_net(sock), &fl, sock); in send4()
74 if (IS_ERR(rt)) { in send4()
75 ret = PTR_ERR(rt); in send4()
81 dst_cache_set_ip4(cache, &rt->dst, fl.saddr); in send4()
85 udp_tunnel_xmit_skb(rt, sock, skb, fl.saddr, fl.daddr, ds, in send4()
86 ip4_dst_hoplimit(&rt->dst), 0, fl.fl4_sport, in send4()