diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-30 22:12:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-30 22:12:50 +0000 |
commit | d0950adfd65d0510424b43c31f19d2f1d8d277a4 (patch) | |
tree | 6d0c8ee17d77495c851099f1ffa751f84b857857 /c/src/libnetworking/pppd/cbcp.h | |
parent | Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h. (diff) | |
download | rtems-d0950adfd65d0510424b43c31f19d2f1d8d277a4.tar.bz2 |
Added port of ppp-2.3.5 from Tomasz Domin <dot@comarch.pl> of ComArch SA.
Tomasz only tested this on the mpc823.
The official site for the original source for this PPP implementation is:
ftp://cs.anu.edu.au/pub/software/ppp
NOTE: As of 11/30/1999, the current version of this source is 2.3.10.
Diffstat (limited to 'c/src/libnetworking/pppd/cbcp.h')
-rw-r--r-- | c/src/libnetworking/pppd/cbcp.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/c/src/libnetworking/pppd/cbcp.h b/c/src/libnetworking/pppd/cbcp.h new file mode 100644 index 0000000000..c2ab3f6899 --- /dev/null +++ b/c/src/libnetworking/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 |