-rwxr-xr-x | jni/pppoe_jni.cpp | 18 | ||||
-rwxr-xr-x | jni/src/pppoe_status.c | 60 | ||||
-rwxr-xr-x | jni/src/pppoe_status.h | 1 | ||||
-rwxr-xr-x | jni/src/pppoe_wrapper.c | 107 |
4 files changed, 119 insertions, 67 deletions
diff --git a/jni/src/pppoe_status.h b/jni/src/pppoe_status.h index 3ae2979..ade631d 100755 --- a/jni/src/pppoe_status.h +++ b/jni/src/pppoe_status.h @@ -4,6 +4,7 @@ #define PPP_STATUS_CONNECTED 0x10 #define PPP_STATUS_DISCONNECTED 0x20 #define PPP_STATUS_CONNECTING 0x40 +#define PPP_STATUS_DISCONNECTING 0x80 #include "../../../ppp/pppd/pathnames.h" #define PPPOE_PIDFILE _ROOT_PATH "/etc/ppp/pppoe.pid" |