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

/freebsd-13-stable/sys/net/
H A Dmppcd.c46 #define MPPE_HIST_LEN 8192 macro
49 uint8_t hist[2*MPPE_HIST_LEN];
103 state->histptr = MPPE_HIST_LEN;
115 memcpy(state->hist, state->hist + MPPE_HIST_LEN, MPPE_HIST_LEN);
116 state->histptr = MPPE_HIST_LEN;
126 if (state->histptr < 2*MPPE_HIST_LEN) {
141 if (state->histptr < 2*MPPE_HIST_LEN) {
169 if (off > MPPE_HIST_LEN - 1) {
245 if (state->histptr < 2*MPPE_HIST_LEN) {
[all...]
H A Dmppcc.c46 #define MPPE_HIST_LEN 8192 macro
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);
[all...]

Completed in 117 milliseconds