Lines Matching refs:snd_max
317 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una);
477 * If we've recently taken a timeout, snd_max will be greater than
481 if (SACK_ENABLED(tp) && SEQ_LT(tp->snd_nxt, tp->snd_max))
601 * If snd_nxt == snd_max and we have transmitted a FIN, the
606 * to snd_max after the fast-retransmit.
898 if (SEQ_LT(tp->snd_nxt, tp->snd_max))
1005 SEQ_GT(tp->snd_max, tp->snd_una) &&
1197 !SEQ_LT(tp->snd_nxt, tp->snd_max) && !sack_rxmit) {
1416 (so->so_snd.sb_cc - (tp->snd_max - tp->snd_una)) >=
1418 tp->t_bwmeas->bw_size = min((so->so_snd.sb_cc - (tp->snd_max - tp->snd_una)),
1421 tp->t_bwmeas->bw_start = tp->snd_max;
1434 else if (SEQ_LT(tp->snd_nxt, tp->snd_max) || sack_rxmit) {
1632 !SEQ_LT(tp->snd_nxt, tp->snd_max) && !sack_rxmit) {
1645 !SEQ_LT(tp->snd_nxt, tp->snd_max) && !sack_rxmit) {
1656 tp->snd_nxt == tp->snd_max)
1664 * (and no SYN or FIN), use snd_max instead of snd_nxt
1666 * state, snd_max might reflect one byte beyond the
1675 th->th_seq = htonl(tp->snd_max);
1793 * the retransmit. In persist state, just set snd_max.
1813 if (SEQ_GT(tp->snd_nxt, tp->snd_max)) {
1814 tp->snd_max = tp->snd_nxt;
1836 ((sack_rxmit && tp->snd_nxt != tp->snd_max) ||
1849 * Persist case, update snd_max but since we are in
1860 if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max))
1861 tp->snd_max = tp->snd_nxt + len;
1964 th->th_flags == TH_ACK && tp->snd_una == tp->snd_max &&