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