Lines Matching refs:th_ack
493 tp->snd_nxt = th->th_ack;
583 if (TCP_SACK_ENABLED(tp) && SEQ_GT(th->th_ack, tp->snd_fack))
584 tp->snd_fack = th->th_ack;
604 int acked = th->th_ack - tp->snd_una;
660 if (SEQ_LT(th->th_ack, tp->snd_high)) {
687 } else if (SEQ_LT(th->th_ack, tp->snd_recover)) {
723 if (((th->th_ack - tp->snd_una) / tp->t_segsz) > 2)
732 tp->snd_nxt = th->th_ack;
737 tp->snd_cwnd = tp->t_segsz + (th->th_ack - tp->snd_una);
746 tp->snd_cwnd -= (th->th_ack - tp->snd_una -
759 if (SEQ_SUB(tp->snd_max, th->th_ack) < tp->snd_ssthresh)
760 tp->snd_cwnd = SEQ_SUB(tp->snd_max, th->th_ack)
767 if (TCP_SACK_ENABLED(tp) && SEQ_GT(th->th_ack, tp->snd_fack))
768 tp->snd_fack = th->th_ack;
909 if (SEQ_LT(th->th_ack, tp->snd_high)) {