Home
last modified time | relevance | path

Searched refs:MPPE_CCOUNT_SPACE (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ppp/
H A Dppp_mppe.c122 #define MPPE_CCOUNT_SPACE 0x1000 /* The size of the ccount space */ macro
293 state->ccount = MPPE_CCOUNT_SPACE - 1; in mppe_init()
369 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE; in mppe_compress()
495 if ((ccount - state->ccount) % MPPE_CCOUNT_SPACE in mppe_decompress()
496 > MPPE_CCOUNT_SPACE / 2) { in mppe_decompress()
504 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE; in mppe_decompress()
510 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE; in mppe_decompress()
532 256) % MPPE_CCOUNT_SPACE; in mppe_decompress()