Lines Matching refs:th_ack
1276 fsize = tp->snd_max - th->th_ack; in tcp_bad_rexmt_restore_state()
1343 SEQ_GEQ(th->th_ack, tp->t_tlphighrxt) && in tcp_bad_rexmt_check()
1357 } else if (tcp_rxtseg_detect_bad_rexmt(tp, th->th_ack)) { in tcp_bad_rexmt_check()
1642 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_update_window()
1643 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))) { in tcp_update_window()
1646 tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd) { in tcp_update_window()
1651 tp->snd_wl2 = th->th_ack; in tcp_update_window()
2849 th->th_seq, th->th_ack, th->th_win); in tcp_input()
2908 th->th_seq, th->th_ack, th->th_win); in tcp_input()
3011 NTOHL(th->th_ack); in tcp_input()
3264 highest_sacked_seq = th->th_ack; in tcp_input()
3306 tpi.iss = th->th_ack - 1; in tcp_input()
3500 th->th_seq, th->th_ack, tlen, thflags, in tcp_input()
3642 (SEQ_GT(th->th_ack, tp->iss) && in tcp_input()
3643 SEQ_LEQ(th->th_ack, tp->snd_max))) { in tcp_input()
3760 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_input()
3761 SEQ_LEQ(th->th_ack, tp->snd_max) && in tcp_input()
3778 VERIFY(SEQ_GEQ(th->th_ack, tp->snd_una)); in tcp_input()
3804 tcp_segs_doack(tp, th->th_ack, &to); in tcp_input()
3805 if (SEQ_LT(tp->snd_fack, th->th_ack)) { in tcp_input()
3813 tp->snd_fack = th->th_ack; in tcp_input()
3831 SEQ_LEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
3832 tp->snd_recover = th->th_ack - 1; in tcp_input()
3835 tcp_update_snd_una(tp, th->th_ack); in tcp_input()
3843 tp->snd_wl2 = th->th_ack; in tcp_input()
3901 } else if (th->th_ack == tp->snd_una && LIST_EMPTY(&tp->t_segq) && in tcp_input()
3989 th->th_seq, th->th_ack, th->th_win); in tcp_input()
3993 th->th_seq, th->th_ack, th->th_win); in tcp_input()
4090 (SEQ_LEQ(th->th_ack, tp->snd_una) || in tcp_input()
4091 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_input()
4125 (SEQ_LEQ(th->th_ack, tp->iss) || in tcp_input()
4126 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_input()
4207 if (SEQ_GT(tp->snd_nxt, th->th_ack)) { in tcp_input()
4215 tp->snd_max == th->th_ack + 1 && in tcp_input()
4226 tp->snd_max = tp->snd_nxt = th->th_ack; in tcp_input()
4283 inp_count_sndbytes(inp, th->th_ack); in tcp_input()
4303 SEQ_LT(tp->snd_una, th->th_ack)) { in tcp_input()
4942 inp_count_sndbytes(inp, th->th_ack); in tcp_input()
5053 if (SEQ_GT(th->th_ack, tp->snd_max)) { in tcp_input()
5064 if (SEQ_LT(th->th_ack, tp->snd_una - byte_limit)) { in tcp_input()
5089 SEQ_LEQ(th->th_ack, tp->snd_una) && in tcp_input()
5102 if (tp->t_mpuna && SEQ_GEQ(th->th_ack, tp->t_mpuna)) { in tcp_input()
5137 if (SEQ_LEQ(th->th_ack, tp->snd_una)) { in tcp_input()
5257 (th->th_ack != tp->snd_una && sack_bytes_acked == 0)) { in tcp_input()
5349 if (SEQ_LEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
5422 tp->snd_nxt = th->th_ack; in tcp_input()
5470 if (SEQ_LT(th->th_ack, tp->snd_recover)) { in tcp_input()
5515 if (SEQ_GEQ(th->th_ack, tp->snd_recover) || in tcp_input()
5533 VERIFY(SEQ_GEQ(th->th_ack, tp->snd_una)); in tcp_input()
5561 if (th->th_ack == tp->snd_max) { in tcp_input()
5591 tcp_segs_doack(tp, th->th_ack, &to); in tcp_input()
5595 if (SEQ_LT(tp->snd_fack, th->th_ack)) { in tcp_input()
5596 tp->snd_fack = th->th_ack; in tcp_input()
5622 if (th->th_ack == tp->iss + 1) { in tcp_input()
5709 SEQ_LEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
5710 tp->snd_recover = th->th_ack - 1; in tcp_input()
5714 SEQ_GEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
5721 tcp_update_snd_una(tp, th->th_ack); in tcp_input()
5856 SEQ_LEQ(th->th_ack, tp->snd_una) && tlen == 0 && in tcp_input()
6114 th->th_seq, th->th_ack, th->th_win); in tcp_input()
6118 th->th_seq, th->th_ack, th->th_win); in tcp_input()
6270 (SEQ_GT(tp->snd_una, th->th_ack) || in tcp_input()
6271 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_input()
6317 tcp_respond(tp, mtod(m, void *), m->m_len, th, m, (tcp_seq)0, th->th_ack, in tcp_input()
6361 HTONL(th->th_ack); in tcp_input()
6721 if (tp->t_rtttime != 0 && SEQ_GT(th->th_ack, tp->t_rtseq)) { in tcp_compute_rtt()
6735 if (SEQ_GT(th->th_ack, tp->t_pipeack_lastuna)) { in tcp_compute_rtt()
6736 pipe_ack_val = th->th_ack - tp->t_pipeack_lastuna; in tcp_compute_rtt()
6755 to->to_tsecr, th->th_ack); in tcp_compute_rtt()
6757 tcp_xmit_timer(tp, rtt, 0, th->th_ack); in tcp_compute_rtt()
6837 u_int32_t tsecr, tcp_seq th_ack) in tcp_xmit_timer() argument
6874 th_ack == tp->iss + 1) { in tcp_xmit_timer()
6879 if (SEQ_GT(th_ack, tp->snd_una) && in tcp_xmit_timer()
6880 SEQ_LEQ(th_ack, tp->snd_max) && in tcp_xmit_timer()
7367 tp->snd_nxt = th->th_ack; in tcp_newreno_partial_ack()