Lines Matching refs:dst
76 struct dst_entry *dst; in inet6_csk_route_req() local
92 dst = ip6_dst_lookup_flow(sk, fl6, final_p, false); in inet6_csk_route_req()
93 if (IS_ERR(dst)) in inet6_csk_route_req()
96 return dst; in inet6_csk_route_req()
186 void __inet6_csk_dst_store(struct sock *sk, struct dst_entry *dst, in __inet6_csk_dst_store() argument
190 __ip6_dst_store(sk, dst, daddr, saddr); in __inet6_csk_dst_store()
205 struct dst_entry *dst; in inet6_csk_route_socket() local
224 dst = __inet6_csk_dst_check(sk, np->dst_cookie); in inet6_csk_route_socket()
225 if (!dst) { in inet6_csk_route_socket()
226 dst = ip6_dst_lookup_flow(sk, fl6, final_p, false); in inet6_csk_route_socket()
228 if (!IS_ERR(dst)) in inet6_csk_route_socket()
229 __inet6_csk_dst_store(sk, dst, NULL, NULL); in inet6_csk_route_socket()
231 return dst; in inet6_csk_route_socket()
239 struct dst_entry *dst; in inet6_csk_xmit() local
242 dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_xmit()
243 if (IS_ERR(dst)) { in inet6_csk_xmit()
244 sk->sk_err_soft = -PTR_ERR(dst); in inet6_csk_xmit()
247 return PTR_ERR(dst); in inet6_csk_xmit()
251 skb_dst_set_noref(skb, dst); in inet6_csk_xmit()
266 struct dst_entry *dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu() local
268 if (IS_ERR(dst)) in inet6_csk_update_pmtu()
270 dst->ops->update_pmtu(dst, sk, NULL, mtu); in inet6_csk_update_pmtu()
272 dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu()
273 return IS_ERR(dst) ? NULL : dst; in inet6_csk_update_pmtu()