61 #define CI_MAGICNUMBER  5        
   62 #define CI_PCOMPRESSION 7        
   63 #define CI_ACCOMPRESSION 8       
   64 #define CI_FCSALTERN    9        
   66 #define CI_NUMBERED     11       
   67 #define CI_CALLBACK     13       
   75 #define CI_PREFELIS     26       
   76 #define CI_MPHDRFMT     27       
  100 #define MAX_ENDP_LEN    20       
  102     unsigned char       class_; 
 
  103     unsigned char       length;
 
  104     unsigned char       value[MAX_ENDP_LEN];
 
  110 typedef struct lcp_options {
 
  111     unsigned int passive           :1; 
 
  112     unsigned int silent            :1; 
 
  114     unsigned int restart           :1; 
 
  116     unsigned int neg_mru           :1; 
 
  117     unsigned int neg_asyncmap      :1; 
 
  119     unsigned int neg_upap          :1; 
 
  122     unsigned int neg_chap          :1; 
 
  125     unsigned int neg_eap           :1; 
 
  127     unsigned int neg_magicnumber   :1; 
 
  128     unsigned int neg_pcompression  :1; 
 
  129     unsigned int neg_accompression :1; 
 
  131     unsigned int neg_lqr           :1; 
 
  133     unsigned int neg_cbcp          :1; 
 
  134 #ifdef HAVE_MULTILINK 
  135     unsigned int neg_mrru          :1; 
 
  137     unsigned int neg_ssnhf         :1; 
 
  138     unsigned int neg_endpoint      :1; 
 
  141 #ifdef HAVE_MULTILINK 
  153     struct epdisc endpoint;     
 
  156 void lcp_open(ppp_pcb *pcb);
 
  157 void lcp_close(ppp_pcb *pcb, 
const char *reason);
 
  158 void lcp_lowerup(ppp_pcb *pcb);
 
  159 void lcp_lowerdown(ppp_pcb *pcb);
 
  160 void lcp_sprotrej(ppp_pcb *pcb, 
u_char *p, 
int len);    
 
  162 extern const struct protent lcp_protent;
 
  167 #define DEFLOOPBACKFAIL 10