Brenton Bostick
|
fbd834716f
|
comments and logging
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
914b4fae7b
|
switch statement work
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
a1bf139188
|
use PRId64 macros
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
a2f753986b
|
JniRef work
JniRef does not use callbacks struct, so remove
fix NewGlobalRef / DeleteGlobalRef mismatch
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
d28f44335a
|
use GETENV macro
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
0a925a6f21
|
fix ANDROID-38: stack corruption in onSendPacketRequested
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
132bff25df
|
newInetAddress and newInetSocketAddress work
allow newInetSocketAddress to return NULL if given empty address
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
e1c16a8e68
|
invert logic in a couple of places and return early
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
4ee73fa272
|
add fromSocketAddressObject
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
54fd7c7e9a
|
make VirtualNetworkConfig a plain data class
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
f51ce077a3
|
add array functions
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
90bf300bd8
|
Node init work: separate Node construction and init
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
f9528f1248
|
fix ANDROID-52: synchronization bug with nodeMap
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
4861ec5a40
|
make NodeStatus a plain data class
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
7c2766096c
|
add VirtualNetworkConfigOperation.fromInt
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
34ff813e2a
|
add ResultCode.fromInt
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
7c5f256d4a
|
add Event.fromInt
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
82749e4442
|
ANDROID-48: use ZT_jnicache.cpp and remove ZT_jnilookup.cpp and ZT_jniarray.cpp
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
7890185e81
|
ANDROID-48: add ZT_jnicache.cpp
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
71fc0dd097
|
add LOG_TAG defines
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
21264baaae
|
update to use unique error codes
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
703f9290c9
|
fix missing DeleteLocalRef in loops
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
dd1b52c7d9
|
fix ANDROID-35: memory leak
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
1c88037ea0
|
fix typos in JNI method signatures
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
5be92a96df
|
cleanup
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
0733af5239
|
move extern "C"
only JNI functions need to be exported
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
216ed8c8ea
|
fix headers
use recommended headers and remove unused headers
|
2023-03-02 07:19:49 -06:00 |
|
Brenton Bostick
|
9ac2cfe611
|
Fix warning: suggest braces around initialization of subobject
|
2022-12-01 08:35:31 -05:00 |
|
Brenton Bostick
|
f74a594e98
|
fix typos in comments and strings
|
2022-11-28 09:23:45 -05:00 |
|
Grant Limberg
|
87c75d033e
|
pt 2
|
2019-04-22 11:36:14 -07:00 |
|
Grant Limberg
|
71ae678930
|
Make things compile with Android NDK again
|
2019-04-22 11:35:35 -07:00 |
|
Grant Limberg
|
8828fc7520
|
some JNI error checking
|
2018-02-12 09:29:44 -08:00 |
|
Grant Limberg
|
3d4a1b575e
|
Update Android NDK with uint64_t -> int64_t changes
|
2017-10-03 11:25:26 -07:00 |
|
Grant Limberg
|
bcf697cc2b
|
Wire up PortMapper in Android
Enables UPnP port mapping for Android client on networks with UPnP routers
|
2017-07-17 16:16:25 -07:00 |
|
Grant Limberg
|
69ae35494e
|
put the correct file extensions on data written to disk in JNI
|
2017-07-12 13:36:22 -07:00 |
|
Grant Limberg
|
512c3af4ea
|
fix packet sending functions
|
2017-07-12 13:12:45 -07:00 |
|
Grant Limberg
|
d8f1c3dff7
|
Update JNI code to reflect new ZeroTier API
|
2017-07-12 11:34:53 -07:00 |
|
Grant Limberg
|
5f611dad51
|
added orbit/deorbit methods to java Node implementation
|
2017-03-29 13:29:02 -07:00 |
|
Grant Limberg
|
1c5fdb8a0a
|
fix path checker initialization
|
2017-03-29 13:28:06 -07:00 |
|
Grant Limberg
|
de4b9e9a16
|
Added path checking interface for Java
|
2017-03-29 12:52:52 -07:00 |
|
Grant Limberg
|
855361b5b8
|
fix native end of JNI code for new thread data ptr
|
2017-03-28 17:49:00 -07:00 |
|
Grant Limberg
|
f149dd9401
|
fix Android NDK build
|
2017-01-13 11:36:48 -08:00 |
|
Grant Limberg
|
3c5e28a27d
|
use new ZT_Node_Callbacks struct in JNI
|
2016-11-22 13:03:36 -08:00 |
|
Grant Limberg
|
be0af135bc
|
update JNI code for 1.1.6
|
2016-07-07 20:07:07 -07:00 |
|
Grant Limberg
|
3993dfa2a5
|
Fix JNI for API changes in 1.1.4
|
2016-01-22 18:06:58 -08:00 |
|
Grant Limberg
|
0508a41afd
|
added ttl parameter to WirePacketSendFunction
|
2015-11-14 17:40:17 -08:00 |
|
Grant Limberg
|
eadeac0a42
|
logging of events
|
2015-11-03 19:14:11 -08:00 |
|
Grant Limberg
|
b7df177f33
|
updates for origin/edge
|
2015-11-02 19:18:55 -08:00 |
|
Grant Limberg
|
75a191a856
|
don't create an InetSocketAddress on local address if it's equal to ZT_SOCKADDR_NULL
|
2015-09-26 14:10:45 -07:00 |
|
Grant Limberg
|
7c3be2b5c1
|
fix function signature in lookup for onSendPacketRequested function
|
2015-09-26 14:10:16 -07:00 |
|