Lines Matching refs:MPPE_HIST_LEN
46 #define MPPE_HIST_LEN 8192
51 uint8_t hist[2*MPPE_HIST_LEN];
53 uint16_t hash[MPPE_HIST_LEN];
143 state->histptr = MPPE_HIST_LEN;
167 /* We can't compress more then MPPE_HIST_LEN bytes in a call. */
168 if (*srcCnt > MPPE_HIST_LEN) {
173 hist = state->hist + MPPE_HIST_LEN;
175 if (state->histptr + *srcCnt >= 2*MPPE_HIST_LEN) {
177 state->histptr = MPPE_HIST_LEN;
178 memcpy(state->hist, hist, MPPE_HIST_LEN);
197 p -= MPPE_HIST_LEN; /* Try previous history buffer. */
201 if (off > MPPE_HIST_LEN - 1 || off < 1 || *p++ != *s++ ||
291 state->histptr = MPPE_HIST_LEN;