4.104.114.84.95
Last change
on this file since 2129ac8 was
aee474b,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/12/01 at 13:43:05
|
2001-10-12 Mike Siers <mikes@…>
- 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.
|
-
Property mode set to
100644
|
File size:
510 bytes
|
Rev | Line | |
---|
[aee474b] | 1 | #ifndef CBCP_H |
---|
| 2 | #define CBCP_H |
---|
| 3 | |
---|
| 4 | typedef struct cbcp_state { |
---|
| 5 | int us_unit; /* Interface unit number */ |
---|
| 6 | u_char us_id; /* Current id */ |
---|
| 7 | u_char us_allowed; |
---|
| 8 | int us_type; |
---|
| 9 | char *us_number; /* Telefone Number */ |
---|
| 10 | } cbcp_state; |
---|
| 11 | |
---|
| 12 | extern cbcp_state cbcp[]; |
---|
| 13 | |
---|
| 14 | extern struct protent cbcp_protent; |
---|
| 15 | |
---|
| 16 | #define CBCP_MINLEN 4 |
---|
| 17 | |
---|
| 18 | #define CBCP_REQ 1 |
---|
| 19 | #define CBCP_RESP 2 |
---|
| 20 | #define CBCP_ACK 3 |
---|
| 21 | |
---|
| 22 | #define CB_CONF_NO 1 |
---|
| 23 | #define CB_CONF_USER 2 |
---|
| 24 | #define CB_CONF_ADMIN 3 |
---|
| 25 | #define CB_CONF_LIST 4 |
---|
| 26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.