diff options
author | Kozlov Dmitry <dima@server> | 2011-08-24 15:13:06 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2011-08-24 15:13:06 +0400 |
commit | 4f9a2df99cd4dbc4724bfef9676383fad2707598 (patch) | |
tree | 03a663c46587724c3660db17906f254db7b63ff3 /accel-pppd/ppp/ppp_ipv6cp.h | |
parent | 5bb8b536b0caeeec9be31fbf87e74d97a29e1ee9 (diff) | |
download | accel-ppp-xebd-4f9a2df99cd4dbc4724bfef9676383fad2707598.tar.gz accel-ppp-xebd-4f9a2df99cd4dbc4724bfef9676383fad2707598.zip |
ppp: reworked layer startup procedure
ppp: make IPCP and IPV6CP optional depends on configuration
Diffstat (limited to 'accel-pppd/ppp/ppp_ipv6cp.h')
-rw-r--r-- | accel-pppd/ppp/ppp_ipv6cp.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/accel-pppd/ppp/ppp_ipv6cp.h b/accel-pppd/ppp/ppp_ipv6cp.h index e688e6c..2e5c201 100644 --- a/accel-pppd/ppp/ppp_ipv6cp.h +++ b/accel-pppd/ppp/ppp_ipv6cp.h @@ -53,7 +53,9 @@ struct ipv6cp_opt64_t #define IPV6CP_OPT_ACK 1 #define IPV6CP_OPT_NAK -1 #define IPV6CP_OPT_REJ -2 -#define IPV6CP_OPT_FAIL -3 +#define IPV6CP_OPT_CLOSE -3 +#define IPV6CP_OPT_TERMACK -4 +#define IPV6CP_OPT_FAIL -5 struct ppp_ipv6cp_t; struct ipv6cp_option_handler_t; @@ -95,8 +97,9 @@ struct ppp_ipv6cp_t int ropt_len; int conf_req_len; + int starting:1; int started:1; - int passive:1; + int delay_ack:1; }; int ipv6cp_option_register(struct ipv6cp_option_handler_t *h); |