Commit Graph

120 Commits

Author SHA1 Message Date
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
d36b6d58bf Attempt (2) to resolve non-TLS h_errno build failure in Jenkins 2017-10-19 11:20:30 -07:00
Joseph Henry
1020386fa7 Removed protocol version build flags, defaults to IPV4 && IPV6 2017-10-18 17:57:51 -07: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
e36b88004f IPV6 interface tweaks 2017-10-16 12:23:10 -07:00
Joseph Henry
9473b6f74a Updated zts_start* API naming convention 2017-10-12 12:07:33 -07:00
Joseph Henry
3ed00612ed Fixed accidentally deleted newline in debug macros 2017-10-11 16:19:23 -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
06a09edd6d Reduced Housekeeping interval from 5 seconds to 3 seconds 2017-10-09 00:08:00 -07:00
Joseph Henry
7301c8c405 Added untested DNS client code 2017-10-09 00:07:31 -07:00
Joseph Henry
c0aac699e7 Stubbed out experimental raw drivers 2017-09-29 15:37:50 -07:00
Joseph Henry
11f13a7eff Added comments to ZTService functions 2017-09-29 13:24:38 -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
e4620e4c85 Consolidated tcp_write() logic in picoTCP driver, updated tcp_closure/tcp_shutdown logic in picoTCP driver, stubbed out more doxygen comments 2017-09-22 14:14:14 -07:00
Joseph Henry
a99edf2077 Stubbed-out doxygen comments 2017-09-22 13:52:58 -07:00
Joseph Henry
b80dc83bd8 Added THREAD_ID to debug traces 2017-09-21 23:21:10 -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
4991c85598 Added TCP_DEBUG_TMR to lessen lwIP debug trace clutter 2017-09-18 12:08:18 -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
87af06a834 Adjusted debug macros for simplicity 2017-09-15 19:31:23 -07:00
Joseph Henry
7c586471f4 standardization pass: conditional statement spacing, removed NULL shorthand making checks more explicit 2017-09-14 13:17:37 -07:00
Joseph Henry
476f162a19 standardization pass: trim_right (trailing whitespaces) 2017-09-13 23:21:15 -07:00
Joseph Henry
3bec79314e Added standardization target for code style, fixed LWIP_DEBUG redefinition warning, fixed rare tcp_close() and cb_poll() bugs 2017-09-13 22:34:25 -07:00
Joseph Henry
0dc390ddcf Added differentiation of LIBZT_DEBUG and NS_DEBUG flags, other minor tweaks 2017-09-13 16:26:27 -07:00
Joseph Henry
ca84110a16 Added code quality and standardization profile (for use with Vera++). Increased maximum number of lwIP UDP_PCBs from 4 to 128 2017-09-12 16:34:13 -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
e18c1ccf80 Further improvements to selftest, lwIP driver updates 2017-09-06 18:02:30 -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
ad17909f06 Build tweaks, better flag handling across makefiles 2017-08-14 15:53:53 -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
Joseph Henry
57d7b30f0c Merge branch 'master' into gdamore-fixes 2017-07-26 00:08:10 -07:00
Joseph Henry
4e36fe28d5 BSD-license-compatible, and NO_STACK build variants 2017-07-25 23:40:24 -07:00
Garrett D'Amore
1d21bc4145 zts_get_pico_socket needs to pass indirect pointer 2017-07-25 10:43:47 -07:00