mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-30 03:32:50 +00:00
PPP, MPPE, added ppp_mppe_state comp and decomp to ppp.h
This commit is contained in:
parent
74054ea907
commit
c51ed84fd8
@ -167,6 +167,9 @@ typedef unsigned char u_char;
|
|||||||
#if CCP_SUPPORT
|
#if CCP_SUPPORT
|
||||||
#include "ccp.h"
|
#include "ccp.h"
|
||||||
#endif /* CCP_SUPPORT */
|
#endif /* CCP_SUPPORT */
|
||||||
|
#if MPPE_SUPPORT
|
||||||
|
#include "mppe.h"
|
||||||
|
#endif /* MPPE_SUPPORT */
|
||||||
#if PPP_IPV4_SUPPORT
|
#if PPP_IPV4_SUPPORT
|
||||||
#include "ipcp.h"
|
#include "ipcp.h"
|
||||||
#endif /* PPP_IPV4_SUPPORT */
|
#endif /* PPP_IPV4_SUPPORT */
|
||||||
@ -409,6 +412,11 @@ struct ppp_pcb_s {
|
|||||||
ccp_options ccp_hisoptions; /* what we agreed to do */
|
ccp_options ccp_hisoptions; /* what we agreed to do */
|
||||||
int ccp_localstate; /* Local state (mainly for handling reset-reqs and reset-acks). */
|
int ccp_localstate; /* Local state (mainly for handling reset-reqs and reset-acks). */
|
||||||
int all_rejected; /* we rejected all peer's options */
|
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 */
|
#endif /* CCP_SUPPORT */
|
||||||
|
|
||||||
#if PPP_IPV4_SUPPORT
|
#if PPP_IPV4_SUPPORT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user