• Home
  • Raw
  • Download

Lines Matching refs:newsk

1103 	struct sock *newsk;  in tcp_v6_syn_recv_sock()  local
1114 newsk = tcp_v4_syn_recv_sock(sk, skb, req, dst); in tcp_v6_syn_recv_sock()
1116 if (newsk == NULL) in tcp_v6_syn_recv_sock()
1119 newtcp6sk = (struct tcp6_sock *)newsk; in tcp_v6_syn_recv_sock()
1120 inet_sk(newsk)->pinet6 = &newtcp6sk->inet6; in tcp_v6_syn_recv_sock()
1122 newinet = inet_sk(newsk); in tcp_v6_syn_recv_sock()
1123 newnp = inet6_sk(newsk); in tcp_v6_syn_recv_sock()
1124 newtp = tcp_sk(newsk); in tcp_v6_syn_recv_sock()
1134 inet_csk(newsk)->icsk_af_ops = &ipv6_mapped; in tcp_v6_syn_recv_sock()
1135 newsk->sk_backlog_rcv = tcp_v4_do_rcv; in tcp_v6_syn_recv_sock()
1159 tcp_sync_mss(newsk, inet_csk(newsk)->icsk_pmtu_cookie); in tcp_v6_syn_recv_sock()
1161 return newsk; in tcp_v6_syn_recv_sock()
1175 newsk = tcp_create_openreq_child(sk, req, skb); in tcp_v6_syn_recv_sock()
1176 if (newsk == NULL) in tcp_v6_syn_recv_sock()
1185 newsk->sk_gso_type = SKB_GSO_TCPV6; in tcp_v6_syn_recv_sock()
1186 __ip6_dst_store(newsk, dst, NULL, NULL); in tcp_v6_syn_recv_sock()
1187 inet6_sk_rx_dst_set(newsk, skb); in tcp_v6_syn_recv_sock()
1189 newtcp6sk = (struct tcp6_sock *)newsk; in tcp_v6_syn_recv_sock()
1190 inet_sk(newsk)->pinet6 = &newtcp6sk->inet6; in tcp_v6_syn_recv_sock()
1192 newtp = tcp_sk(newsk); in tcp_v6_syn_recv_sock()
1193 newinet = inet_sk(newsk); in tcp_v6_syn_recv_sock()
1194 newnp = inet6_sk(newsk); in tcp_v6_syn_recv_sock()
1201 newsk->sk_bound_dev_if = treq->iif; in tcp_v6_syn_recv_sock()
1223 skb_set_owner_r(newnp->pktoptions, newsk); in tcp_v6_syn_recv_sock()
1238 opt = ipv6_dup_options(newsk, opt); in tcp_v6_syn_recv_sock()
1241 inet_csk(newsk)->icsk_ext_hdr_len = 0; in tcp_v6_syn_recv_sock()
1243 inet_csk(newsk)->icsk_ext_hdr_len = opt->opt_nflen + in tcp_v6_syn_recv_sock()
1246 tcp_mtup_init(newsk); in tcp_v6_syn_recv_sock()
1247 tcp_sync_mss(newsk, dst_mtu(dst)); in tcp_v6_syn_recv_sock()
1253 tcp_initialize_rcv_mss(newsk); in tcp_v6_syn_recv_sock()
1254 tcp_synack_rtt_meas(newsk, req); in tcp_v6_syn_recv_sock()
1268 tcp_md5_do_add(newsk, (union tcp_md5_addr *)&newnp->daddr, in tcp_v6_syn_recv_sock()
1274 if (__inet_inherit_port(sk, newsk) < 0) { in tcp_v6_syn_recv_sock()
1275 inet_csk_prepare_forced_close(newsk); in tcp_v6_syn_recv_sock()
1276 tcp_done(newsk); in tcp_v6_syn_recv_sock()
1279 __inet6_hash(newsk, NULL); in tcp_v6_syn_recv_sock()
1281 return newsk; in tcp_v6_syn_recv_sock()