Commit Graph

148 Commits

Author SHA1 Message Date
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
Joseph Henry
9918093c4b Fixed missing poll header 2017-07-18 11:27:53 -07:00
Joseph Henry
43caf4a6f2 Minor changes to selftest, updated TESTING readme, removed old test personality conf files 2017-07-13 10:53:19 -07:00
Joseph Henry
494ec2508c Added stubs for poll/select, improved selftest/echotest, Added ringbuffer for more efficient RX/TX 2017-07-12 11:44:31 -07:00
Joseph Henry
195cac6d55 significant upgrade to selftest, added echotest, better checks for data in queue before socket closure 2017-06-16 16:58:30 -07:00
Joseph Henry
4403f902a4 More *.md tweaks 2017-06-14 17:53:32 -07:00
Joseph Henry
d3351dd2ce README updates, misc filename changes, debug trace fixes, introduction of libzt moniker 2017-06-14 16:53:59 -07:00
Joseph Henry
f5de570334 Build fixes for FreeBSD 2017-06-08 16:09:11 -07:00
Joseph Henry
19839eeac9 updated picoTCP to 1.4.0, lowered build optimization levels to -O2, improved selftest 2017-06-05 14:26:06 -07:00
Joseph Henry
47a80e8954 changed SO_LINGER value, added TODOs 2017-05-31 13:27:20 -07:00
Joseph Henry
5ab563ce4c Updated tests 2017-05-30 13:17:39 -07:00
Joseph Henry
dcdc13204c wider selftest coverage 2017-05-05 16:46:07 -07:00
Joseph Henry
d631e06d99 tweaked license text for SDK 2017-05-04 15:53:38 -07:00
Joseph Henry
4c9c28ae21 updated license header text 2017-05-04 15:35:50 -07:00
Joseph Henry
307d164938 updated core to 1.2.4, fixed pico_device init bug 2017-05-04 15:33:33 -07:00
Joseph Henry
890e32e88b added java example 2017-05-04 13:06:39 -07:00
Joseph Henry
f95ba20aff Added defines for SDK behavior 2017-05-01 17:55:17 -07:00
Joseph Henry
76abb3e0a2 improved testing and connection handling 2017-04-20 13:39:46 -07:00
Joseph Henry
c65b609fb4 spring cleaning 2017-04-14 17:23:28 -07:00
Joseph Henry
3052f55d12 Added SocketTap multiplexing logic 2017-04-07 17:56:05 -07:00
Joseph Henry
08cca3c7aa dynamic loading of network stack no longer needed 2017-04-06 19:16:01 -07:00