Commit Graph

171 Commits

Author SHA1 Message Date
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
Joseph Henry
5eda430a87 Makefile changes 2017-12-13 16:11:23 -08:00
Joseph Henry
de0ce73023 Temporarily removed DNS support to prevent TLS h_errno conflict. Updated CMakeLists 2017-12-07 16:45:02 -08:00
Joseph Henry
76af1d4246 Fix for Debian compile error: api_sleep (taking address of temporary array) 2017-12-07 11:09:38 -08:00
Joseph Henry
50c0e802d8 Temporary fixes for warnings 2017-12-04 17:00:52 -08:00
Joseph Henry
9e14d0361c Added check for ZT_TRACE in debug macros 2017-11-29 17:06:06 -08:00
Joseph Henry
3bf7d5f050 Added preprocessor check for TCP_KEEPIDLE 2017-11-29 17:05:26 -08:00
Joseph Henry
8d1d77a8a4 zts_* API updates, unfinished lwIP tweaks 2017-11-21 15:53:31 -08:00
Joseph Henry
d6fcdf5277 Fixed netif initialization bug, fixed typos in documentation 2017-11-16 00:54:26 -08:00
Joseph Henry
95a21117c8 Removed duplicate documentation and function prototypes 2017-11-15 15:51:54 -08:00
Joseph Henry
d3f92d98ed Updated convenience function zts_get_node_id_from_file() 2017-11-15 15:28:55 -08:00
Joseph Henry
4525b2c553 Removed vestigial API function zts_join_soft() 2017-11-13 16:53:46 -08:00
Joseph Henry
4588b5a1df Reworked packet-netif routing code 2017-11-13 15:27:56 -08:00
Joseph Henry
ab6eb57da6 Buid fix for Linux 2017-11-06 23:53:25 -08:00