MCPcopy Create free account
hub / github.com/F-Stack/f-stack / MPPC_InitDecompressionHistory

Function MPPC_InitDecompressionHistory

freebsd/net/mppcd.c:98–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void MPPC_InitDecompressionHistory(char *history)
99{
100 struct MPPC_decomp_state *state = (struct MPPC_decomp_state*)history;
101
102 bzero(history, sizeof(struct MPPC_decomp_state));
103 state->histptr = MPPE_HIST_LEN;
104}
105
106int MPPC_Decompress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags)
107{

Callers 2

ng_mppc_rcvmsgFunction · 0.85
ng_mppc_decompressFunction · 0.85

Calls 1

bzeroFunction · 0.85

Tested by

no test coverage detected