Commit Graph

58 Commits

Author SHA1 Message Date
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
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
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
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
07be7a25a3 Removed cruft from project 2018-07-19 17:19:06 -07: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
8df91ae1c8 Added zts_set_service_port() 2018-02-07 17:35:27 -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
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
4525b2c553 Removed vestigial API function zts_join_soft() 2017-11-13 16:53:46 -08:00
Joseph Henry
614432907c Windows build fixes 2017-11-06 16:19:55 -08:00
Joseph Henry
e0d4b84dd4 Preparation for C--, removed classes, namespaces, advanced build options are now controlled via include/libztDefs.h 2017-11-06 13:50:20 -08:00
Joseph Henry
45260c4e69 Modification to blocking bahavior of zts_start, is now settable. Improved address family handling in JNI 2017-10-16 16:45:46 -07:00
Joseph Henry
fdd6010456 Minor change to API (renamed get_device_id to get_id). More complete Scala binding 2017-10-16 15:12:37 -07:00
Joseph Henry
9473b6f74a Updated zts_start* API naming convention 2017-10-12 12:07:33 -07:00
Joseph Henry
33f9d2b86e Added target for MSVC DLLs for use in Visual Studio 2017-10-11 15:22:31 -07:00
Joseph Henry
b45304b16d Added untested DLL target for Windows 2017-10-10 17:43:29 -07:00
Joseph Henry
08b7ccb921 Added return values to zts_start() and zts_simple_start(). Also Fixed signed comparison warnings in ztproxy when compiling under Windows 2017-10-10 14:20:20 -07:00
Joseph Henry
2900f1f995 Windows Support 2017-10-09 17:56:40 -07:00
Joseph Henry
7301c8c405 Added untested DNS client code 2017-10-09 00:07:31 -07:00
Joseph Henry
1afb2308b6 Added comment syntax for doxygen, fixed build flag which produced unnecessarily-large binaries, removed trailing whitespace 2017-09-27 13:42:27 -07:00
Joseph Henry
5f1e9fe795 Introduction of sequential-API build variant, better thread safety (lwIP only) 2017-09-27 02:29:04 -07:00
Joseph Henry
a99edf2077 Stubbed-out doxygen comments 2017-09-22 13:52:58 -07:00
Joseph Henry
83b641dd77 Added build timestamps for logging 2017-09-21 23:20:06 -07:00
Joseph Henry
5e320fb950 Fixed lwIP driver thread model violation (tcp_close() was being called by application thread) 2017-09-19 10:52:59 -07:00
Joseph Henry
11dcc1e959 Stubbed out some of the more obscure socket options for both drivers 2017-09-15 19:45:49 -07:00
Joseph Henry
476f162a19 standardization pass: trim_right (trailing whitespaces) 2017-09-13 23:21:15 -07:00
Joseph Henry
67b7c7e2e2 Added exception handling for virtual socket add/del functions 2017-09-11 17:01:02 -07:00
Joseph Henry
d1396c9917 Replaced get_pico_socket() with more generic code. Added checksum note in libzt.h 2017-09-11 14:00:44 -07:00
Joseph Henry
1d4f36a811 Added selectable TCP_WRITE_FLAG_COPY mode on a per-socket basis, updated lwIP driver for socket limit checks 2017-09-08 16:13:56 -07:00
Joseph Henry
4fd2db7dd6 tcp_received() fix 2017-09-07 18:09:19 -07:00
Joseph Henry
142c27091c Added new unit tests and time-sync code for subtests, recvfrom() fixes 2017-09-05 16:51:07 -07:00
Joseph Henry
ec323c9842 Added basic DNS functionality, fixed stack smashing bug, organizational improvements 2017-08-30 14:13:13 -07:00
Joseph Henry
eff90c7d13 picotcp stack driver edge case bug fixes 2017-08-24 11:45:39 -07:00
Joseph Henry
bceadfbe46 Improvements to selftest, closure bug addressed 2017-08-18 07:43:29 -07:00
Joseph Henry
7d551d6198 Renamed SocketTap to VirtualTap and Connection to VirtualSocket to prevent confusion 2017-08-15 18:15:06 -07:00
Joseph Henry
8e192c0ee8 Managed Routes now supported, with automatic add/remove 2017-08-14 11:25:44 -07:00
Joseph Henry
c0e652bcde Added incomplete BSD-compatible network stack driver for lwIP 2017-08-08 11:16:01 -07:00
Joseph Henry
7e00eda5a0 Normalized indentation for entire project to TABS 2017-08-02 14:54:29 -07:00
Joseph Henry
7e30474ee4 Implemented barebones VL2 SOCK_RAW functionality, moved ZT core helper functions from OneService to libzt 2017-08-02 14:39:21 -07:00
Joseph Henry
b653e9e641 Updated README.md 2017-08-01 14:18:21 -07:00