Lines Matching defs:cwnd
148 /* TCP cwnd burst factor. */
671 /* window size = MIN(swnd, cwnd) - unacked bytes */
2208 * Initialize cwnd according to draft-floyd-incr-init-win-01.txt.
2210 * of the initial cwnd. Now, when tcp_slow_start_initial * mss
2211 * is smaller than the cwnd calculated from the formula suggested in
2212 * the draft, we use tcp_slow_start_initial * mss as the cwnd.
2213 * Otherwise, use the cwnd from the draft's formula. The default
2632 uint32_t cwnd;
3442 * If the cwnd is 0, use the timer to clock out
3526 * Adjust cwnd since the duplicate
3625 * cwnd.
3627 cwnd = tcp->tcp_cwnd + mss;
3628 if (cwnd > tcp->tcp_cwnd_max)
3629 cwnd = tcp->tcp_cwnd_max;
3630 tcp->tcp_cwnd = cwnd;
3818 cwnd = tcp->tcp_cwnd;
3821 if (cwnd >= tcp->tcp_cwnd_ssthresh) {
3833 tcp->tcp_cwnd_cnt = cwnd + add;
3839 tcp->tcp_cwnd = MIN(cwnd + add, tcp->tcp_cwnd_max);
4357 * cwnd to one MSS. Also reset
4394 * 2. Zero cwnd: because of ECN, we need to "clock out
4743 * In the special case when cwnd is zero, which can only
4758 /* usable = MIN(swnd, cwnd) - unacked_bytes */