Lines Matching refs:dst
76 struct dst_entry *dst; in inet6_csk_route_req() local
91 dst = ip6_dst_lookup_flow(sk, fl6, final_p); in inet6_csk_route_req()
92 if (IS_ERR(dst)) in inet6_csk_route_req()
95 return dst; in inet6_csk_route_req()
125 struct dst_entry *dst; in inet6_csk_route_socket() local
143 dst = __inet6_csk_dst_check(sk, np->dst_cookie); in inet6_csk_route_socket()
144 if (!dst) { in inet6_csk_route_socket()
145 dst = ip6_dst_lookup_flow(sk, fl6, final_p); in inet6_csk_route_socket()
147 if (!IS_ERR(dst)) in inet6_csk_route_socket()
148 ip6_dst_store(sk, dst, NULL, NULL); in inet6_csk_route_socket()
150 return dst; in inet6_csk_route_socket()
157 struct dst_entry *dst; in inet6_csk_xmit() local
160 dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_xmit()
161 if (IS_ERR(dst)) { in inet6_csk_xmit()
162 sk->sk_err_soft = -PTR_ERR(dst); in inet6_csk_xmit()
165 return PTR_ERR(dst); in inet6_csk_xmit()
169 skb_dst_set_noref(skb, dst); in inet6_csk_xmit()
184 struct dst_entry *dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu() local
186 if (IS_ERR(dst)) in inet6_csk_update_pmtu()
188 dst->ops->update_pmtu(dst, sk, NULL, mtu); in inet6_csk_update_pmtu()
190 dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu()
191 return IS_ERR(dst) ? NULL : dst; in inet6_csk_update_pmtu()