mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-19 06:36:51 +08:00
PPP, MPPE, adapt compressor to use pbuf
mppe_compress() now takes a pointer to a pbuf pointer and re-use the passed buffer for MPPE "compression".
This commit is contained in:
@@ -131,8 +131,7 @@ void mppe_free(void *arg);
|
||||
int mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit,
|
||||
int hdrlen, int debug);
|
||||
void mppe_comp_reset(void *arg);
|
||||
int mppe_compress(void *arg, unsigned char *ibuf, unsigned char *obuf,
|
||||
int isize, int osize, u16_t protocol);
|
||||
err_t mppe_compress(void *arg, struct pbuf **pb, u16_t protocol);
|
||||
int mppe_decomp_init(void *arg, unsigned char *options, int optlen, int unit,
|
||||
int hdrlen, int mru, int debug);
|
||||
void mppe_decomp_reset(void *arg);
|
||||
|
||||
Reference in New Issue
Block a user