Lines Matching defs: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)
1589 CHECK(seq->wmax <= L2TP_MAX_XWIN);
1591 CHECK(seq->cwnd <= seq->wmax);
1593 CHECK(seq->ssth <= seq->wmax);
1600 CHECK(peer_unack <= seq->wmax);