mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
PPP, CCP, added ccp.h in ppp.h
This commit is contained in:
parent
1dcd4cc220
commit
2a6104ab17
@ -33,6 +33,9 @@
|
|||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#if PPP_SUPPORT && CCP_SUPPORT /* don't build if not configured for use in lwipopts.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 {
|
typedef struct ccp_options {
|
||||||
unsigned int bsd_compress :1; /* do BSD Compress? */
|
unsigned int bsd_compress :1; /* do BSD Compress? */
|
||||||
unsigned int deflate :1; /* do Deflate? */
|
unsigned int deflate :1; /* do Deflate? */
|
||||||
@ -50,4 +53,5 @@ typedef struct ccp_options {
|
|||||||
|
|
||||||
extern const struct protent ccp_protent;
|
extern const struct protent ccp_protent;
|
||||||
|
|
||||||
|
#endif /* CCP_H */
|
||||||
#endif /* PPP_SUPPORT && CCP_SUPPORT */
|
#endif /* PPP_SUPPORT && CCP_SUPPORT */
|
||||||
|
@ -153,6 +153,9 @@ typedef unsigned char u_char;
|
|||||||
|
|
||||||
#include "fsm.h"
|
#include "fsm.h"
|
||||||
#include "lcp.h"
|
#include "lcp.h"
|
||||||
|
#if CCP_SUPPORT
|
||||||
|
#include "ccp.h"
|
||||||
|
#endif /* CCP_SUPPORT */
|
||||||
#if PPP_IPV4_SUPPORT
|
#if PPP_IPV4_SUPPORT
|
||||||
#include "ipcp.h"
|
#include "ipcp.h"
|
||||||
#endif /* PPP_IPV4_SUPPORT */
|
#endif /* PPP_IPV4_SUPPORT */
|
||||||
|
Loading…
Reference in New Issue
Block a user