Lines Matching defs:ccount
110 unsigned ccount; /* 12-bit coherency count (seqno) */
130 #define MPPE_CCOUNT_SPACE 0x1000 /* The size of the ccount space */
325 state->ccount = MPPE_CCOUNT_SPACE - 1;
404 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE;
406 printk(KERN_DEBUG "mppe_compress[%d]: ccount %d\n", state->unit,
407 state->ccount);
408 obuf[0] = state->ccount >> 8;
409 obuf[1] = state->ccount & 0xff;
412 ((state->ccount & 0xff) == 0xff) || /* "flag" packet */
481 unsigned ccount;
508 ccount = MPPE_CCOUNT(ibuf);
510 printk(KERN_DEBUG "mppe_decompress[%d]: ccount %d\n",
511 state->unit, ccount);
527 if (state->stateful && ((ccount & 0xff) == 0xff) && !flushed) {
552 while (state->ccount != ccount) {
554 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE;
560 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE;
561 if (ccount != state->ccount) {
563 * (ccount > state->ccount)
577 while ((ccount & ~0xff) !=
578 (state->ccount & ~0xff)) {
580 state->ccount =
581 (state->ccount +
587 state->ccount = ccount;