Lines Matching refs:newsk
458 struct sock *newsk; in dccp_v6_request_recv_sock() local
464 newsk = dccp_v4_request_recv_sock(sk, skb, req, dst); in dccp_v6_request_recv_sock()
465 if (newsk == NULL) in dccp_v6_request_recv_sock()
468 newdp6 = (struct dccp6_sock *)newsk; in dccp_v6_request_recv_sock()
469 newinet = inet_sk(newsk); in dccp_v6_request_recv_sock()
471 newnp = inet6_sk(newsk); in dccp_v6_request_recv_sock()
481 inet_csk(newsk)->icsk_af_ops = &dccp_ipv6_mapped; in dccp_v6_request_recv_sock()
482 newsk->sk_backlog_rcv = dccp_v4_do_rcv; in dccp_v6_request_recv_sock()
501 dccp_sync_mss(newsk, inet_csk(newsk)->icsk_pmtu_cookie); in dccp_v6_request_recv_sock()
503 return newsk; in dccp_v6_request_recv_sock()
529 newsk = dccp_create_openreq_child(sk, req, skb); in dccp_v6_request_recv_sock()
530 if (newsk == NULL) in dccp_v6_request_recv_sock()
539 __ip6_dst_store(newsk, dst, NULL, NULL); in dccp_v6_request_recv_sock()
540 newsk->sk_route_caps = dst->dev->features & ~(NETIF_F_IP_CSUM | in dccp_v6_request_recv_sock()
542 newdp6 = (struct dccp6_sock *)newsk; in dccp_v6_request_recv_sock()
543 newinet = inet_sk(newsk); in dccp_v6_request_recv_sock()
545 newnp = inet6_sk(newsk); in dccp_v6_request_recv_sock()
552 newsk->sk_bound_dev_if = ireq6->iif; in dccp_v6_request_recv_sock()
574 skb_set_owner_r(newnp->pktoptions, newsk); in dccp_v6_request_recv_sock()
588 opt = ipv6_dup_options(newsk, opt); in dccp_v6_request_recv_sock()
591 inet_csk(newsk)->icsk_ext_hdr_len = 0; in dccp_v6_request_recv_sock()
593 inet_csk(newsk)->icsk_ext_hdr_len = opt->opt_nflen + in dccp_v6_request_recv_sock()
596 dccp_sync_mss(newsk, dst_mtu(dst)); in dccp_v6_request_recv_sock()
601 if (__inet_inherit_port(sk, newsk) < 0) { in dccp_v6_request_recv_sock()
602 inet_csk_prepare_forced_close(newsk); in dccp_v6_request_recv_sock()
603 dccp_done(newsk); in dccp_v6_request_recv_sock()
606 __inet6_hash(newsk, NULL); in dccp_v6_request_recv_sock()
608 return newsk; in dccp_v6_request_recv_sock()