Lines Matching refs:snd_una

566 	bw_meas_bytes = tp->snd_una - tp->t_bwmeas->bw_start;
2329 if (SEQ_GT(th->th_ack, tp->snd_una) &&
2364 * assume that snd_una is not updated yet.
2380 if (SEQ_GT(tp->snd_una, tp->snd_recover) &&
2383 tp->snd_una = th->th_ack;
2407 if (tp->snd_una == tp->snd_max)
2425 } else if (th->th_ack == tp->snd_una &&
2581 * Also initialize tp->snd_nxt to tp->iss+1 and tp->snd_una to tp->iss.
2656 tp->snd_recover = tp->snd_una;
2708 (SEQ_LEQ(th->th_ack, tp->snd_una) ||
2733 * if seg contains ack then advance tp->snd_una
2786 tp->snd_una++; /* SYN is acked */
3306 * tp->snd_una < th->th_ack <= tp->snd_max
3307 * then advance tp->snd_una to th->th_ack and drop
3368 if (SEQ_LEQ(th->th_ack, tp->snd_una)) {
3411 SEQ_GT(tp->snd_max, tp->snd_una) &&
3429 obytes = (tp->snd_max - tp->snd_una);
3440 snd_off = tp->snd_max - tp->snd_una;
3502 (th->th_ack != tp->snd_una && sack_bytes_acked == 0)) {
3595 (so->so_snd.sb_cc - (tp->snd_max - tp->snd_una)) > 0) {
3659 * increment snd_una for ACK of SYN, and check if
3663 tp->snd_una++;
3736 * The calculations in this function assume that snd_una is
3767 SEQ_GT(tp->snd_una, tp->snd_recover) &&
3775 tp->snd_una = th->th_ack;
3777 if (SEQ_GT(tp->snd_una, tp->snd_recover))
3778 tp->snd_recover = tp->snd_una;
3780 if (SEQ_LT(tp->snd_nxt, tp->snd_una))
3781 tp->snd_nxt = tp->snd_una;
3787 * sowwakeup must happen after snd_una, et al. are updated so that
3885 SEQ_LEQ(th->th_ack, tp->snd_una) && tlen == 0) {
4214 (SEQ_GT(tp->snd_una, th->th_ack) ||
4533 if (SEQ_GT(th_ack, tp->snd_una) &&
5002 * (tp->snd_una has not yet been updated when this function
5012 * Partial window deflation. Relies on fact that tp->snd_una