Lines Matching refs:dst
78 struct dst_entry *dst; in inet6_csk_route_req() local
94 dst = ip6_dst_lookup_flow(sk, fl6, final_p); in inet6_csk_route_req()
95 if (IS_ERR(dst)) in inet6_csk_route_req()
98 return dst; in inet6_csk_route_req()
128 struct dst_entry *dst; in inet6_csk_route_socket() local
147 dst = __inet6_csk_dst_check(sk, np->dst_cookie); in inet6_csk_route_socket()
148 if (!dst) { in inet6_csk_route_socket()
149 dst = ip6_dst_lookup_flow(sk, fl6, final_p); in inet6_csk_route_socket()
151 if (!IS_ERR(dst)) in inet6_csk_route_socket()
152 ip6_dst_store(sk, dst, NULL, NULL); in inet6_csk_route_socket()
154 return dst; in inet6_csk_route_socket()
161 struct dst_entry *dst; in inet6_csk_xmit() local
164 dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_xmit()
165 if (IS_ERR(dst)) { in inet6_csk_xmit()
166 sk->sk_err_soft = -PTR_ERR(dst); in inet6_csk_xmit()
169 return PTR_ERR(dst); in inet6_csk_xmit()
173 skb_dst_set_noref(skb, dst); in inet6_csk_xmit()
188 struct dst_entry *dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu() local
190 if (IS_ERR(dst)) in inet6_csk_update_pmtu()
192 dst->ops->update_pmtu(dst, sk, NULL, mtu); in inet6_csk_update_pmtu()
194 dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu()
195 return IS_ERR(dst) ? NULL : dst; in inet6_csk_update_pmtu()