Lines Matching refs:newsk
299 struct sock *newsk; in inet_csk_accept() local
325 newsk = req->sk; in inet_csk_accept()
348 return newsk; in inet_csk_accept()
350 newsk = NULL; in inet_csk_accept()
434 struct sock *newsk, in inet_csk_route_child_sock() argument
439 struct inet_sock *newinet = inet_sk(newsk); in inet_csk_route_child_sock()
709 struct sock *newsk = sk_clone_lock(sk, priority); in inet_csk_clone_lock() local
711 if (newsk) { in inet_csk_clone_lock()
712 struct inet_connection_sock *newicsk = inet_csk(newsk); in inet_csk_clone_lock()
714 newsk->sk_state = TCP_SYN_RECV; in inet_csk_clone_lock()
717 inet_sk(newsk)->inet_dport = inet_rsk(req)->ir_rmt_port; in inet_csk_clone_lock()
718 inet_sk(newsk)->inet_num = inet_rsk(req)->ir_num; in inet_csk_clone_lock()
719 inet_sk(newsk)->inet_sport = htons(inet_rsk(req)->ir_num); in inet_csk_clone_lock()
720 newsk->sk_write_space = sk_stream_write_space; in inet_csk_clone_lock()
722 newsk->sk_mark = inet_rsk(req)->ir_mark; in inet_csk_clone_lock()
723 atomic64_set(&newsk->sk_cookie, in inet_csk_clone_lock()
733 security_inet_csk_clone(newsk, req); in inet_csk_clone_lock()
735 return newsk; in inet_csk_clone_lock()