Lines Matching refs:snd_max
329 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una);
493 * If we've recently taken a timeout, snd_max will be greater than
497 if (SACK_ENABLED(tp) && SEQ_LT(tp->snd_nxt, tp->snd_max))
619 * If snd_nxt == snd_max and we have transmitted a FIN, the
624 * to snd_max after the fast-retransmit.
949 if (SEQ_LT(tp->snd_nxt, tp->snd_max))
1059 SEQ_GT(tp->snd_max, tp->snd_una) &&
1261 !SEQ_LT(tp->snd_nxt, tp->snd_max) && !sack_rxmit) {
1487 (so->so_snd.sb_cc - (tp->snd_max - tp->snd_una)) >=
1490 (so->so_snd.sb_cc - (tp->snd_max - tp->snd_una)),
1493 tp->t_bwmeas->bw_start = tp->snd_max;
1506 else if (SEQ_LT(tp->snd_nxt, tp->snd_max) || sack_rxmit) {
1682 !SEQ_LT(tp->snd_nxt, tp->snd_max) && !sack_rxmit) {
1699 !SEQ_LT(tp->snd_nxt, tp->snd_max) && !sack_rxmit) {
1714 tp->snd_nxt == tp->snd_max)
1722 * (and no SYN or FIN), use snd_max instead of snd_nxt
1724 * state, snd_max might reflect one byte beyond the
1733 th->th_seq = htonl(tp->snd_max);
1856 * the retransmit. In persist state, just set snd_max.
1877 if (SEQ_GT(tp->snd_nxt, tp->snd_max)) {
1878 tp->snd_max = tp->snd_nxt;
1896 ((sack_rxmit && tp->snd_nxt != tp->snd_max) ||
1917 && tp->snd_nxt == tp->snd_max
1932 if ((tp->snd_max - tp->snd_una) == tp->t_maxseg)
1958 * Persist case, update snd_max but since we are in
1969 if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max))
1970 tp->snd_max = tp->snd_nxt + len;
2086 th->th_flags == TH_ACK && tp->snd_una == tp->snd_max &&