Commit Graph

134 Commits

Author SHA1 Message Date
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
Joseph Henry
9f93552740 Minor changes for Windows build 2019-06-17 16:03: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
3b967c1a12 Updated build script, minor shuffling of code to prevent naming conflicts 2019-03-04 18:04:37 -08:00
Joseph Henry
9ccb05698f Updated Xcode-Bridging-Header.h 2019-02-28 20:10:03 -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
884425fc5b Fixed memory leak in callback message handling code 2019-02-21 14:06:29 -08:00
Joseph Henry
a43d1d04e8 Unfinished callback improvements, consolidated netif4 and netif6 2019-02-14 17:27:16 -08:00
Joseph Henry
2fdcf025e1 Re-work of thread model 2019-02-06 22:00:39 -08:00
Joseph Henry
292fcdda2c Improved callback logic. Simplified lwip driver. 2019-01-31 03:08:48 -08:00
Joseph Henry
d715ebd461 Bugfix for hang in VirtualTap after calling getRoutes() and attempting to leave(), bugfix for potential memory leak if packet was rejected from stack 2019-01-27 22:43:42 -08:00
Joseph Henry
2fde6158ed Upgraded lwIP stack to 2.1.2 2019-01-27 22:39:44 -08:00
Joseph Henry
068013d0f7 Switch to MEM_LIBC_MALLOC usage in lwIP. Added event callbacks. Use of finer-grained locks in RX logic. CRCs disabled on inbound packets 2019-01-25 12:42:53 -08:00
Joseph Henry
270fc76b25 Updated lwIP patch to support improved shutdown semantics, updated ZT1 submodule reference 2019-01-14 15:49:00 -08:00
Joseph Henry
4e0c00aaff Improved reliability and performance, better startup and shutdown semantics, HTTP control plane is now disabled by default 2019-01-14 12:01:29 -08:00
Joseph Henry
71ea71e33a Bugfix for issue #31 - Proper handling of ad-hoc and 6plane network addresses 2018-09-20 17:51:44 -07:00
Joseph Henry
a9754777d0 Improvements to packaging scripts for Windows, macOS and Linux 2018-08-24 15:45:05 -07:00
Joseph Henry
3101329fbe Defined SOCKLEN_T_DEFINED in lwipopts.h to stop Android builds from complaining 2018-08-01 17:49:31 -07:00
Joseph Henry
76440565c0 Minor function definition tweaks for C/Swift compatibility 2018-08-01 17:01:54 -07:00
Joseph Henry
964e1f5cc6 Removed old MINGW preprocessor directives 2018-07-31 21:25:46 -07:00
Joseph Henry
e7a37ee391 Removed reference to DEBUG_* macros in examples and libzt proper 2018-07-27 15:52:15 -07:00
Joseph Henry
6e086ed3fa Updated lwip.patch for Linux compatibility, CMakeLists.txt, and fixed other minor compile-time warnings 2018-07-27 09:53:08 -07:00
Joseph Henry
7be4edb36d bugfix for ipv6 netif setup 2018-07-25 14:01:12 -07:00
Joseph Henry
07be7a25a3 Removed cruft from project 2018-07-19 17:19:06 -07:00
Joseph Henry
6916c3f36f Turned off stack debugs 2018-02-21 18:31:14 -08:00
Joseph Henry
9fba2a6d32 Fixed some debug trace format specifiers to reduce compile-time warnings 2018-02-21 11:42:07 -08:00
Joseph Henry
16000d5429 Changed debug configs for testing open file bug on Linux 2018-02-12 16:58:40 -08:00
Joseph Henry
8df91ae1c8 Added zts_set_service_port() 2018-02-07 17:35:27 -08:00
Joseph Henry
b0ac457ff1 Cleanup 2018-02-07 15:10:38 -08:00
Joseph Henry
bdfdbea2dc Added explanation and #defines for new guarded receive buffer 2018-02-07 14:23:07 -08:00
Joseph Henry
7e0da0cfd3 Removed LWIP_SUPPORT_CUSTOM_PBUF define 2018-02-07 12:56:45 -08:00
Joseph Henry
79a0966882 Turned off custom pbufs, core locking, tcpip debugging 2018-02-07 12:27:00 -08:00
Joseph Henry
f6256b71da Added guarded RX frame buffer to lwIP driver to protect against concurrent core access 2018-02-07 11:35:51 -08:00
joseph.henry
2c5634343a tweaks for Windows cmake build 2018-01-30 17:27:40 -08:00
joseph.henry
cc52c3c59c Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/libzt into dev 2018-01-30 10:56:30 -08:00
Joseph Henry
311ed8e533 Updated copyright for 2018 2018-01-08 17:05:48 -08:00
Joseph Henry
402083a5d8 Updated CMake build script for Windows. Moving away from MinGW requirement for build 2017-12-19 16:23:52 -08:00