Lines Matching refs:xwin
123 * - The first (ns - rack) mbuf's in xwin[] array are copies of these
124 * unacknowledged packets; the remainder of xwin[] consists first of
127 * Therefore, (i < cwnd && xwin[i] != NULL) implies (ns - rack) > i.
145 struct mbuf *xwin[L2TP_MAX_XWIN]; /* transmit window */
1049 for (i = 0; i < L2TP_MAX_XWIN && seq->xwin[i] != NULL; i++);
1056 seq->xwin[i] = m;
1283 if (seq->xwin[i] == NULL)
1285 m_freem(seq->xwin[i]);
1301 bzero(seq->xwin, sizeof(seq->xwin));
1314 struct mbuf *xwin[L2TP_MAX_XWIN]; /* partial local copy */
1340 m_freem(seq->xwin[i]);
1341 memmove(seq->xwin, seq->xwin + nack,
1342 (L2TP_MAX_XWIN - nack) * sizeof(*seq->xwin));
1343 memset(seq->xwin + (L2TP_MAX_XWIN - nack), 0,
1344 nack * sizeof(*seq->xwin));
1379 if (seq->xwin[0] == NULL) {
1395 && seq->xwin[i] != NULL) {
1396 xwin[j++] = seq->xwin[i];
1409 if ((m = L2TP_COPY_MBUF(xwin[i], M_NOWAIT)) == NULL)
1485 if ((m = L2TP_COPY_MBUF(seq->xwin[0], M_NOWAIT)) == NULL)
1604 CHECK(seq->xwin[i] != NULL);
1606 CHECK(seq->xwin[i] == NULL);