Grant Limberg
bcf697cc2b
Wire up PortMapper in Android
...
Enables UPnP port mapping for Android client on networks with UPnP routers
9 years ago
Grant Limberg
69ae35494e
put the correct file extensions on data written to disk in JNI
9 years ago
Grant Limberg
512c3af4ea
fix packet sending functions
9 years ago
Grant Limberg
d8f1c3dff7
Update JNI code to reflect new ZeroTier API
9 years ago
Grant Limberg
952834f7f3
Let Android Studio determine debug/release build
9 years ago
Grant Limberg
5f611dad51
added orbit/deorbit methods to java Node implementation
9 years ago
Grant Limberg
1c5fdb8a0a
fix path checker initialization
9 years ago
Grant Limberg
de4b9e9a16
Added path checking interface for Java
9 years ago
Grant Limberg
855361b5b8
fix native end of JNI code for new thread data ptr
9 years ago
Grant Limberg
1520534660
fix some rediculousness in NDK-14
...
Apparently having -fPIC on the command line multiple times turns it back off
9 years ago
Grant Limberg
06c866ceb4
Android JNI fix
9 years ago
Grant Limberg
9ae49b5b85
Update JNI with new root terminology
9 years ago
Grant Limberg
923d3f1fe8
remove references to deleted source files in Android NDK build files
9 years ago
Grant Limberg
f149dd9401
fix Android NDK build
9 years ago
Grant Limberg
3c5e28a27d
use new ZT_Node_Callbacks struct in JNI
9 years ago
Grant Limberg
e1c930f1b7
update JNI wrapper to reflect removal of lastMulticastFrame and lastUnicastFrame from ZT_Peer struct
9 years ago
Grant Limberg
3a3fe272bb
add Revocation.cpp to android build
10 years ago
Grant Limberg
8809c6d122
link atomic library. seems to be required in the latest Android NDK
10 years ago
Grant Limberg
40d3993ceb
java code still needed to reflect PEER_ROLE_RELAY rename to PEER_ROLE_UPSTREAM
10 years ago
Grant Limberg
0564bb3b35
added missing copyright/license info from ZT_jniutils
10 years ago
Grant Limberg
d87f0293e3
Don't print a few error messages when they don't matter.
10 years ago
Grant Limberg
5fadd8bdd2
ZT_PEER_ROLE_RELAY -> ZT_PEER_ROLE_UPSTREAM in JNI glue
10 years ago
Grant Limberg
dccca7df1a
another couple of missing semicolons
10 years ago
Grant Limberg
407ad659ea
Reflect changes to strut ZT_PeerPhysicalPath
10 years ago
Grant Limberg
43b3ec4b1a
forgot a semicolon in a JNI java type specifier.
10 years ago
Grant Limberg
9f717e79ea
Fixing filename again....
10 years ago
Grant Limberg
d063f583ee
Added VirtualNetworkRoute class and added it to VirtualNetworkConfig
10 years ago
Grant Limberg
8a15b42dab
switch to GCC for Android
10 years ago
Grant Limberg
be0af135bc
update JNI code for 1.1.6
10 years ago
Grant Limberg
3993dfa2a5
Fix JNI for API changes in 1.1.4
10 years ago
Grant Limberg
399b2e9e26
forgot to submit this. Add DeferredPackets.cpp to the android makefile
10 years ago
Grant Limberg
0508a41afd
added ttl parameter to WirePacketSendFunction
10 years ago
Grant Limberg
eadeac0a42
logging of events
11 years ago
Grant Limberg
b7df177f33
updates for origin/edge
11 years ago
Grant Limberg
75a191a856
don't create an InetSocketAddress on local address if it's equal to ZT_SOCKADDR_NULL
11 years ago
Grant Limberg
7c3be2b5c1
fix function signature in lookup for onSendPacketRequested function
11 years ago
Adam Ierymenko
f69454ec98
(1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses.
11 years ago
Grant Limberg
a408e5f685
set ZT_NO_TYPE_PUNNING and -O3 for Android builds
11 years ago
Grant Limberg
ab34884e3e
Set -O0
...
anything above that currently goes kaboom on ARM platforms
11 years ago
Grant Limberg
0b7cd2f40a
change some build settings. add a lock
11 years ago
Grant Limberg
f803dd5ff4
...
11 years ago
Grant Limberg
aee8e95d49
logging
11 years ago
Grant Limberg
c9919cc5ba
reflect changes to ZT1_PeerRole in JNI
11 years ago
Grant Limberg
bfb152f53f
configure the NDK to build all supported ABIs and package them up in the jar
11 years ago
Grant Limberg
472206dfb2
Rename JniCache to JniLookup
...
Removed caching capabilities as the cached methods, fields, and objects appears to be broken on Android
11 years ago
Grant Limberg
7e84f5a7db
killing whitespace
11 years ago
Grant Limberg
6889fcfc28
Looks like it was the JNI cash causing the crash.
...
Forcing it to look up classes and methods instead of caching them stopped the crashes in the GC. Will investigate more later.
11 years ago
Grant Limberg
4dc0ff8f13
Replace calls to Get<Type>ArrayElements with GetPrimitiveArrayCritical.
...
This puts code accessing the data in a critical section so that the GC cannot run while JNI has access to the array. This helps with stability somewhat, but I'm still getting some crashes in the GC
11 years ago
Grant Limberg
ced040c503
Logging and adding .equals() methods to MulticastGroup and VirtualNetworkCofnig
11 years ago
Grant Limberg
7cc64c5cb6
Might help to set the enabled field on a VirtualNetworkConfig object :)
11 years ago