summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp_ccp.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2011-06-10 16:08:15 +0400
committerKozlov Dmitry <dima@server>2011-06-10 16:08:15 +0400
commit05ad71a30740f1cca95e9f47a8a56c65b03402ed (patch)
tree81faa12cc9962c39dcf675b0496715a756c58aad /accel-pppd/ppp/ppp_ccp.h
parent605081a82d2acb59b07eea991a30203b148623ac (diff)
downloadaccel-ppp-05ad71a30740f1cca95e9f47a8a56c65b03402ed.tar.gz
accel-ppp-05ad71a30740f1cca95e9f47a8a56c65b03402ed.zip
ppp: implemented passive CCP
Diffstat (limited to 'accel-pppd/ppp/ppp_ccp.h')
-rw-r--r--accel-pppd/ppp/ppp_ccp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ppp_ccp.h b/accel-pppd/ppp/ppp_ccp.h
index 2c2dc6dd..11c8a221 100644
--- a/accel-pppd/ppp/ppp_ccp.h
+++ b/accel-pppd/ppp/ppp_ccp.h
@@ -84,7 +84,8 @@ struct ppp_ccp_t
int ropt_len;
int conf_req_len;
- int passive;
+ int passive:1;
+ int starting:1;
int started:1;
int need_req:1;
};
@@ -92,5 +93,8 @@ struct ppp_ccp_t
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);
+struct ppp_ccp_t *ccp_find_layer_data(struct ppp_t *ppp);
+int ccp_ipcp_started(struct ppp_t *ppp);
+
#endif