Lines Matching refs:th_ack

354 		    SEQ_GEQ(th->th_ack, tp->gput_ack)) {  in cc_ack_received()
358 gput = (((int64_t)(th->th_ack - tp->gput_seq)) << 3) / in cc_ack_received()
390 tp->ccv->curack = th->th_ack; in cc_ack_received()
477 SEQ_GEQ(th->th_ack, tp->snd_recover)) { in cc_cong_signal()
510 tp->ccv->curack = th->th_ack; in cc_cong_signal()
523 tp->ccv->curack = th->th_ack; in cc_post_recovery()
1594 (SEQ_LEQ(th->th_ack, tp->iss) || SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment()
1814 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_do_segment()
1815 SEQ_LEQ(th->th_ack, tp->snd_max) && in tcp_do_segment()
1853 SEQ_GT(th->th_ack, tp->t_rtseq)) { in tcp_do_segment()
1871 SEQ_LEQ(th->th_ack, tp->snd_recover)) in tcp_do_segment()
1872 tp->snd_recover = th->th_ack - 1; in tcp_do_segment()
1882 tp->snd_una = th->th_ack; in tcp_do_segment()
1887 tp->snd_wl2 = th->th_ack; in tcp_do_segment()
1917 } else if (th->th_ack == tp->snd_una && in tcp_do_segment()
2007 (SEQ_LEQ(th->th_ack, tp->snd_una) || in tcp_do_segment()
2008 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment()
2084 tp->snd_nxt = th->th_ack; in tcp_do_segment()
2510 if (SEQ_GT(th->th_ack, tp->snd_una) && !(tp->t_flags & TF_NEEDSYN)) in tcp_do_segment()
2538 if (SEQ_GT(th->th_ack, tp->snd_max)) { in tcp_do_segment()
2543 sack_changed = tcp_sack_doack(tp, &to, th->th_ack); in tcp_do_segment()
2556 if (SEQ_LEQ(th->th_ack, tp->snd_una)) { in tcp_do_segment()
2611 if (th->th_ack != tp->snd_una || in tcp_do_segment()
2680 if (SEQ_LEQ(th->th_ack, in tcp_do_segment()
2715 if (SEQ_GT(th->th_ack, tp->snd_una)) in tcp_do_segment()
2719 tp->snd_nxt = th->th_ack; in tcp_do_segment()
2815 KASSERT(SEQ_GT(th->th_ack, tp->snd_una), in tcp_do_segment()
2823 if (SEQ_LT(th->th_ack, tp->snd_recover)) { in tcp_do_segment()
2838 if (SEQ_LT(th->th_ack, tp->snd_recover)) { in tcp_do_segment()
2841 tp->snd_fack = th->th_ack; in tcp_do_segment()
2885 tp->snd_una, th->th_ack, tp, m)); in tcp_do_segment()
2925 } else if (tp->t_rtttime && SEQ_GT(th->th_ack, tp->t_rtseq)) { in tcp_do_segment()
2937 if (th->th_ack == tp->snd_max) { in tcp_do_segment()
2980 SEQ_LEQ(th->th_ack, tp->snd_recover)) in tcp_do_segment()
2981 tp->snd_recover = th->th_ack - 1; in tcp_do_segment()
2984 SEQ_GEQ(th->th_ack, tp->snd_recover)) { in tcp_do_segment()
2987 tp->snd_una = th->th_ack; in tcp_do_segment()
3063 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_do_segment()
3064 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))) { in tcp_do_segment()
3067 tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd) in tcp_do_segment()
3071 tp->snd_wl2 = th->th_ack; in tcp_do_segment()
3351 (SEQ_GT(tp->snd_una, th->th_ack) || in tcp_do_segment()
3352 SEQ_GT(th->th_ack, tp->snd_max)) ) { in tcp_do_segment()
3445 th->th_ack, TH_RST); in tcp_dropwithreset()
4057 tp->snd_nxt = th->th_ack; in tcp_newreno_partial_ack()