Commit Graph

1144 Commits

Author SHA1 Message Date
Joseph Henry
bddc08c69d Added unit test for zts_select() to selftest 2017-09-29 11:43:29 -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
842105f931 Updated FAQ, removed from docs 2017-09-22 13:33:31 -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
82aff7ebb4 Added test api documentation (to test markdown rendering) 2017-09-19 12:19:12 -07:00
Joseph Henry
bbc713d9e2 Changed references to vs->state to use guarded getters and setters in picoTCP driver 2017-09-19 11:27:37 -07:00
Joseph Henry
109162841d Updated Makefile to fix build error on NO_STACK configurations 2017-09-19 11:18:01 -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
91eb869e02 Upgraded lwIP to 2.0.3 2017-09-19 10:50:17 -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
3a82d4bada Minor tweaks to Makefile for ZeroTier::Utils in selftest, make-liblwip.mk for warning suppression 2017-09-18 12:06:45 -07:00
Joseph Henry
055a58ac63 Added multithreaded unit tests to selftest, standardization pass: conditional statement spacing 2017-09-18 11:58:41 -07:00
Joseph Henry
5ec6f1846b Fixed uninitialized memory warning before write() 2017-09-17 23:26:38 -07:00
Joseph Henry
ed51f41b47 Fixed memory leak in VirtualTap. Used unique_ptr instead of new/delete pair 2017-09-17 23:13:33 -07:00
Joseph Henry
854dbd7947 Removed old objects file. Has been moved into single Makefile 2017-09-17 23:11:25 -07:00
Joseph Henry
c84b398a32 Consolidated platform-specific makefiles into a single Makefile 2017-09-17 23:10:10 -07:00
Joseph Henry
60800d14ba Build fix, missing include for RLIMIT_NOFILE 2017-09-15 19:55:27 -07:00
Joseph Henry
f7112da490 Added prototype for future socket option unit tests 2017-09-15 19:47:31 -07:00
Joseph Henry
23b615b39a Slightly updated macOS makefile, temporarily reverted linux makefile 2017-09-15 19:46:51 -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
88efcf984a Updated release notes, lwip architecture port files 2017-09-15 19:30:48 -07:00
Joseph Henry
709fc40483 Upgraded lwIP to 2.0.2-STABLE 2017-09-14 13:20:49 -07:00
Joseph Henry
cc468fe8fe standardization pass: conditional statement spacing, removed NULL shorthand making checks more explicit 2017-09-14 13:19:13 -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
48a07c32a1 standardization pass: trim_right (trailing whitespaces) 2017-09-13 22:41:30 -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
bd68e808c1 Added repeat feature to selftest 2017-09-12 16:34:34 -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
5512ede4fd Added application polling logic to lwip_cb_poll() 2017-09-11 17:01:59 -07:00
Joseph Henry
67b7c7e2e2 Added exception handling for virtual socket add/del functions 2017-09-11 17:01:02 -07:00
Joseph Henry
b36a213d47 Added LIBZT_SANITIZE option, removed APIFILES from lwIP build 2017-09-11 16:59:52 -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
7992e67f85 Update for NS_DEBUG 2017-09-11 11:44:52 -07:00
Joseph Henry
8b379e08b2 Added lwIP stack debug flag passthrough (e.g. NS_DEBUG=1) 2017-09-11 11:44:17 -07:00
Joseph Henry
2642a4f6d8 Added question to FAQ 2017-09-11 11:42:28 -07:00
Joseph Henry
d130d7706c Removed lwip app source, you can find this in their repo instead 2017-09-11 11:42:12 -07:00
Joseph Henry
26f906046b Commented out RAW PCB check in lwIP 2017-09-08 17:12:07 -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
05fec81757 Added more safety checks to del_virtual_socket(), new zts_shutdown() implementation 2017-09-08 11:43:41 -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