Brenton Bostick
d60929514b
reimplement VirtualNetworkRoute.toString
2023-03-02 07:19:49 -06:00
Brenton Bostick
920e1f56c2
reimplement VirtualNetworkRoute.compareTo
2023-03-02 07:19:49 -06:00
Brenton Bostick
86122e1646
reimplement VirtualNetworkRoute.equals
2023-03-02 07:19:49 -06:00
Brenton Bostick
f9a27d6778
make VirtualNetworkDNS a plain data class
2023-03-02 07:19:49 -06:00
Brenton Bostick
8b0be5c1fc
add VirtualNetworkDNS.hashCode
2023-03-02 07:19:49 -06:00
Brenton Bostick
686561dc5b
reimplement VirtualNetworkDNS.equals
2023-03-02 07:19:49 -06:00
Brenton Bostick
b8b8e58586
remove unused VirtualNetworkConfig.enabled
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
e060ae3176
add VirtualNetworkConfig.hashCode
2023-03-02 07:19:49 -06:00
Brenton Bostick
7392a32cd8
reimplement VirtualNetworkConfig.compareTo
2023-03-02 07:19:49 -06:00
Brenton Bostick
8b724493cc
reimplement VirtualNetworkConfig.equals
2023-03-02 07:19:49 -06:00
Brenton Bostick
9cb16accfd
fix ANDROID-49: VirtualNetworkConfig.equals is wrong
2023-03-02 07:19:49 -06:00
Brenton Bostick
d5944ae69c
fix ANDROID-42: copy/paste error
2023-03-02 07:19:49 -06:00
Brenton Bostick
6102c70855
make Version a plain data class
2023-03-02 07:19:49 -06:00
Brenton Bostick
6cc055dbba
make Peer 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
2de4c95446
remove unused PeerPhysicalPath.fixed
2023-03-02 07:19:49 -06:00
Brenton Bostick
63f70ba465
make PeerPhysicalPath a plain data class
2023-03-02 07:19:49 -06:00
Brenton Bostick
7ef68a9d6a
add Node.toString
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
acf5b3579b
add VirtualNetworkType.fromInt
2023-03-02 07:19:49 -06:00
Brenton Bostick
d1460ab65b
fix ANDROID-37: VirtualNetworkStatus out-of-sync with ZT_VirtualNetworkStatus enum
2023-03-02 07:19:49 -06:00
Brenton Bostick
85bd773c55
add VirtualNetworkStatus.fromInt
2023-03-02 07:19:49 -06:00
Brenton Bostick
ed3918b508
fix ANDROID-40: VirtualNetworkConfigOperation out-of-sync with ZT_VirtualNetworkConfigOperation enum
2023-03-02 07:19:49 -06:00
Brenton Bostick
7c2766096c
add VirtualNetworkConfigOperation.fromInt
2023-03-02 07:19:49 -06:00
Brenton Bostick
acd8b95114
fix ANDROID-36: issues with ResultCode
2023-03-02 07:19:49 -06:00
Brenton Bostick
34ff813e2a
add ResultCode.fromInt
2023-03-02 07:19:49 -06:00
Brenton Bostick
056cef7292
add PeerRole.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
8373a0fa60
add GETENV macro
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
01003617cd
fix ANDROID-51: fieldName is uninitialized
2023-03-02 07:19:49 -06:00
Brenton Bostick
bfe4bc2894
fix typo
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
0027e6bdab
fix typo in log message
2023-03-02 07:19:49 -06:00
Brenton Bostick
87edbb2d3a
fix ANDROID-50: RESULT_ERROR_BAD_PARAMETER typo
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
58e3b8c5ad
add StringUtils
2023-03-02 07:19:49 -06:00
Leonardo Amaral
c6adfd9d67
Added docker environment way to join networks ( #1871 )
2023-03-02 11:18:11 +01:00
Grant Limberg
672c58be01
Don't vendor packages for zeroidc ( #1885 )
2023-03-02 09:11:37 +01:00
Grant Limberg
6cf3b65953
Fix #1883 ( #1886 )
...
Still unknown as to why, but the call to `nc->GetProperties()` can fail
when setting a friendly name on the Windows virtual ethernet adapter.
Ensure that `ncp` is not null before continuing and accessing the device
GUID.
2023-03-01 18:00:59 -08:00