PPP, CCP, added ccp.h in ppp.h

This commit is contained in:
Sylvain Rochet 2015-03-19 00:34:53 +01:00
parent 1dcd4cc220
commit 2a6104ab17
2 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,9 @@
#include "lwip/opt.h"
#if PPP_SUPPORT && CCP_SUPPORT /* don't build if not configured for use in lwipopts.h */
#ifndef CCP_H
#define CCP_H
typedef struct ccp_options {
unsigned int bsd_compress :1; /* do BSD Compress? */
unsigned int deflate :1; /* do Deflate? */
@ -50,4 +53,5 @@ typedef struct ccp_options {
extern const struct protent ccp_protent;
#endif /* CCP_H */
#endif /* PPP_SUPPORT && CCP_SUPPORT */

View File

@ -153,6 +153,9 @@ typedef unsigned char u_char;
#include "fsm.h"
#include "lcp.h"
#if CCP_SUPPORT
#include "ccp.h"
#endif /* CCP_SUPPORT */
#if PPP_IPV4_SUPPORT
#include "ipcp.h"
#endif /* PPP_IPV4_SUPPORT */