From c51ed84fd851431b11b584fc2267aa7b713bcca2 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sat, 18 Apr 2015 16:13:44 +0200 Subject: [PATCH] PPP, MPPE, added ppp_mppe_state comp and decomp to ppp.h --- src/include/netif/ppp/ppp.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/include/netif/ppp/ppp.h b/src/include/netif/ppp/ppp.h index 0f71c15b..fe7223b5 100644 --- a/src/include/netif/ppp/ppp.h +++ b/src/include/netif/ppp/ppp.h @@ -167,6 +167,9 @@ typedef unsigned char u_char; #if CCP_SUPPORT #include "ccp.h" #endif /* CCP_SUPPORT */ +#if MPPE_SUPPORT +#include "mppe.h" +#endif /* MPPE_SUPPORT */ #if PPP_IPV4_SUPPORT #include "ipcp.h" #endif /* PPP_IPV4_SUPPORT */ @@ -409,6 +412,11 @@ struct ppp_pcb_s { ccp_options ccp_hisoptions; /* what we agreed to do */ int ccp_localstate; /* Local state (mainly for handling reset-reqs and reset-acks). */ int all_rejected; /* we rejected all peer's options */ + +#if MPPE_SUPPORT + ppp_mppe_state mppe_comp; /* MPPE "compressor" structure */ + ppp_mppe_state mppe_decomp; /* MPPE "decompressor" structure */ +#endif /* MPPE_SUPPORT */ #endif /* CCP_SUPPORT */ #if PPP_IPV4_SUPPORT