Lines Matching refs:th_ack
1414 fsize = tp->snd_max - th->th_ack; in tcp_bad_rexmt_restore_state()
1476 SEQ_GEQ(th->th_ack, tp->t_tlphighrxt) && in tcp_bad_rexmt_check()
1489 } else if (tcp_rxtseg_detect_bad_rexmt(tp, th->th_ack)) { in tcp_bad_rexmt_check()
1777 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_update_window()
1778 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))) { in tcp_update_window()
1781 tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd) { in tcp_update_window()
1786 tp->snd_wl2 = th->th_ack; in tcp_update_window()
1970 th->th_seq, th->th_ack, th->th_win); in tcp_input()
2027 th->th_seq, th->th_ack, th->th_win); in tcp_input()
2127 NTOHL(th->th_ack); in tcp_input()
2759 th->th_seq, th->th_ack, tlen, thflags, in tcp_input()
2917 (SEQ_GT(th->th_ack, tp->iss) && in tcp_input()
2918 SEQ_LEQ(th->th_ack, tp->snd_max))) { in tcp_input()
3027 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_input()
3028 SEQ_LEQ(th->th_ack, tp->snd_max) && in tcp_input()
3045 VERIFY(SEQ_GEQ(th->th_ack, tp->snd_una)); in tcp_input()
3064 SEQ_LEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
3065 tp->snd_recover = th->th_ack - 1; in tcp_input()
3068 tcp_update_snd_una(tp, th->th_ack); in tcp_input()
3076 tp->snd_wl2 = th->th_ack; in tcp_input()
3133 } else if (th->th_ack == tp->snd_una && LIST_EMPTY(&tp->t_segq) && in tcp_input()
3213 th->th_seq, th->th_ack, th->th_win); in tcp_input()
3217 th->th_seq, th->th_ack, th->th_win); in tcp_input()
3486 (SEQ_LEQ(th->th_ack, tp->snd_una) || in tcp_input()
3487 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_input()
3566 (SEQ_LEQ(th->th_ack, tp->iss) || in tcp_input()
3567 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_input()
3763 if (SEQ_GT(tp->snd_nxt, th->th_ack)) { in tcp_input()
3771 tp->snd_max == th->th_ack + 1 && in tcp_input()
3782 tp->snd_max = tp->snd_nxt = th->th_ack; in tcp_input()
3836 inp_count_sndbytes(inp, th->th_ack); in tcp_input()
3856 SEQ_LT(tp->snd_una, th->th_ack)) { in tcp_input()
4489 inp_count_sndbytes(inp, th->th_ack); in tcp_input()
4572 if (SEQ_GT(th->th_ack, tp->snd_max)) { in tcp_input()
4581 if (SEQ_LT(th->th_ack, tp->snd_una - tp->max_sndwnd)) { in tcp_input()
4597 SEQ_LEQ(th->th_ack, tp->snd_una) && in tcp_input()
4610 if (tp->t_mpuna && SEQ_GEQ(th->th_ack, tp->t_mpuna)) { in tcp_input()
4645 if (SEQ_LEQ(th->th_ack, tp->snd_una)) { in tcp_input()
4778 (th->th_ack != tp->snd_una && sack_bytes_acked == 0)) { in tcp_input()
4858 if (SEQ_LEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
4930 tp->snd_nxt = th->th_ack; in tcp_input()
4975 if (SEQ_LT(th->th_ack, tp->snd_recover)) { in tcp_input()
5015 if (SEQ_GEQ(th->th_ack, tp->snd_recover) || in tcp_input()
5034 VERIFY(SEQ_GEQ(th->th_ack, tp->snd_una)); in tcp_input()
5062 if (th->th_ack == tp->snd_max) { in tcp_input()
5156 SEQ_LEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
5157 tp->snd_recover = th->th_ack - 1; in tcp_input()
5161 SEQ_GEQ(th->th_ack, tp->snd_recover)) { in tcp_input()
5165 tcp_update_snd_una(tp, th->th_ack); in tcp_input()
5285 SEQ_LEQ(th->th_ack, tp->snd_una) && tlen == 0 && in tcp_input()
5532 th->th_seq, th->th_ack, th->th_win); in tcp_input()
5536 th->th_seq, th->th_ack, th->th_win); in tcp_input()
5674 (SEQ_GT(tp->snd_una, th->th_ack) || in tcp_input()
5675 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_input()
5733 tcp_respond(tp, mtod(m, void *), th, m, (tcp_seq)0, th->th_ack, in tcp_input()
6096 if (tp->t_rtttime != 0 && SEQ_GT(th->th_ack, tp->t_rtseq)) { in tcp_compute_rtt()
6110 if (SEQ_GT(th->th_ack, tp->t_pipeack_lastuna)) { in tcp_compute_rtt()
6111 pipe_ack_val = th->th_ack - tp->t_pipeack_lastuna; in tcp_compute_rtt()
6130 to->to_tsecr, th->th_ack); in tcp_compute_rtt()
6132 tcp_xmit_timer(tp, rtt, 0, th->th_ack); in tcp_compute_rtt()
6212 u_int32_t tsecr, tcp_seq th_ack) in tcp_xmit_timer() argument
6249 th_ack == tp->iss + 1) { in tcp_xmit_timer()
6254 if (SEQ_GT(th_ack, tp->snd_una) && in tcp_xmit_timer()
6255 SEQ_LEQ(th_ack, tp->snd_max) && in tcp_xmit_timer()
6753 tp->snd_nxt = th->th_ack; in tcp_newreno_partial_ack()