Lines Matching defs:tp
171 struct tcp_sock *tp = tcp_sk(sk);
173 if (TCP_SKB_CB(skb)->end_seq == tp->rcv_nxt)
187 tp->segs_in = 0;
188 tcp_segs_in(tp, skb);
196 tp->rcv_nxt = TCP_SKB_CB(skb)->end_seq;
198 tp->syn_data_acked = 1;
200 /* u64_stats_update_begin(&tp->syncp) not needed here,
203 tp->bytes_received = skb->len;
242 struct tcp_sock *tp;
260 tp = tcp_sk(child);
262 rcu_assign_pointer(tp->fastopen_rsk, req);
268 tp->snd_wnd = ntohs(tcp_hdr(skb)->window);
269 tp->max_window = tp->snd_wnd;
284 tp->rcv_nxt = TCP_SKB_CB(skb)->seq + 1;
288 tcp_rsk(req)->rcv_nxt = tp->rcv_nxt;
289 tp->rcv_wup = tp->rcv_nxt;
449 struct tcp_sock *tp = tcp_sk(sk);
452 if (tp->fastopen_connect && !tp->fastopen_req) {
461 tp->fastopen_req = kzalloc(sizeof(*tp->fastopen_req),
463 if (tp->fastopen_req)
464 tp->fastopen_req->cookie = cookie;
556 struct tcp_sock *tp = tcp_sk(sk);
560 if (!tp->syn_fastopen)
563 if (!tp->data_segs_in) {
564 skb = skb_rb_first(&tp->out_of_order_queue);
571 } else if (tp->syn_fastopen_ch &&
583 struct tcp_sock *tp = tcp_sk(sk);
590 if ((tp->syn_fastopen || tp->syn_data || tp->syn_data_acked) &&