Lines Matching refs:wmax
122 * - The number of unacknowledged xmit packets is (ns - rack) <= seq->wmax
138 u_int16_t wmax; /* peer's max recv window */
1200 seq->wmax = priv->conf.peer_win;
1201 if (seq->wmax > L2TP_MAX_XWIN)
1202 seq->wmax = L2TP_MAX_XWIN;
1203 seq->ssth = seq->wmax;
1256 if (new_wmax < seq->wmax)
1258 seq->wmax = new_wmax;
1296 seq->wmax = L2TP_MAX_XWIN;
1298 seq->ssth = seq->wmax;
1351 if (seq->cwnd < seq->wmax) {
1368 if (seq->cwnd < seq->wmax)
1594 CHECK(seq->wmax <= L2TP_MAX_XWIN);
1596 CHECK(seq->cwnd <= seq->wmax);
1598 CHECK(seq->ssth <= seq->wmax);
1605 CHECK(peer_unack <= seq->wmax);