• Home
  • Raw
  • Download

Lines Matching refs:newsk

1525 	struct sock *newsk;  in tcp_v4_syn_recv_sock()  local
1536 newsk = tcp_create_openreq_child(sk, req, skb); in tcp_v4_syn_recv_sock()
1537 if (!newsk) in tcp_v4_syn_recv_sock()
1540 newsk->sk_gso_type = SKB_GSO_TCPV4; in tcp_v4_syn_recv_sock()
1541 inet_sk_rx_dst_set(newsk, skb); in tcp_v4_syn_recv_sock()
1543 newtp = tcp_sk(newsk); in tcp_v4_syn_recv_sock()
1544 newinet = inet_sk(newsk); in tcp_v4_syn_recv_sock()
1546 sk_daddr_set(newsk, ireq->ir_rmt_addr); in tcp_v4_syn_recv_sock()
1547 sk_rcv_saddr_set(newsk, ireq->ir_loc_addr); in tcp_v4_syn_recv_sock()
1548 newsk->sk_bound_dev_if = ireq->ir_iif; in tcp_v4_syn_recv_sock()
1555 inet_csk(newsk)->icsk_ext_hdr_len = 0; in tcp_v4_syn_recv_sock()
1557 inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_syn_recv_sock()
1567 dst = inet_csk_route_child_sock(sk, newsk, req); in tcp_v4_syn_recv_sock()
1573 sk_setup_caps(newsk, dst); in tcp_v4_syn_recv_sock()
1575 tcp_ca_openreq_child(newsk, dst); in tcp_v4_syn_recv_sock()
1577 tcp_sync_mss(newsk, dst_mtu(dst)); in tcp_v4_syn_recv_sock()
1580 tcp_initialize_rcv_mss(newsk); in tcp_v4_syn_recv_sock()
1594 tcp_md5_do_add(newsk, addr, AF_INET, 32, l3index, in tcp_v4_syn_recv_sock()
1596 sk_nocaps_add(newsk, NETIF_F_GSO_MASK); in tcp_v4_syn_recv_sock()
1600 if (__inet_inherit_port(sk, newsk) < 0) in tcp_v4_syn_recv_sock()
1602 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), in tcp_v4_syn_recv_sock()
1614 bh_unlock_sock(newsk); in tcp_v4_syn_recv_sock()
1615 sock_put(newsk); in tcp_v4_syn_recv_sock()
1616 newsk = NULL; in tcp_v4_syn_recv_sock()
1619 return newsk; in tcp_v4_syn_recv_sock()
1630 inet_csk_prepare_forced_close(newsk); in tcp_v4_syn_recv_sock()
1631 tcp_done(newsk); in tcp_v4_syn_recv_sock()