Commit Graph

28 Commits

Author SHA1 Message Date
Joseph Henry
8ec82b026a Officially deprecated old Makefile in favor of CMake 2017-12-15 16:26:27 -08:00
Joseph Henry
8d1d77a8a4 zts_* API updates, unfinished lwIP tweaks 2017-11-21 15:53:31 -08:00
Joseph Henry
c2e664ac22 Commented out debug statement in VirtualTap 2017-11-13 15:27:15 -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
427f87db91 More fixes for Windows support 2017-10-10 12:41:36 -07:00
Joseph Henry
2900f1f995 Windows Support 2017-10-09 17:56:40 -07:00
Joseph Henry
c0aac699e7 Stubbed out experimental raw drivers 2017-09-29 15:37:50 -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
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
055a58ac63 Added multithreaded unit tests to selftest, standardization pass: conditional statement spacing 2017-09-18 11:58:41 -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
11dcc1e959 Stubbed out some of the more obscure socket options for both drivers 2017-09-15 19:45:49 -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
48a07c32a1 standardization pass: trim_right (trailing whitespaces) 2017-09-13 22:41:30 -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
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
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
ec323c9842 Added basic DNS functionality, fixed stack smashing bug, organizational improvements 2017-08-30 14:13:13 -07:00
Piotr Sarna
f58b6152f3 Fixed potential stack corruption with sprintf
string representation of _nwid itself could take up 16 bytes,
so 17 is definitely not enough for this format string.
snprintf is used as a panic check for future changes,
so we could get a truncated string instead of stack corruption.
2017-08-25 16:35:43 +02: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
8472a45ce3 Renamed lwIP low-level rx/tx functions 2017-08-17 14:37:01 -07:00
Joseph Henry
7d551d6198 Renamed SocketTap to VirtualTap and Connection to VirtualSocket to prevent confusion 2017-08-15 18:15:06 -07:00