Home
last modified time | relevance | path

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

/f-stack/freebsd/net/
H A Dmppcc.c162 if (*dstCnt < (*srcCnt * 9 / 8 + 2)) { in MPPC_Compress()
168 if (*srcCnt > MPPE_HIST_LEN) { in MPPC_Compress()
175 if (state->histptr + *srcCnt >= 2*MPPE_HIST_LEN) { in MPPC_Compress()
182 memcpy(sbuf, *src, *srcCnt); in MPPC_Compress()
183 state->histptr += *srcCnt; in MPPC_Compress()
186 r = sbuf + *srcCnt; in MPPC_Compress()
189 while (i < *srcCnt - 2) { in MPPC_Compress()
272 while(*srcCnt - i > 0) { in MPPC_Compress()
288 if (*srcCnt < olen) in MPPC_Compress()
294 *src += *srcCnt; in MPPC_Compress()
[all …]
H A Dmppc.h59 extern int MPPC_Compress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history,…
60 extern int MPPC_Decompress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *histor…
H A Dmppcd.c106 int MPPC_Decompress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int … in MPPC_Decompress() argument
122 bits = *srcCnt * 8; in MPPC_Decompress()
278 *src += *srcCnt; in MPPC_Decompress()
279 *srcCnt = 0; in MPPC_Decompress()