Lines Matching refs:rt
50 struct rtable *rt; in dccp_v4_connect() local
75 rt = ip_route_connect(fl4, nexthop, inet->inet_saddr, in dccp_v4_connect()
79 if (IS_ERR(rt)) in dccp_v4_connect()
80 return PTR_ERR(rt); in dccp_v4_connect()
82 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in dccp_v4_connect()
83 ip_rt_put(rt); in dccp_v4_connect()
110 rt = ip_route_newports(fl4, rt, orig_sport, orig_dport, in dccp_v4_connect()
112 if (IS_ERR(rt)) { in dccp_v4_connect()
113 err = PTR_ERR(rt); in dccp_v4_connect()
114 rt = NULL; in dccp_v4_connect()
118 sk_setup_caps(sk, &rt->dst); in dccp_v4_connect()
127 rt = NULL; in dccp_v4_connect()
137 ip_rt_put(rt); in dccp_v4_connect()
479 struct rtable *rt; in dccp_v4_route_skb() local
492 rt = ip_route_output_flow(net, &fl4, sk); in dccp_v4_route_skb()
493 if (IS_ERR(rt)) { in dccp_v4_route_skb()
498 return &rt->dst; in dccp_v4_route_skb()