8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / cmd-inet / usr.bin / pppd / cbcp.h
blobfef9cb25cf135fdbff7a00e3f2fd2f2bd4b7375f
1 /*
2 * cbcp - Call Back Configuration Protocol.
4 * Copyright (c) 2000 by Sun Microsystems, Inc.
5 * All rights reserved.
7 * Copyright (c) 1995 Pedro Roque Marques
8 * All rights reserved.
9 */
11 #pragma ident "%Z%%M% %I% %E% SMI"
13 #ifndef CBCP_H
14 #define CBCP_H
16 typedef struct cbcp_state {
17 int us_unit; /* Interface unit number */
18 u_char us_id; /* Current id */
19 u_char us_allowed;
20 int us_type;
21 char *us_number; /* Telefone Number */
22 } cbcp_state;
24 extern cbcp_state cbcp[];
26 extern struct protent cbcp_protent;
28 #define CBCP_MINLEN 4
30 #define CBCP_REQ 1
31 #define CBCP_RESP 2
32 #define CBCP_ACK 3
34 #define CB_CONF_NO 1
35 #define CB_CONF_USER 2
36 #define CB_CONF_ADMIN 3
37 #define CB_CONF_LIST 4
38 #endif