diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-12-23 13:22:50 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-12-23 13:22:50 +0000 |
commit | 244ae4f36d8485d801b276c564b0912f8970db1a (patch) | |
tree | c2338ca08d1a28b6a12f5a03b849eebdb17a864c /usr.sbin/pppd/cbcp.h | |
parent | b091d7e1ea9e2cf69fd0694da9b01b1c022b4611 (diff) |
pppd 2.3b3 import. some minor buf oflow fixes and so.
try it out ppl, but i've got it running talking to cisco w/ all the AFs
enabled in kernel.
Diffstat (limited to 'usr.sbin/pppd/cbcp.h')
-rw-r--r-- | usr.sbin/pppd/cbcp.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/usr.sbin/pppd/cbcp.h b/usr.sbin/pppd/cbcp.h new file mode 100644 index 00000000000..14a30e25e7b --- /dev/null +++ b/usr.sbin/pppd/cbcp.h @@ -0,0 +1,28 @@ +/* $OpenBSD: cbcp.h,v 1.1 1996/12/23 13:22:38 mickey Exp $ */ + +#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 |