Lines Matching refs:dst
75 struct dst_entry *dst; in inet6_csk_route_req() local
90 dst = ip6_dst_lookup_flow(sk, fl6, final_p); in inet6_csk_route_req()
91 if (IS_ERR(dst)) in inet6_csk_route_req()
94 return dst; in inet6_csk_route_req()
179 void __inet6_csk_dst_store(struct sock *sk, struct dst_entry *dst, in __inet6_csk_dst_store() argument
183 __ip6_dst_store(sk, dst, daddr, saddr); in __inet6_csk_dst_store()
198 struct dst_entry *dst; in inet6_csk_route_socket() local
216 dst = __inet6_csk_dst_check(sk, np->dst_cookie); in inet6_csk_route_socket()
217 if (!dst) { in inet6_csk_route_socket()
218 dst = ip6_dst_lookup_flow(sk, fl6, final_p); in inet6_csk_route_socket()
220 if (!IS_ERR(dst)) in inet6_csk_route_socket()
221 __inet6_csk_dst_store(sk, dst, NULL, NULL); in inet6_csk_route_socket()
223 return dst; in inet6_csk_route_socket()
230 struct dst_entry *dst; in inet6_csk_xmit() local
233 dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_xmit()
234 if (IS_ERR(dst)) { in inet6_csk_xmit()
235 sk->sk_err_soft = -PTR_ERR(dst); in inet6_csk_xmit()
238 return PTR_ERR(dst); in inet6_csk_xmit()
242 skb_dst_set_noref(skb, dst); in inet6_csk_xmit()
257 struct dst_entry *dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu() local
259 if (IS_ERR(dst)) in inet6_csk_update_pmtu()
261 dst->ops->update_pmtu(dst, sk, NULL, mtu); in inet6_csk_update_pmtu()
263 dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu()
264 return IS_ERR(dst) ? NULL : dst; in inet6_csk_update_pmtu()