summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp_ipcp.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2011-08-24 15:13:06 +0400
committerKozlov Dmitry <dima@server>2011-08-24 15:13:06 +0400
commit4f9a2df99cd4dbc4724bfef9676383fad2707598 (patch)
tree03a663c46587724c3660db17906f254db7b63ff3 /accel-pppd/ppp/ppp_ipcp.h
parent5bb8b536b0caeeec9be31fbf87e74d97a29e1ee9 (diff)
downloadaccel-ppp-4f9a2df99cd4dbc4724bfef9676383fad2707598.tar.gz
accel-ppp-4f9a2df99cd4dbc4724bfef9676383fad2707598.zip
ppp: reworked layer startup procedure
ppp: make IPCP and IPV6CP optional depends on configuration
Diffstat (limited to 'accel-pppd/ppp/ppp_ipcp.h')
-rw-r--r--accel-pppd/ppp/ppp_ipcp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ppp_ipcp.h b/accel-pppd/ppp/ppp_ipcp.h
index f955461..0ce20e9 100644
--- a/accel-pppd/ppp/ppp_ipcp.h
+++ b/accel-pppd/ppp/ppp_ipcp.h
@@ -45,7 +45,9 @@ struct ipcp_opt32_t
#define IPCP_OPT_ACK 1
#define IPCP_OPT_NAK -1
#define IPCP_OPT_REJ -2
-#define IPCP_OPT_FAIL -3
+#define IPCP_OPT_CLOSE -3
+#define IPCP_OPT_TERMACK -4
+#define IPCP_OPT_FAIL -5
struct ppp_ipcp_t;
struct ipcp_option_handler_t;
@@ -87,6 +89,7 @@ struct ppp_ipcp_t
int ropt_len;
int conf_req_len;
+ int starting:1;
int started:1;
int delay_ack:1;
};