summaryrefslogtreecommitdiffhomepage
path: root/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-03-12 00:02:06 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-02-01 22:29:02 +0100
commit54ab968d40f44f861c6f8499f9a6b8b6c6232fc3 (patch)
tree8fbf7b43caaca3d2a05648824be4ac71f1d8941a /tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java
parentdcc006d4f40e9f00c38f78c83d910cfbb1bfea28 (diff)
WIP: add dhcp functionsnew/gonet
Diffstat (limited to 'tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java')
-rw-r--r--tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java b/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java
index 3d0886cf..b7f9d098 100644
--- a/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java
+++ b/tunnel/src/main/java/com/wireguard/android/backend/GoBackend.java
@@ -70,6 +70,8 @@ public final class GoBackend implements Backend {
alwaysOnCallback = cb;
}
+ private static native void wgDHCP(int handle);
+
@Nullable private static native String wgGetConfig(int handle);
private static native int wgGetSocketV4(int handle);