Lines Matching defs:rt
862 struct rtable *rt; /* Route to the other host */
942 rt = dst_cache_get_ip4(&tunnel->dst_cache, &fl4.saddr);
943 if (!rt) {
944 rt = ip_route_output_flow(tunnel->net, &fl4, NULL);
945 if (IS_ERR(rt)) {
949 dst_cache_set_ip4(&tunnel->dst_cache, &rt->dst, fl4.saddr);
952 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
953 ip_rt_put(rt);
957 tdev = rt->dst.dev;
960 ip_rt_put(rt);
966 ip_rt_put(rt);
971 mtu = dst_mtu(&rt->dst) - t_hlen;
975 ip_rt_put(rt);
989 ip_rt_put(rt);
1012 ip_rt_put(rt);
1029 ip_rt_put(rt);
1035 iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl,
1109 struct rtable *rt = ip_route_output_ports(tunnel->net, &fl4,
1117 if (!IS_ERR(rt)) {
1118 tdev = rt->dst.dev;
1119 ip_rt_put(rt);