Lines Matching refs:rt
149 struct rtable *rt; in tcp_v4_connect() local
171 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in tcp_v4_connect()
175 if (IS_ERR(rt)) { in tcp_v4_connect()
176 err = PTR_ERR(rt); in tcp_v4_connect()
182 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in tcp_v4_connect()
183 ip_rt_put(rt); in tcp_v4_connect()
204 tcp_fetch_timewait_stamp(sk, &rt->dst); in tcp_v4_connect()
227 rt = ip_route_newports(fl4, rt, orig_sport, orig_dport, in tcp_v4_connect()
229 if (IS_ERR(rt)) { in tcp_v4_connect()
230 err = PTR_ERR(rt); in tcp_v4_connect()
231 rt = NULL; in tcp_v4_connect()
236 sk_setup_caps(sk, &rt->dst); in tcp_v4_connect()
248 rt = NULL; in tcp_v4_connect()
260 ip_rt_put(rt); in tcp_v4_connect()