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

/freebsd-12-stable/sys/net/
H A Dmppc.h59 extern int MPPC_Compress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags, int undef);
60 extern int MPPC_Decompress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags);
H A Dmppcc.c146 int MPPC_Compress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags, int undef) argument
162 if (*dstCnt < (*srcCnt * 9 / 8 + 2)) {
168 if (*srcCnt > MPPE_HIST_LEN) {
175 if (state->histptr + *srcCnt >= 2*MPPE_HIST_LEN) {
182 memcpy(sbuf, *src, *srcCnt);
183 state->histptr += *srcCnt;
186 r = sbuf + *srcCnt;
189 while (i < *srcCnt - 2) {
272 while(*srcCnt - i > 0) {
287 if ((*srcCnt < ole
[all...]
H A Dmppcd.c106 int MPPC_Decompress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags) argument
122 bits = *srcCnt * 8;
278 *src += *srcCnt;
279 *srcCnt = 0;

Completed in 57 milliseconds