diff options
author | Kozlov Dmitry <dima@server> | 2010-08-03 17:11:50 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-08-03 17:11:50 +0400 |
commit | 8a9babb739f2a9da045c749718bbe85aad5f0dd3 (patch) | |
tree | c016ab68af0d54223a3716cd7b0508b2cb0291dd /accel-pptpd/ppp_fsm.h | |
parent | 5a2d6079eba1c7e2a9479cb10d714b5a97bbfe4f (diff) | |
download | accel-ppp-xebd-8a9babb739f2a9da045c749718bbe85aad5f0dd3.tar.gz accel-ppp-xebd-8a9babb739f2a9da045c749718bbe85aad5f0dd3.zip |
writing code ...
Diffstat (limited to 'accel-pptpd/ppp_fsm.h')
-rw-r--r-- | accel-pptpd/ppp_fsm.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/accel-pptpd/ppp_fsm.h b/accel-pptpd/ppp_fsm.h index f07735d..c4430c4 100644 --- a/accel-pptpd/ppp_fsm.h +++ b/accel-pptpd/ppp_fsm.h @@ -21,11 +21,17 @@ struct ppp_hdr_t; struct lcp_options_t { + int mtu; int mru; - int auth; - int magic; - int accomp; - int pcomp; + int accomp; // 0 - disabled, 1 - enable, 2 - allow, disabled, 3 - allow,enabled + int pcomp; // 0 - disabled, 1 - enable, 2 - allow, disabled, 3 - allow,enabled + int auth[3]; // 0 - none, 1 - pap, 2 - eap, 3 - mschap + // negotiated options; + int neg_mru; + int neg_mtu; + int neg_accomp; // -1 - rejected + int neg_pcomp; + int neg_auth; }; struct ppp_layer_t |