Lines Matching refs:nsk
303 struct sock *nsk; in dccp_v6_hnd_req() local
308 nsk = dccp_check_req(sk, skb, req); in dccp_v6_hnd_req()
309 if (!nsk) in dccp_v6_hnd_req()
311 return nsk; in dccp_v6_hnd_req()
313 nsk = __inet6_lookup_established(sock_net(sk), &dccp_hashinfo, in dccp_v6_hnd_req()
317 if (nsk != NULL) { in dccp_v6_hnd_req()
318 if (nsk->sk_state != DCCP_TIME_WAIT) { in dccp_v6_hnd_req()
319 bh_lock_sock(nsk); in dccp_v6_hnd_req()
320 return nsk; in dccp_v6_hnd_req()
322 inet_twsk_put(inet_twsk(nsk)); in dccp_v6_hnd_req()
663 struct sock *nsk = dccp_v6_hnd_req(sk, skb); in dccp_v6_do_rcv() local
665 if (nsk == NULL) in dccp_v6_do_rcv()
672 if (nsk != sk) { in dccp_v6_do_rcv()
673 if (dccp_child_process(sk, nsk, skb)) in dccp_v6_do_rcv()