Lines Matching refs:th_ack

321 		    SEQ_GEQ(th->th_ack, tp->gput_ack)) {  in cc_ack_received()
325 gput = (((int64_t)SEQ_SUB(th->th_ack, tp->gput_seq)) << 3) / in cc_ack_received()
357 tp->t_ccv.curack = th->th_ack; in cc_ack_received()
443 SEQ_GEQ(th->th_ack, tp->snd_recover)) { in cc_cong_signal()
476 tp->t_ccv.curack = th->th_ack; in cc_cong_signal()
487 tp->t_ccv.curack = th->th_ack; in cc_post_recovery()
1572 (SEQ_LEQ(th->th_ack, tp->iss) || SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment()
1605 tcp_packets_this_ack(tp, th->th_ack), in tcp_do_segment()
1771 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_do_segment()
1772 SEQ_LEQ(th->th_ack, tp->snd_max) && in tcp_do_segment()
1810 SEQ_GT(th->th_ack, tp->t_rtseq)) { in tcp_do_segment()
1828 SEQ_LEQ(th->th_ack, tp->snd_recover)) in tcp_do_segment()
1829 tp->snd_recover = th->th_ack - 1; in tcp_do_segment()
1839 tp->snd_una = th->th_ack; in tcp_do_segment()
1844 tp->snd_wl2 = th->th_ack; in tcp_do_segment()
1884 } else if (th->th_ack == tp->snd_una && in tcp_do_segment()
1973 (SEQ_LEQ(th->th_ack, tp->snd_una) || in tcp_do_segment()
1974 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment()
2055 tp->snd_nxt = th->th_ack; in tcp_do_segment()
2445 if (SEQ_LT(th->th_ack, seq_min)) { in tcp_do_segment()
2517 if (SEQ_GT(th->th_ack, tp->snd_una) && !(tp->t_flags & TF_NEEDSYN)) in tcp_do_segment()
2545 if (SEQ_GT(th->th_ack, tp->snd_max)) { in tcp_do_segment()
2550 sack_changed = tcp_sack_doack(tp, &to, th->th_ack); in tcp_do_segment()
2567 if (SEQ_LEQ(th->th_ack, tp->snd_una)) { in tcp_do_segment()
2622 if (th->th_ack != tp->snd_una || in tcp_do_segment()
2692 if (SEQ_LEQ(th->th_ack, in tcp_do_segment()
2729 if (SEQ_GT(th->th_ack, tp->snd_una)) in tcp_do_segment()
2733 tp->snd_nxt = th->th_ack; in tcp_do_segment()
2835 KASSERT(SEQ_GT(th->th_ack, tp->snd_una), in tcp_do_segment()
2842 if (SEQ_LT(th->th_ack, tp->snd_recover)) { in tcp_do_segment()
2864 tp->snd_fack = th->th_ack; in tcp_do_segment()
2910 tp->snd_una, th->th_ack, tp, m)); in tcp_do_segment()
2950 } else if (tp->t_rtttime && SEQ_GT(th->th_ack, tp->t_rtseq)) { in tcp_do_segment()
2976 if (th->th_ack == tp->snd_max) { in tcp_do_segment()
3020 SEQ_LEQ(th->th_ack, tp->snd_recover)) in tcp_do_segment()
3021 tp->snd_recover = th->th_ack - 1; in tcp_do_segment()
3022 tp->snd_una = th->th_ack; in tcp_do_segment()
3024 SEQ_GEQ(th->th_ack, tp->snd_recover)) { in tcp_do_segment()
3098 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_do_segment()
3099 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))) { in tcp_do_segment()
3102 tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd) in tcp_do_segment()
3106 tp->snd_wl2 = th->th_ack; in tcp_do_segment()
3410 (SEQ_GT(tp->snd_una, th->th_ack) || in tcp_do_segment()
3411 SEQ_GT(th->th_ack, tp->snd_max)) ) { in tcp_do_segment()
3495 th->th_ack, TH_RST); in tcp_dropwithreset()
4114 tp->snd_nxt = th->th_ack; in tcp_newreno_partial_ack()