Searched refs:MPPE_HIST_LEN (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/sys/net/
H A Dmppcd.c44 #define MPPE_HIST_LEN 8192 macro
47 uint8_t hist[2*MPPE_HIST_LEN];
101 state->histptr = MPPE_HIST_LEN;
113 memcpy(state->hist, state->hist + MPPE_HIST_LEN, MPPE_HIST_LEN);
114 state->histptr = MPPE_HIST_LEN;
124 if (state->histptr < 2*MPPE_HIST_LEN) {
139 if (state->histptr < 2*MPPE_HIST_LEN) {
167 if (off > MPPE_HIST_LEN - 1) {
243 if (state->histptr < 2*MPPE_HIST_LEN) {
[all...]
H A Dmppcc.c44 #define MPPE_HIST_LEN 8192 macro
49 uint8_t hist[2*MPPE_HIST_LEN];
51 uint16_t hash[MPPE_HIST_LEN];
141 state->histptr = MPPE_HIST_LEN;
165 /* We can't compress more then MPPE_HIST_LEN bytes in a call. */
166 if (*srcCnt > MPPE_HIST_LEN) {
171 hist = state->hist + MPPE_HIST_LEN;
173 if (state->histptr + *srcCnt >= 2*MPPE_HIST_LEN) {
175 state->histptr = MPPE_HIST_LEN;
176 memcpy(state->hist, hist, MPPE_HIST_LEN);
[all...]

Completed in 102 milliseconds