Home | History | Annotate | Line # | Download | only in pppd
cbcp.h revision 1.1
      1  1.1  christos #ifndef CBCP_H
      2  1.1  christos #define CBCP_H
      3  1.1  christos 
      4  1.1  christos typedef struct cbcp_state {
      5  1.1  christos     int    us_unit;	/* Interface unit number */
      6  1.1  christos     u_char us_id;		/* Current id */
      7  1.1  christos     u_char us_allowed;
      8  1.1  christos     int    us_type;
      9  1.1  christos     char   *us_number;    /* Telefone Number */
     10  1.1  christos } cbcp_state;
     11  1.1  christos 
     12  1.1  christos extern cbcp_state cbcp[];
     13  1.1  christos 
     14  1.1  christos extern struct protent cbcp_protent;
     15  1.1  christos 
     16  1.1  christos #define CBCP_MINLEN 4
     17  1.1  christos 
     18  1.1  christos #define CBCP_REQ    1
     19  1.1  christos #define CBCP_RESP   2
     20  1.1  christos #define CBCP_ACK    3
     21  1.1  christos 
     22  1.1  christos #define CB_CONF_NO     1
     23  1.1  christos #define CB_CONF_USER   2
     24  1.1  christos #define CB_CONF_ADMIN  3
     25  1.1  christos #define CB_CONF_LIST   4
     26  1.1  christos #endif
     27