• Home
  • Raw
  • Download

Lines Matching refs:newsk

1560 	struct sock *newsk;  in tcp_v4_syn_recv_sock()  local
1571 newsk = tcp_create_openreq_child(sk, req, skb); in tcp_v4_syn_recv_sock()
1572 if (!newsk) in tcp_v4_syn_recv_sock()
1575 newsk->sk_gso_type = SKB_GSO_TCPV4; in tcp_v4_syn_recv_sock()
1576 inet_sk_rx_dst_set(newsk, skb); in tcp_v4_syn_recv_sock()
1578 newtp = tcp_sk(newsk); in tcp_v4_syn_recv_sock()
1579 newinet = inet_sk(newsk); in tcp_v4_syn_recv_sock()
1581 sk_daddr_set(newsk, ireq->ir_rmt_addr); in tcp_v4_syn_recv_sock()
1582 sk_rcv_saddr_set(newsk, ireq->ir_loc_addr); in tcp_v4_syn_recv_sock()
1583 newsk->sk_bound_dev_if = ireq->ir_iif; in tcp_v4_syn_recv_sock()
1590 inet_csk(newsk)->icsk_ext_hdr_len = 0; in tcp_v4_syn_recv_sock()
1592 inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen; in tcp_v4_syn_recv_sock()
1602 dst = inet_csk_route_child_sock(sk, newsk, req); in tcp_v4_syn_recv_sock()
1608 sk_setup_caps(newsk, dst); in tcp_v4_syn_recv_sock()
1610 tcp_ca_openreq_child(newsk, dst); in tcp_v4_syn_recv_sock()
1612 tcp_sync_mss(newsk, dst_mtu(dst)); in tcp_v4_syn_recv_sock()
1615 tcp_initialize_rcv_mss(newsk); in tcp_v4_syn_recv_sock()
1629 tcp_md5_do_add(newsk, addr, AF_INET, 32, l3index, key->flags, in tcp_v4_syn_recv_sock()
1631 sk_nocaps_add(newsk, NETIF_F_GSO_MASK); in tcp_v4_syn_recv_sock()
1635 if (__inet_inherit_port(sk, newsk) < 0) in tcp_v4_syn_recv_sock()
1637 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), in tcp_v4_syn_recv_sock()
1649 bh_unlock_sock(newsk); in tcp_v4_syn_recv_sock()
1650 sock_put(newsk); in tcp_v4_syn_recv_sock()
1651 newsk = NULL; in tcp_v4_syn_recv_sock()
1654 return newsk; in tcp_v4_syn_recv_sock()
1665 inet_csk_prepare_forced_close(newsk); in tcp_v4_syn_recv_sock()
1666 tcp_done(newsk); in tcp_v4_syn_recv_sock()