aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/lcp.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-02-18 00:52:15 +0000
committerBrian Somers <brian@FreeBSD.org>1999-02-18 00:52:15 +0000
commit5e3154989731d0f43a0fa0b65f7321264570ba3f (patch)
tree0977079c9c217e01531cf1e5e5670e45bc4d377e /usr.sbin/ppp/lcp.h
parent75ffaf5939d10308c32db53025a2495ddc2573c1 (diff)
downloadsrc-5e3154989731d0f43a0fa0b65f7321264570ba3f.tar.gz
src-5e3154989731d0f43a0fa0b65f7321264570ba3f.zip
Fully support both NT and LANMan CHAP type 0x80 as both
authenticator and authenticatee.
Notes
Notes: svn path=/head/; revision=44106
Diffstat (limited to 'usr.sbin/ppp/lcp.h')
-rw-r--r--usr.sbin/ppp/lcp.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.sbin/ppp/lcp.h b/usr.sbin/ppp/lcp.h
index 62dce126d978..609a6e5a29d7 100644
--- a/usr.sbin/ppp/lcp.h
+++ b/usr.sbin/ppp/lcp.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: lcp.h,v 1.18 1998/06/27 23:48:48 brian Exp $
+ * $Id: lcp.h,v 1.19 1998/08/07 18:42:49 brian Exp $
*
* TODO:
*/
@@ -46,6 +46,7 @@ struct lcp {
u_int32_t his_magic; /* Peers magic number */
u_int32_t his_lqrperiod; /* Peers LQR frequency (100ths of seconds) */
u_short his_auth; /* Peer wants this type of authentication */
+ u_char his_authtype; /* Fifth octet of REQ/NAK/REJ */
struct callback his_callback; /* Peer wants callback ? */
unsigned his_shortseq : 1; /* Peer would like only 12bit seqs (MP) */
unsigned his_protocomp : 1; /* Does peer do Protocol field compression */
@@ -57,6 +58,7 @@ struct lcp {
u_int32_t want_magic; /* Our magic number */
u_int32_t want_lqrperiod; /* Our LQR frequency (100ths of seconds) */
u_short want_auth; /* We want this type of authentication */
+ u_char want_authtype; /* Fifth octet of REQ/NAK/REJ */
struct callback want_callback;/* We want callback ? */
unsigned want_shortseq : 1; /* I'd like only 12bit seqs (MP) */
unsigned want_protocomp : 1; /* Do we do protocol field compression */
@@ -78,7 +80,11 @@ struct lcp {
u_int fsmretry; /* FSM retry frequency */
unsigned acfcomp : 2; /* Address & Control Field Compression neg */
- unsigned chap : 2; /* Challenge Handshake Authentication proto */
+ unsigned chap05 : 2; /* Challenge Handshake Authentication proto */
+#ifdef HAVE_DES
+ unsigned chap80nt : 2; /* Microsoft (NT) CHAP */
+ unsigned chap80lm : 2; /* Microsoft (LANMan) CHAP */
+#endif
unsigned lqr : 2; /* Link Quality Report */
unsigned pap : 2; /* Password Authentication protocol */
unsigned protocomp : 2; /* Protocol field compression */
@@ -120,7 +126,6 @@ struct lcp_opt {
struct mbuf;
struct link;
-struct physical;
struct bundle;
struct cmdargs;