Lines Matching refs:state
130 static void bsd_free __P((void *state));
131 static int bsd_decomp_init __P((void *state, u_char *options, int opt_len,
133 static void bsd_incomp __P((void *state, u_char *dmsg, int len));
134 static int bsd_decompress __P((void *state, u_char *cmp, int inlen,
136 static void bsd_reset __P((void *state));
137 static void bsd_comp_stats __P((void *state, struct compstat *stats));
246 bsd_comp_stats(state, stats)
247 void *state;
250 struct bsd_db *db = (struct bsd_db *) state;
270 * Reset state, as on a CCP ResetReq.
273 bsd_reset(state)
274 void *state;
276 struct bsd_db *db = (struct bsd_db *) state;
355 bsd_free(state)
356 void *state;
358 struct bsd_db *db = (struct bsd_db *) state;
414 bsd_decomp_init(state, options, opt_len, unit, hdrlen, mru, debug)
415 void *state;
419 return bsd_init((struct bsd_db *) state, options, opt_len,
429 bsd_incomp(state, dmsg, mlen)
430 void *state;
434 struct bsd_db *db = (struct bsd_db *) state;
549 bsd_decompress(state, cmsg, inlen, dmp, outlenp)
550 void *state;
554 struct bsd_db *db = (struct bsd_db *) state;