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

Function MPPC_InitCompressionHistory

freebsd/net/mppcc.c:138–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void MPPC_InitCompressionHistory(char *history)
139{
140 struct MPPC_comp_state *state = (struct MPPC_comp_state*)history;
141
142 bzero(history, sizeof(struct MPPC_comp_state));
143 state->histptr = MPPE_HIST_LEN;
144}
145
146int MPPC_Compress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags, int undef)
147{

Callers 3

ng_mppc_rcvmsgFunction · 0.85
ng_mppc_compressFunction · 0.85
ng_mppc_reset_reqFunction · 0.85

Calls 1

bzeroFunction · 0.85

Tested by

no test coverage detected