Lines Matching refs:syn_data
3750 struct sk_buff *syn_data; in tcp_send_syn_data() local
3772 syn_data = tcp_stream_alloc_skb(sk, space, sk->sk_allocation, false); in tcp_send_syn_data()
3773 if (!syn_data) in tcp_send_syn_data()
3775 memcpy(syn_data->cb, syn->cb, sizeof(syn->cb)); in tcp_send_syn_data()
3777 int copied = copy_from_iter(skb_put(syn_data, space), space, in tcp_send_syn_data()
3780 tcp_skb_tsorted_anchor_cleanup(syn_data); in tcp_send_syn_data()
3781 kfree_skb(syn_data); in tcp_send_syn_data()
3785 skb_trim(syn_data, copied); in tcp_send_syn_data()
3788 skb_zcopy_set(syn_data, fo->uarg, NULL); in tcp_send_syn_data()
3795 tcp_connect_queue_skb(sk, syn_data); in tcp_send_syn_data()
3796 if (syn_data->len) in tcp_send_syn_data()
3799 err = tcp_transmit_skb(sk, syn_data, 1, sk->sk_allocation); in tcp_send_syn_data()
3801 skb_set_delivery_time(syn, syn_data->skb_mstamp_ns, true); in tcp_send_syn_data()
3808 TCP_SKB_CB(syn_data)->seq++; in tcp_send_syn_data()
3809 TCP_SKB_CB(syn_data)->tcp_flags = TCPHDR_ACK | TCPHDR_PSH; in tcp_send_syn_data()
3811 tp->syn_data = (fo->copied > 0); in tcp_send_syn_data()
3812 tcp_rbtree_insert(&sk->tcp_rtx_queue, syn_data); in tcp_send_syn_data()
3818 __skb_queue_tail(&sk->sk_write_queue, syn_data); in tcp_send_syn_data()
3819 tp->packets_out -= tcp_skb_pcount(syn_data); in tcp_send_syn_data()