summaryrefslogtreecommitdiff
Diffstat
-rwxr-xr-xjni/pppoe_jni.cpp18
-rwxr-xr-xjni/src/pppoe_status.c60
-rwxr-xr-xjni/src/pppoe_status.h1
-rwxr-xr-xjni/src/pppoe_wrapper.c107
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"