Lines Matching refs:th_ack

1363 		fsize = tp->snd_max - th->th_ack;  in tcp_bad_rexmt_restore_state()
1430 SEQ_GEQ(th->th_ack, tp->t_tlphighrxt) && in tcp_bad_rexmt_check()
1444 } else if (tcp_rxtseg_detect_bad_rexmt(tp, th->th_ack)) { in tcp_bad_rexmt_check()
1727 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_update_window()
1728 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))) { in tcp_update_window()
1731 tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd) { in tcp_update_window()
1736 tp->snd_wl2 = th->th_ack; in tcp_update_window()
2114 th->th_seq, th->th_ack, th->th_win); in tcp_input()
2171 th->th_seq, th->th_ack, th->th_win); in tcp_input()
2271 NTOHL(th->th_ack); in tcp_input()
2504 highest_sacked_seq = th->th_ack; in tcp_input()
2902 th->th_seq, th->th_ack, tlen, thflags, in tcp_input()
3075 (SEQ_GT(th->th_ack, tp->iss) && in tcp_input()
3076 SEQ_LEQ(th->th_ack, tp->snd_max))) { in tcp_input()
3193 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_input()
3194 SEQ_LEQ(th->th_ack, tp->snd_max) && in tcp_input()
3211 VERIFY(SEQ_GEQ(th->th_ack, tp->snd_una)); in tcp_input()
3240 tcp_segs_doack(tp, th->th_ack, &to); in tcp_input()
3241 if (SEQ_LT(tp->snd_fack, th->th_ack)) { in tcp_input()
3249 tp->snd_fack = th->th_ack; in tcp_input()
3267 SEQ_LEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
3268 tp->snd_recover = th->th_ack - 1; in tcp_input()
3271 tcp_update_snd_una(tp, th->th_ack); in tcp_input()
3279 tp->snd_wl2 = th->th_ack; in tcp_input()
3337 } else if (th->th_ack == tp->snd_una && LIST_EMPTY(&tp->t_segq) && in tcp_input()
3417 th->th_seq, th->th_ack, th->th_win); in tcp_input()
3421 th->th_seq, th->th_ack, th->th_win); in tcp_input()
3641 (SEQ_LEQ(th->th_ack, tp->snd_una) || in tcp_input()
3642 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_input()
3675 (SEQ_LEQ(th->th_ack, tp->iss) || in tcp_input()
3676 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_input()
3907 if (SEQ_GT(tp->snd_nxt, th->th_ack)) { in tcp_input()
3915 tp->snd_max == th->th_ack + 1 && in tcp_input()
3926 tp->snd_max = tp->snd_nxt = th->th_ack; in tcp_input()
3983 inp_count_sndbytes(inp, th->th_ack); in tcp_input()
4003 SEQ_LT(tp->snd_una, th->th_ack)) { in tcp_input()
4645 inp_count_sndbytes(inp, th->th_ack); in tcp_input()
4819 if (SEQ_GT(th->th_ack, tp->snd_max)) { in tcp_input()
4828 if (SEQ_LT(th->th_ack, tp->snd_una - tp->max_sndwnd)) { in tcp_input()
4844 SEQ_LEQ(th->th_ack, tp->snd_una) && in tcp_input()
4861 tcp_rack_update_reordering_window(tp, th->th_ack); in tcp_input()
4865 if (tp->t_mpuna && SEQ_GEQ(th->th_ack, tp->t_mpuna)) { in tcp_input()
4900 if (SEQ_LEQ(th->th_ack, tp->snd_una)) { in tcp_input()
5018 (th->th_ack != tp->snd_una && sack_bytes_acked == 0)) { in tcp_input()
5110 if (SEQ_LEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
5183 tp->snd_nxt = th->th_ack; in tcp_input()
5231 if (SEQ_LT(th->th_ack, tp->snd_recover)) { in tcp_input()
5278 if (SEQ_GEQ(th->th_ack, tp->snd_recover) || in tcp_input()
5296 VERIFY(SEQ_GEQ(th->th_ack, tp->snd_una)); in tcp_input()
5324 if (th->th_ack == tp->snd_max) { in tcp_input()
5355 tcp_segs_doack(tp, th->th_ack, &to); in tcp_input()
5359 if (SEQ_LT(tp->snd_fack, th->th_ack)) { in tcp_input()
5360 tp->snd_fack = th->th_ack; in tcp_input()
5386 if (th->th_ack == tp->iss + 1) { in tcp_input()
5468 SEQ_LEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
5469 tp->snd_recover = th->th_ack - 1; in tcp_input()
5473 SEQ_GEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
5480 tcp_update_snd_una(tp, th->th_ack); in tcp_input()
5615 SEQ_LEQ(th->th_ack, tp->snd_una) && tlen == 0 && in tcp_input()
5862 th->th_seq, th->th_ack, th->th_win); in tcp_input()
5866 th->th_seq, th->th_ack, th->th_win); in tcp_input()
6018 (SEQ_GT(tp->snd_una, th->th_ack) || in tcp_input()
6019 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_input()
6065 tcp_respond(tp, mtod(m, void *), th, m, (tcp_seq)0, th->th_ack, in tcp_input()
6109 HTONL(th->th_ack); in tcp_input()
6458 if (tp->t_rtttime != 0 && SEQ_GT(th->th_ack, tp->t_rtseq)) { in tcp_compute_rtt()
6472 if (SEQ_GT(th->th_ack, tp->t_pipeack_lastuna)) { in tcp_compute_rtt()
6473 pipe_ack_val = th->th_ack - tp->t_pipeack_lastuna; in tcp_compute_rtt()
6492 to->to_tsecr, th->th_ack); in tcp_compute_rtt()
6494 tcp_xmit_timer(tp, rtt, 0, th->th_ack); in tcp_compute_rtt()
6574 u_int32_t tsecr, tcp_seq th_ack) in tcp_xmit_timer() argument
6611 th_ack == tp->iss + 1) { in tcp_xmit_timer()
6616 if (SEQ_GT(th_ack, tp->snd_una) && in tcp_xmit_timer()
6617 SEQ_LEQ(th_ack, tp->snd_max) && in tcp_xmit_timer()
7102 tp->snd_nxt = th->th_ack; in tcp_newreno_partial_ack()