summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ppp_ccp.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-10-04 15:12:41 +0400
committerKozlov Dmitry <dima@server>2010-10-04 15:12:41 +0400
commita337b4af82fe30d568547aabc61df7bc67a8a835 (patch)
tree140437e3f4282abb39b17606750ba9bb4123711a /accel-pptpd/ppp/ppp_ccp.h
parent06858ad4c7468ac8b226b34126b68db2128877f1 (diff)
downloadaccel-ppp-a337b4af82fe30d568547aabc61df7bc67a8a835.tar.gz
accel-ppp-a337b4af82fe30d568547aabc61df7bc67a8a835.zip
ppp: implemented mppe
radius: implemented mppe support various improvements and bug fixes
Diffstat (limited to 'accel-pptpd/ppp/ppp_ccp.h')
-rw-r--r--accel-pptpd/ppp/ppp_ccp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/accel-pptpd/ppp/ppp_ccp.h b/accel-pptpd/ppp/ppp_ccp.h
index 23f44f0f..27b303e6 100644
--- a/accel-pptpd/ppp/ppp_ccp.h
+++ b/accel-pptpd/ppp/ppp_ccp.h
@@ -8,10 +8,8 @@
/*
* Options.
*/
-#define CI_COMP 2 /* IP-Compress-Protocol */
-#define CI_ADDR 3 /* IP-Address */
-#define CI_DNS1 129 /* Primary-DNS-Address */
-#define CI_DNS2 131 /* Secondary-DNS-Address */
+
+#define CI_MPPE 18 /* MPPE */
struct ccp_hdr_t
{
@@ -87,9 +85,12 @@ struct ppp_ccp_t
int conf_req_len;
int started:1;
+ int passive:1;
+ int need_req:1;
};
int ccp_option_register(struct ccp_option_handler_t *h);
+struct ccp_option_t *ccp_find_option(struct ppp_t *ppp, struct ccp_option_handler_t *h);
#endif