65#define CI_MAGICNUMBER 5
66#define CI_PCOMPRESSION 7
67#define CI_ACCOMPRESSION 8
104#define MAX_ENDP_LEN 20
106 unsigned char class_;
107 unsigned char length;
108 unsigned char value[MAX_ENDP_LEN];
114typedef struct lcp_options {
115 unsigned int passive :1;
116 unsigned int silent :1;
118 unsigned int restart :1;
120 unsigned int neg_mru :1;
121 unsigned int neg_asyncmap :1;
123 unsigned int neg_upap :1;
126 unsigned int neg_chap :1;
129 unsigned int neg_eap :1;
131 unsigned int neg_magicnumber :1;
132 unsigned int neg_pcompression :1;
133 unsigned int neg_accompression :1;
135 unsigned int neg_lqr :1;
137 unsigned int neg_cbcp :1;
139 unsigned int neg_mrru :1;
141 unsigned int neg_ssnhf :1;
142 unsigned int neg_endpoint :1;
157 struct epdisc endpoint;
160void lcp_open(ppp_pcb *pcb);
161void lcp_close(ppp_pcb *pcb,
const char *reason);
162void lcp_lowerup(ppp_pcb *pcb);
163void lcp_lowerdown(ppp_pcb *pcb);
164void lcp_sprotrej(ppp_pcb *pcb, u_char *p,
int len);
166extern const struct protent lcp_protent;
171#define DEFLOOPBACKFAIL 10