summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/cbcp.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 13:43:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 13:43:05 +0000
commitaee474b0cf18922c8b21ca56aae4067835c6a860 (patch)
tree47e06016a77cfa961e90b3255fbfcda9a8837f58 /cpukit/pppd/cbcp.h
parent2001-10-11 Alexandra Kossovsky <sasha@oktet.ru> (diff)
downloadrtems-aee474b0cf18922c8b21ca56aae4067835c6a860.tar.bz2
2001-10-12 Mike Siers <mikes@poliac.com>
* Update to stable working state. Congratulations Mike! :) * modem_example: Directory removed. * modem_example/16550.h, modem_example/README, modem_example/modem.c, modem_example/modem.h, modem_example/ppp.c, modem_example/ppp.h, modem_example/pppcompress.c: Files removed. * pppd/example/pppd.options: New file. * pppd/README, pppd/STATUS, pppd/cbcp.c, pppd/cbcp.h, pppd/chat.c, pppd/pppd.h, pppd/rtemsmain.c: Updated.
Diffstat (limited to '')
-rw-r--r--cpukit/pppd/cbcp.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/cpukit/pppd/cbcp.h b/cpukit/pppd/cbcp.h
index e69de29bb2..c2ab3f6899 100644
--- a/cpukit/pppd/cbcp.h
+++ b/cpukit/pppd/cbcp.h
@@ -0,0 +1,26 @@
+#ifndef CBCP_H
+#define CBCP_H
+
+typedef struct cbcp_state {
+ int us_unit; /* Interface unit number */
+ u_char us_id; /* Current id */
+ u_char us_allowed;
+ int us_type;
+ char *us_number; /* Telefone Number */
+} cbcp_state;
+
+extern cbcp_state cbcp[];
+
+extern struct protent cbcp_protent;
+
+#define CBCP_MINLEN 4
+
+#define CBCP_REQ 1
+#define CBCP_RESP 2
+#define CBCP_ACK 3
+
+#define CB_CONF_NO 1
+#define CB_CONF_USER 2
+#define CB_CONF_ADMIN 3
+#define CB_CONF_LIST 4
+#endif