mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-04 02:39:15 +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"
|
||||
#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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user