Lines Matching refs:tp
177 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_add_skb() local
179 if (TCP_SKB_CB(skb)->end_seq == tp->rcv_nxt) in tcp_fastopen_add_skb()
193 tp->segs_in = 0; in tcp_fastopen_add_skb()
194 tcp_segs_in(tp, skb); in tcp_fastopen_add_skb()
202 tp->rcv_nxt = TCP_SKB_CB(skb)->end_seq; in tcp_fastopen_add_skb()
204 tp->syn_data_acked = 1; in tcp_fastopen_add_skb()
209 tp->bytes_received = skb->len; in tcp_fastopen_add_skb()
248 struct tcp_sock *tp; in tcp_fastopen_create_child() local
266 tp = tcp_sk(child); in tcp_fastopen_create_child()
268 rcu_assign_pointer(tp->fastopen_rsk, req); in tcp_fastopen_create_child()
274 tp->snd_wnd = ntohs(tcp_hdr(skb)->window); in tcp_fastopen_create_child()
275 tp->max_window = tp->snd_wnd; in tcp_fastopen_create_child()
289 tp->rcv_nxt = TCP_SKB_CB(skb)->seq + 1; in tcp_fastopen_create_child()
293 tcp_rsk(req)->rcv_nxt = tp->rcv_nxt; in tcp_fastopen_create_child()
294 tp->rcv_wup = tp->rcv_nxt; in tcp_fastopen_create_child()
454 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_defer_connect() local
457 if (tp->fastopen_connect && !tp->fastopen_req) { in tcp_fastopen_defer_connect()
466 tp->fastopen_req = kzalloc(sizeof(*tp->fastopen_req), in tcp_fastopen_defer_connect()
468 if (tp->fastopen_req) in tcp_fastopen_defer_connect()
469 tp->fastopen_req->cookie = cookie; in tcp_fastopen_defer_connect()
561 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_active_disable_ofo_check() local
565 if (!tp->syn_fastopen) in tcp_fastopen_active_disable_ofo_check()
568 if (!tp->data_segs_in) { in tcp_fastopen_active_disable_ofo_check()
569 skb = skb_rb_first(&tp->out_of_order_queue); in tcp_fastopen_active_disable_ofo_check()
576 } else if (tp->syn_fastopen_ch && in tcp_fastopen_active_disable_ofo_check()
588 struct tcp_sock *tp = tcp_sk(sk); in tcp_fastopen_active_detect_blackhole() local
595 if ((tp->syn_fastopen || tp->syn_data || tp->syn_data_acked) && in tcp_fastopen_active_detect_blackhole()