Lines Matching refs:dst
35 struct dst_entry *dst; in inet6_csk_route_req() local
51 dst = ip6_dst_lookup_flow(sock_net(sk), sk, fl6, final_p); in inet6_csk_route_req()
52 if (IS_ERR(dst)) in inet6_csk_route_req()
55 return dst; in inet6_csk_route_req()
70 struct dst_entry *dst; in inet6_csk_route_socket() local
89 dst = __inet6_csk_dst_check(sk, np->dst_cookie); in inet6_csk_route_socket()
90 if (!dst) { in inet6_csk_route_socket()
91 dst = ip6_dst_lookup_flow(sock_net(sk), sk, fl6, final_p); in inet6_csk_route_socket()
93 if (!IS_ERR(dst)) in inet6_csk_route_socket()
94 ip6_dst_store(sk, dst, NULL, NULL); in inet6_csk_route_socket()
96 return dst; in inet6_csk_route_socket()
103 struct dst_entry *dst; in inet6_csk_xmit() local
106 dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_xmit()
107 if (IS_ERR(dst)) { in inet6_csk_xmit()
108 WRITE_ONCE(sk->sk_err_soft, -PTR_ERR(dst)); in inet6_csk_xmit()
111 return PTR_ERR(dst); in inet6_csk_xmit()
115 skb_dst_set_noref(skb, dst); in inet6_csk_xmit()
130 struct dst_entry *dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu() local
132 if (IS_ERR(dst)) in inet6_csk_update_pmtu()
134 dst->ops->update_pmtu(dst, sk, NULL, mtu, true); in inet6_csk_update_pmtu()
136 dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu()
137 return IS_ERR(dst) ? NULL : dst; in inet6_csk_update_pmtu()