Lines Matching refs:snd_max
313 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una);
458 * If we've recently taken a timeout, snd_max will be greater than
462 if (tp->sack_enable && SEQ_LT(tp->snd_nxt, tp->snd_max))
581 * If snd_nxt == snd_max and we have transmitted a FIN, the
586 * to snd_max after the fast-retransmit.
827 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) {
933 SEQ_GT(tp->snd_max, tp->snd_una) &&
1110 !SEQ_LT(tp->snd_nxt, tp->snd_max) && !sack_rxmit) {
1290 (so->so_snd.sb_cc - (tp->snd_max - tp->snd_una)) >=
1292 tp->t_bwmeas->bw_size = min((so->so_snd.sb_cc - (tp->snd_max - tp->snd_una)),
1295 tp->t_bwmeas->bw_start = tp->snd_max;
1309 else if (SEQ_LT(tp->snd_nxt, tp->snd_max) || sack_rxmit) {
1465 !SEQ_LT(tp->snd_nxt, tp->snd_max) && !sack_rxmit) {
1478 !SEQ_LT(tp->snd_nxt, tp->snd_max) && !sack_rxmit) {
1489 tp->snd_nxt == tp->snd_max)
1497 * (and no SYN or FIN), use snd_max instead of snd_nxt
1499 * state, snd_max might reflect one byte beyond the
1508 th->th_seq = htonl(tp->snd_max);
1623 * the retransmit. In persist state, just set snd_max.
1642 if (SEQ_GT(tp->snd_nxt, tp->snd_max)) {
1643 tp->snd_max = tp->snd_nxt;
1665 ((sack_rxmit && tp->snd_nxt != tp->snd_max) ||
1677 * Persist case, update snd_max but since we are in
1687 if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max))
1688 tp->snd_max = tp->snd_nxt + len;
1789 th->th_flags == TH_ACK && tp->snd_una == tp->snd_max &&