Lines Matching refs:nsk
450 struct sock *nsk; in dccp_v4_hnd_req() local
455 nsk = dccp_check_req(sk, skb, req); in dccp_v4_hnd_req()
456 if (!nsk) in dccp_v4_hnd_req()
458 return nsk; in dccp_v4_hnd_req()
460 nsk = inet_lookup_established(sock_net(sk), &dccp_hashinfo, in dccp_v4_hnd_req()
464 if (nsk != NULL) { in dccp_v4_hnd_req()
465 if (nsk->sk_state != DCCP_TIME_WAIT) { in dccp_v4_hnd_req()
466 bh_lock_sock(nsk); in dccp_v4_hnd_req()
467 return nsk; in dccp_v4_hnd_req()
469 inet_twsk_put(inet_twsk(nsk)); in dccp_v4_hnd_req()
708 struct sock *nsk = dccp_v4_hnd_req(sk, skb); in dccp_v4_do_rcv() local
710 if (nsk == NULL) in dccp_v4_do_rcv()
713 if (nsk != sk) { in dccp_v4_do_rcv()
714 if (dccp_child_process(sk, nsk, skb)) in dccp_v4_do_rcv()