Commit Graph

171 Commits

Author SHA1 Message Date
Brenton Bostick
9ca6873c48 add ZTS_IN6ADDR_ANY_INIT and zts_in6addr_any
These mimic IN6ADDR_ANY_INIT and in6addr_any

For setting sin6_addr in zts_sockaddr_in6:
```
struct zts_sockaddr_in6 addr6;
addr6.sin6_addr = zts_in6addr_any;
```
2023-08-18 08:48:12 -04:00
Joseph Henry
dd0d606422 Add missing zts_init_set_low_bandwidth_mode 2023-08-03 15:47:50 -07:00
Joseph Henry
5874e442eb Port over TCP relay functionality from ZeroTier One 2023-07-24 18:56:40 -07:00
Brenton Bostick
8952a6bf95 Fix typos ZTS_CENRTAL_MAX_URL_LEN -> ZTS_CENTRAL_MAX_URL_LEN 2023-05-25 15:43:28 -04:00
janvanbouwel
9d66844523 Fix ZTS_MAX_PEER_NETWORK_PATHS to equal ZTO submodule 2023-02-21 18:16:11 +01:00
Joseph Henry
ae6debdbd2 Fix copy-and-paste errors mentioned in ticket #129 2021-12-06 21:28:41 -08:00
Joseph Henry
8b30649edc Update documentation links in READMEs 2021-05-20 10:17:32 -07:00
Joseph Henry
81d03c3692 Make socket exceptions more specific to match Python semantics 2021-05-19 22:14:15 -07:00
Joseph Henry
4e0813d167 Add address getter method to Python wrapper 2021-05-19 21:33:08 -07:00
Joseph Henry
e4961d4ef7 Minor changes to documentation comments to make parser happy 2021-05-19 13:57:40 -07:00
Joseph Henry
eac36f781d Add NetworkStream to C# wrapper. Fix errno bug in C# wrapper 2021-05-17 21:28:15 -07:00
Joseph Henry
5d404034c3 Add better port binding controls 2021-05-13 14:17:08 -07:00
Joseph Henry
9151f4471c Slight re-org of C API naming convention 2021-05-05 16:19:27 -07:00
Joseph Henry
6a77f0092f Update Python bindings to 1.4.0 API (WIP) 2021-05-02 21:30:21 -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
github-actions
ac7e01f328 Code style fixes 2021-04-22 18:20:43 +00: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
6638f20003 Add IPv6 to C# ZeroTier.Sockets, Add C# selftest, Misc C API improvements 2021-03-26 16:33:22 -07:00
Joseph Henry
9cd5fdee7b Update C API: Add functions that simplify wrapper generation 2021-03-24 12:20:39 -07:00
Joseph Henry
4b190ee384 Replace manual csc.exe invokation with dotnet project (for NuGet build) 2021-03-20 03:06:24 -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
04c965f0e5 Buildfix: Missing type specifier 2021-03-16 14:42:59 -07:00
Joseph Henry
2c5c1a6a5f Expose lwIP's DNS API in zts_* API. Fix preprocessor build bug 2021-03-16 00:31:45 -07:00
Joseph Henry
2a515822c8 Remove networking functions that can be found elsewhere 2021-03-15 01:59:18 -07:00
Joseph Henry
c220bb7d2f Improve Central API 2021-03-14 01:01:04 -08:00
Joseph Henry
575cfc364e Remove non-standard API function accept4() 2021-03-13 21:22:44 -08:00
Joseph Henry
5072d993b1 Implement more of the Python language binding. Minor adjustments to PyPI package 2021-03-05 00:18:11 -08: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
a055ee8012 Move C API documentation to include directory 2021-02-16 00:34:01 -08:00
Joseph Henry
b8cfadde0e Fix various minor compile-time warnings 2021-02-02 11:36:51 -08:00
Joseph Henry
38ea47212d Restructure packaging directories. Move C# bindings, minor compilation fix. 2021-02-01 17:59:21 -08:00
Joseph Henry
3544eab41d Add prototype key management API 2021-01-30 13:53:49 -08:00
Joseph Henry
6447b35b3f Minor preprocessor adjustment in ZeroTierSockets.h 2021-01-05 10:00:48 -08:00
Joseph Henry
a8c757eaff Add preprocessor check in ZeroTierSockets.h for inclusion of integer definitions. A response to e94ca31. 2021-01-04 20:57:18 -08:00
Evan Olcott
e94ca31944 Tweaks to Xcode project settings
* Made certain that the result would be a module
* Removed an unnecessary #include that caused errors when included in a project
2020-12-01 16:00:03 -06:00
Joseph Henry
b021e82078 Fix zts_allow_*_caching() bug that prevents user from properly setting value before node startup 2020-10-21 14:26:29 -07:00
Joseph Henry
96d25e4712 Add minor bit of documentation to zts_send to address ticket #74 2020-09-04 15:07:59 -07: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
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
9eefbd55d3 Improve documentation and error reporting 2020-04-17 11:35:43 -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
fe30716143 Added arm64-v8a, x86, x86_64 ABIs to build.gradle 2019-06-24 13:59:58 -07:00
Joseph Henry
f6f79b6305 Minor changes for Windows build 2019-06-17 16:46:17 -07:00