diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-08-29 11:40:34 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-08-29 11:40:34 +0400 |
commit | 28df233a46f2d136e8169d86ee62861a7c024eff (patch) | |
tree | a8d1131645c7f09fa276208895b31a5b3b2467bc /accel-pppd/include | |
parent | 1872dd97822f406a2d54bd75ed8220092ec5d4fb (diff) | |
download | accel-ppp-28df233a46f2d136e8169d86ee62861a7c024eff.tar.gz accel-ppp-28df233a46f2d136e8169d86ee62861a7c024eff.zip |
add 'ppp' filed to CTRL to identify ppp sessions
Diffstat (limited to 'accel-pppd/include')
-rw-r--r-- | accel-pppd/include/ap_session.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h index cc7153c1..95f0ea21 100644 --- a/accel-pppd/include/ap_session.h +++ b/accel-pppd/include/ap_session.h @@ -20,10 +20,12 @@ #define TERM_LOST_CARRIER 9 #define TERM_IDLE_TIMEOUT 10 -#define CTRL_TYPE_PPTP 1 -#define CTRL_TYPE_L2TP 2 -#define CTRL_TYPE_PPPOE 3 -#define CTRL_TYPE_IPOE 4 +#define CTRL_TYPE_PPTP 1 +#define CTRL_TYPE_L2TP 2 +#define CTRL_TYPE_PPPOE 3 +#define CTRL_TYPE_IPOE 4 +#define CTRL_TYPE_OPENVPN 5 +#define CTRL_TYPE_SSTP 6 #define MPPE_UNSET -2 #define MPPE_ALLOW -1 @@ -44,6 +46,7 @@ struct ap_ctrl char *calling_station_id; char *called_station_id; int dont_ifcfg:1; + int ppp:1; void (*started)(struct ap_session*); void (*finished)(struct ap_session *); void (*terminate)(struct ap_session *, int hard); |