ClatCoordinator jni - clazz type is jclass
See:
https://source.corp.google.com/aosp-master/packages/modules/Connectivity/service/src/com/android/server/connectivity/ClatCoordinator.java;l=931
private static native String native_selectIpv4Address(String v4addr, int prefixlen) throws IOException;
private static native String native_generateIpv6Address(String iface, String v4, String prefix64, int mark) throws IOException;
private static native int native_createTunInterface(String tuniface) throws IOException;
private static native int native_detectMtu(String platSubnet, int platSuffix, int mark) throws IOException;
private static native int native_openPacketSocket() throws IOException;
private static native int native_openRawSocket6(int mark) throws IOException;
private static native void native_addAnycastSetsockopt(FileDescriptor sock, String v6, int ifindex) throws IOException;
private static native void native_configurePacketSocket(FileDescriptor sock, String v6, int ifindex) throws IOException;
private static native int native_startClatd(FileDescriptor tunfd, FileDescriptor readsock6, FileDescriptor writesock6, String iface, String pfx96, String v4, String v6) throws IOException;
private static native void native_stopClatd(String iface, String pfx96, String v4, String v6, int pid) throws IOException;
private static native long native_getSocketCookie(FileDescriptor sock) throws IOException;
so all are 'static' (ie. class methods)
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I1605912f0216b2c40ab966ddf4df42f960f17d3f
1 file changed