Commit Graph

544 Commits

Author SHA1 Message Date
Joseph Henry
ad99e14301 Build fixes for NO_STACK and ztproxy 2017-10-18 21:56:34 -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
ce22940f57 Update to JNI for both Java and Scala (removed ztjni from method prefixes) 2017-10-16 15:34:43 -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
83419fb89e Moved JNI wrapper into separate file. Updated shared_jni_lib build target 2017-10-13 13:14:04 -07:00
Joseph Henry
9473b6f74a Updated zts_start* API naming convention 2017-10-12 12:07:33 -07:00
Joseph Henry
b78662dd9b Fixed zts_simple_start() bug that caushed crash before ID generation 2017-10-12 10:34:53 -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
0e0cf22aa3 Temporarily commented out thread-safe version of zts_gethostbyname(), added -fpermissive to Makefile for MinGW Windows build 2017-10-10 14:59:55 -07:00
Joseph Henry
d7b3b20696 Fixed signed comparison warnings in ztproxy when compiling under Windows 2017-10-10 14:28:50 -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
9b9aa108c2 Added includes for various interface-related Windows defines 2017-10-10 13:05:08 -07:00
Joseph Henry
e3e22c35f1 Fixed typo 2017-10-10 13:02:21 -07:00
Joseph Henry
427f87db91 More fixes for Windows support 2017-10-10 12:41:36 -07:00
Joseph Henry
27dddb2f45 Added WSAStartup() and WSACleanup() calls to zts_start() and zts_stop() 2017-10-10 12:23:42 -07:00
Joseph Henry
35aa1820ef Fixed signed comparison warnings when compiling under Windows 2017-10-10 12:15:10 -07:00
Joseph Henry
29e31dd60a Fixes for Unix-like builds after introduction of Windows code 2017-10-10 11:40:14 -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
0319f8a894 SDK_JNI 2017-09-29 17:05:21 -07:00
Joseph Henry
2d70336ee4 A patch for a patch, formatting in selftest.cpp 2017-09-29 16:25:26 -07:00
Joseph Henry
a4b0457c58 lwIP IPv6 build fix 2017-09-29 16:10:24 -07:00
Joseph Henry
c0aac699e7 Stubbed out experimental raw drivers 2017-09-29 15:37:50 -07:00
Joseph Henry
af7a164f30 Removed debug lines from ZT1Service functions 2017-09-29 13:26:36 -07:00
Joseph Henry
2b09c57b45 Added reset() to RingBuffer 2017-09-29 13:25:56 -07:00
Joseph Henry
cb8e6b94d8 Fixed libzt lwip_select typo 2017-09-29 13:25:11 -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
83b641dd77 Added build timestamps for logging 2017-09-21 23:20:06 -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
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
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
60800d14ba Build fix, missing include for RLIMIT_NOFILE 2017-09-15 19:55:27 -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
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
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
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
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