mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-17 21:56:45 +08:00
PPP, MPPE, merged mppe_comp_init() and mppe_decomp_init() into mppe_init()
Removing a bit of redundancy and previous artefact of a generic kernel interface. Exporting mppe_init() instead of mppe_comp_init() plus mppe_decomp_init().
This commit is contained in:
@@ -152,12 +152,10 @@ struct ppp_mppe_state {
|
||||
int debug;
|
||||
};
|
||||
|
||||
int mppe_comp_init(struct ppp_mppe_state *state, unsigned char *options, int optlen, int unit,
|
||||
int hdrlen, int debug);
|
||||
int mppe_init(struct ppp_mppe_state *state, unsigned char *options, int optlen,
|
||||
int unit, int debug, const char *debugstr);
|
||||
void mppe_comp_reset(struct ppp_mppe_state *state);
|
||||
err_t mppe_compress(struct ppp_mppe_state *state, struct pbuf **pb, u16_t protocol);
|
||||
int mppe_decomp_init(struct ppp_mppe_state *state, unsigned char *options, int optlen, int unit,
|
||||
int hdrlen, int mru, int debug);
|
||||
void mppe_decomp_reset(struct ppp_mppe_state *state);
|
||||
err_t mppe_decompress(struct ppp_mppe_state *state, struct pbuf **pb);
|
||||
void mppe_incomp(struct ppp_mppe_state *state, unsigned char *ibuf, int icnt);
|
||||
|
||||
Reference in New Issue
Block a user