Lines Matching refs:snd_una

491 	bw_meas_bytes = tp->snd_una - tp->t_bwmeas->bw_start;
2255 if (SEQ_GT(th->th_ack, tp->snd_una) &&
2303 acked = th->th_ack - tp->snd_una;
2309 * assume that snd_una is not updated yet.
2321 if (SEQ_GT(tp->snd_una, tp->snd_recover) &&
2324 tp->snd_una = th->th_ack;
2344 if (tp->snd_una == tp->snd_max)
2362 } else if (th->th_ack == tp->snd_una &&
2489 * Also initialize tp->snd_nxt to tp->iss+1 and tp->snd_una to tp->iss.
2563 tp->snd_recover = tp->snd_una;
2606 (SEQ_LEQ(th->th_ack, tp->snd_una) ||
2624 * if seg contains ack then advance tp->snd_una
2680 tp->snd_una++; /* SYN is acked */
3185 * tp->snd_una < th->th_ack <= tp->snd_max
3186 * then advance tp->snd_una to th->th_ack and drop
3204 if (SEQ_LEQ(th->th_ack, tp->snd_una)) {
3232 th->th_ack != tp->snd_una)
3368 * increment snd_una for ACK of SYN, and check if
3372 tp->snd_una++;
3382 acked = th->th_ack - tp->snd_una;
3472 * The calculations in this function assume that snd_una is
3495 SEQ_GT(tp->snd_una, tp->snd_recover) &&
3503 tp->snd_una = th->th_ack;
3505 if (SEQ_GT(tp->snd_una, tp->snd_recover))
3506 tp->snd_recover = tp->snd_una;
3508 if (SEQ_LT(tp->snd_nxt, tp->snd_una))
3509 tp->snd_nxt = tp->snd_una;
3515 * sowwakeup must happen after snd_una, et al. are updated so that
3907 (SEQ_GT(tp->snd_una, th->th_ack) ||
4641 * (tp->snd_una has not yet been updated when this function
4644 tp->snd_cwnd = tp->t_maxseg + (th->th_ack - tp->snd_una);
4651 * Partial window deflation. Relies on fact that tp->snd_una
4654 if (tp->snd_cwnd > th->th_ack - tp->snd_una)
4655 tp->snd_cwnd -= th->th_ack - tp->snd_una;