Lines Matching refs:newsk
401 struct sock *newsk; in dccp_v4_request_recv_sock() local
406 newsk = dccp_create_openreq_child(sk, req, skb); in dccp_v4_request_recv_sock()
407 if (newsk == NULL) in dccp_v4_request_recv_sock()
410 newinet = inet_sk(newsk); in dccp_v4_request_recv_sock()
421 if (dst == NULL && (dst = inet_csk_route_child_sock(sk, newsk, req)) == NULL) in dccp_v4_request_recv_sock()
424 sk_setup_caps(newsk, dst); in dccp_v4_request_recv_sock()
426 dccp_sync_mss(newsk, dst_mtu(dst)); in dccp_v4_request_recv_sock()
428 if (__inet_inherit_port(sk, newsk) < 0) in dccp_v4_request_recv_sock()
430 __inet_hash_nolisten(newsk, NULL); in dccp_v4_request_recv_sock()
432 return newsk; in dccp_v4_request_recv_sock()
442 inet_csk_prepare_forced_close(newsk); in dccp_v4_request_recv_sock()
443 dccp_done(newsk); in dccp_v4_request_recv_sock()