Lines Matching refs:newsk
442 struct sock *newsk; in inet_csk_accept() local
468 newsk = req->sk; in inet_csk_accept()
489 return newsk; in inet_csk_accept()
491 newsk = NULL; in inet_csk_accept()
578 struct sock *newsk, in inet_csk_route_child_sock() argument
583 struct inet_sock *newinet = inet_sk(newsk); in inet_csk_route_child_sock()
785 struct sock *newsk = sk_clone_lock(sk, priority); in inet_csk_clone_lock() local
787 if (newsk) { in inet_csk_clone_lock()
788 struct inet_connection_sock *newicsk = inet_csk(newsk); in inet_csk_clone_lock()
790 inet_sk_set_state(newsk, TCP_SYN_RECV); in inet_csk_clone_lock()
793 inet_sk(newsk)->inet_dport = inet_rsk(req)->ir_rmt_port; in inet_csk_clone_lock()
794 inet_sk(newsk)->inet_num = inet_rsk(req)->ir_num; in inet_csk_clone_lock()
795 inet_sk(newsk)->inet_sport = htons(inet_rsk(req)->ir_num); in inet_csk_clone_lock()
798 sock_reset_flag(newsk, SOCK_RCU_FREE); in inet_csk_clone_lock()
800 inet_sk(newsk)->mc_list = NULL; in inet_csk_clone_lock()
802 newsk->sk_mark = inet_rsk(req)->ir_mark; in inet_csk_clone_lock()
803 atomic64_set(&newsk->sk_cookie, in inet_csk_clone_lock()
813 security_inet_csk_clone(newsk, req); in inet_csk_clone_lock()
815 return newsk; in inet_csk_clone_lock()