Commit Graph

51 Commits

Author SHA1 Message Date
Joseph Henry
5874e442eb Port over TCP relay functionality from ZeroTier One 2023-07-24 18:56:40 -07:00
Joseph Henry
27805f8ff2 Add low-bandwidth mode 2023-07-18 13:04:40 -07:00
staphen
e80bc35a26 Use lowercase when including Windows headers 2021-12-29 16:23:32 -05:00
Joseph Henry
bd12a1736b Fix MAC address getter convenience function in C API 2021-05-18 12:38:24 -07:00
Joseph Henry
5d404034c3 Add better port binding controls 2021-05-13 14:17:08 -07:00
Joseph Henry
22f80797b8 Fix socket initialization error on Windows 2021-05-12 15:05:18 -07:00
github-actions
8d554e88c5 Code style fixes 2021-05-06 07:38:48 +00:00
Joseph Henry
0890e2608f Commented out pthread_setname_np to address portability concern #116 2021-05-06 00:38:09 -07:00
Joseph Henry
6a77f0092f Update Python bindings to 1.4.0 API (WIP) 2021-05-02 21:30:21 -07:00
Joseph Henry
6763ced6f5 Reduce number of compile-time warnings 2021-04-30 15:36:46 -07:00
Joseph Henry
016b0ffc0e Adjust nomenclature. Add more C API extension functions 2021-04-29 14:03:15 -07:00
Joseph Henry
a247552df1 Format according to new ZeroTier standard 2021-04-26 22:07:55 -07:00
Joseph Henry
c456a87f97 Add zts_core_query_ and world sub-APIs. Adjust event subsystem 2021-04-26 21:55:01 -07:00
Joseph Henry
43350691b5 Expand C API and simplify NodeService 2021-04-22 11:20:04 -07:00
Joseph Henry
a5121b1e3c Applied styling rules from .clang-format 2021-04-17 23:46:21 -07:00
Joseph Henry
94053522cf Merge branch 'master' of https://github.com/GermanAizek/libzt into GermanAizek-master 2021-03-27 10:05:59 -07:00
GermanAizek
ac1a1b1d2b Fixed memleak, optimize and refactor code 2021-03-26 01:15:52 +03:00
Joseph Henry
9cd5fdee7b Update C API: Add functions that simplify wrapper generation 2021-03-24 12:20:39 -07:00
Joseph Henry
73e26c1a79 Bugfix: Check argument types and encodings in zts_py_send() 2021-03-16 23:30:14 -07:00
Joseph Henry
62354e142e Improvements to language binding facilities 2021-03-01 22:34:12 -08:00
Joseph Henry
7a82ef4a03 Improvements to language binding facilities. Add custom signal handler 2021-02-24 01:25:15 -08:00
Joseph Henry
b8cfadde0e Fix various minor compile-time warnings 2021-02-02 11:36:51 -08:00
Joseph Henry
3544eab41d Add prototype key management API 2021-01-30 13:53:49 -08:00
Joseph Henry
4122110cea Add C# P/INVOKE wrapper and client/server example 2021-01-04 21:03:57 -08:00
Evan Olcott
abbe7957c7 Support for creating .xcframework
* `make macOS` builds a universal framework
* `make xcframework` builds an .xcframework containing frameworks for macOS (universal), iOS, and iOS Simulator
* Addresses a compiler warning
2020-11-29 17:49:18 -06:00
Joseph Henry
37c01e18cf Change event code numbering scheme, fix Windows startup bug, fix zts_free(), remove vestigial API functions, update documentation 2020-05-30 18:29:04 -07:00
rossmc7
3f1e9f00d1 Fixing Android/Java crash on boot due to missing init method (#70)
* adding extern c to library methods to fix JNI crash on init

* changed style to use ifdef cplusplus
2020-05-29 11:24:22 -07:00
Lann Martin
a708c72dfa Fix struct name in zts_get_rfc_*_addr 2020-05-07 22:56:54 -04:00
Joseph Henry
a0b50530d3 Add portability and consistency fixes for C API, remove cruft, slight internal restructuring 2020-05-01 19:15:38 -07:00
Joseph Henry
894d3bf415 Fix (some) Windows compiler warnings 2020-04-20 23:50:21 -07:00
Joseph Henry
907a2e8417 Add Ad-hoc network ID convenience function to control interface 2020-04-17 11:37:46 -07:00
Joseph Henry
2b60ab27ea Add network and peer caching toggles to API, fix 6PLANE and RFC4193 address computation 2020-04-15 16:08:40 -07:00
Joseph Henry
51dfa84ba9 Fix netif IPv6 handling, misc cleanup, license update from GPL-3 to BSL 1.1 2020-04-13 23:38:06 -07:00
Joseph Henry
e9e1f8920d Naming convention tweaks for SWIG wrapper compatibility 2019-07-02 10:14:39 -07:00
Joseph Henry
17e5b8172d Minor changes for Windows build 2019-06-18 11:06:05 -07:00
Joseph Henry
94d221a055 Bugfix for JNI version of zts_restart() 2019-03-27 17:09:30 -07:00
Joseph Henry
e8553c9907 Added zts_get_protocol_stats(), zts_restart(), updated API documentation 2019-03-27 15:08:27 -07:00
Joseph Henry
3cbc1017eb Added ZTS_ERR_GENERAL, also minor updates to JNI layer 2019-03-18 14:23:34 -07:00
Joseph Henry
320253517b RX/TX improvements, build process improvements 2019-03-11 17:17:35 -07:00
Joseph Henry
3b967c1a12 Updated build script, minor shuffling of code to prevent naming conflicts 2019-03-04 18:04:37 -08:00
Joseph Henry
0afa8e41fa Minor update to control api (and JNI). zts_start, zts_stop return int 2019-02-28 15:47:49 -08:00
Joseph Henry
305829d0e5 #ifdef'd out niceness setter for Android 2019-02-28 11:45:54 -08:00
Joseph Henry
055d8acb25 Added _change_nice(), and options in src/Options.h 2019-02-27 18:37:00 -08:00
Joseph Henry
9a8dc5c8ea Removed stray debug line 2019-02-26 13:50:04 -08:00
Joseph Henry
bc32549dde Improved zts_get_*_status() functions. Added new error code ZTS_ERR_NO_RESULT 2019-02-26 13:40:04 -08:00
Joseph Henry
362f6769b2 Bug fix for callbacks, minor netif driver tweak, minor Makefile tweak 2019-02-25 14:52:19 -08:00
Joseph Henry
884425fc5b Fixed memory leak in callback message handling code 2019-02-21 14:06:29 -08:00
Joseph Henry
8b4921432e Android build fixes 2019-02-14 17:58:03 -08:00
Joseph Henry
a43d1d04e8 Unfinished callback improvements, consolidated netif4 and netif6 2019-02-14 17:27:16 -08:00
Joseph Henry
4de1068b57 Moved lwIP initialization from tap to zts_start for faster startup 2019-02-06 23:34:26 -08:00