PPP, MPPE, removed mppe_alloc() and mppe_free()

We are going to use statically allocated struct ppp_mppe_state through PPP PCB,
removed now useless mppe_alloc() and mppe_free().

Merged mppe_alloc() key copy to mppe_init().
This commit is contained in:
Sylvain Rochet
2015-04-18 00:33:57 +02:00
parent da40445d75
commit 879c94b01e
2 changed files with 5 additions and 46 deletions

View File

@@ -152,8 +152,6 @@ struct ppp_mppe_state {
int debug;
};
struct ppp_mppe_state *mppe_alloc(unsigned char *options, int optlen);
void mppe_free(struct ppp_mppe_state *state);
int mppe_comp_init(struct ppp_mppe_state *state, unsigned char *options, int optlen, int unit,
int hdrlen, int debug);
void mppe_comp_reset(struct ppp_mppe_state *state);