Joseph Henry
a723c70feb
tap initialization patch
9 years ago
Joseph Henry
9c901350b3
lwip fix
9 years ago
Joseph Henry
0b726b3ac6
lwipdev initialization fix
9 years ago
Joseph Henry
eff90c7d13
picotcp stack driver edge case bug fixes
9 years ago
Joseph Henry
bceadfbe46
Improvements to selftest, closure bug addressed
9 years ago
Joseph Henry
69ef094a37
Added beautify_eth_proto_nums() and mac2str()
9 years ago
Joseph Henry
8472a45ce3
Renamed lwIP low-level rx/tx functions
9 years ago
Joseph Henry
7d551d6198
Renamed SocketTap to VirtualTap and Connection to VirtualSocket to prevent confusion
9 years ago
Joseph Henry
ad17909f06
Build tweaks, better flag handling across makefiles
9 years ago
Joseph Henry
8e192c0ee8
Managed Routes now supported, with automatic add/remove
9 years ago
Joseph Henry
c0e652bcde
Added incomplete BSD-compatible network stack driver for lwIP
9 years ago
Joseph Henry
649e0d7887
Fix for STACK_LWIP compilation
9 years ago
Joseph Henry
7fb03a7f6a
Fix for NO_STACK compilation bug due to new ZT core helper API
9 years ago
Joseph Henry
9c4a5ae26b
Normalized indentation for entire project to TABS
9 years ago
Joseph Henry
7e00eda5a0
Normalized indentation for entire project to TABS
9 years ago
Joseph Henry
7e30474ee4
Implemented barebones VL2 SOCK_RAW functionality, moved ZT core helper functions from OneService to libzt
9 years ago
Garrett D'Amore
25f18f870e
Fix broken PICO compile (mismerge of LwIP reintroduction.)
9 years ago
Joseph Henry
409c2dc9de
Added layer2 SOCK_RAW example code and stubs
9 years ago
Joseph Henry
b105ddb060
Removed old linger code, formatting fixes, other minor adjustments
9 years ago
Joseph Henry
4e36fe28d5
BSD-license-compatible, and NO_STACK build variants
9 years ago
Garrett D'Amore
a31f81a34d
Silence an aligned access warning.
...
clang is a bit too strict about validating address alignments
when using packed structs. The only member is a 32-bit value,
so the alignment was correct, but this approach is "correct"
and guaranteed to work even if the structure was not aligned,
at the cost of an extra temporary variable and 32-bit copy.
9 years ago
Garrett D'Amore
24fa0c9a6c
In write, buf_w was unchecked.
...
We already checked for room, so the buffer should have room. We make this
a kind of assertion; this silences compiler warnings. Later, if this
becomes a thread-level race condition, come back and actually use buf_w
more meaningfully to handle partial writes.
9 years ago
Garrett D'Amore
8a6d4820cc
Debug buffer address returned from stack should be static.
9 years ago
Garrett D'Amore
1d21bc4145
zts_get_pico_socket needs to pass indirect pointer
9 years ago
Joseph Henry
4ac559a107
Added minor feature request: zts_poll/zts_select
9 years ago
Joseph Henry
43caf4a6f2
Minor changes to selftest, updated TESTING readme, removed old test personality conf files
9 years ago
Joseph Henry
494ec2508c
Added stubs for poll/select, improved selftest/echotest, Added ringbuffer for more efficient RX/TX
9 years ago
Joseph Henry
195cac6d55
significant upgrade to selftest, added echotest, better checks for data in queue before socket closure
9 years ago
Joseph Henry
d3351dd2ce
README updates, misc filename changes, debug trace fixes, introduction of libzt moniker
9 years ago
Joseph Henry
06682e049e
bug fixes for ztproxy test
9 years ago
Joseph Henry
3793b23229
fixed connect/accept behaviour, added to selftest, renamed BSD makefile
9 years ago
Joseph Henry
f5de570334
Build fixes for FreeBSD
9 years ago
Joseph Henry
3566df2024
Dual-stack related bugfixes for ipv4/ipv6
9 years ago
Joseph Henry
19839eeac9
updated picoTCP to 1.4.0, lowered build optimization levels to -O2, improved selftest
9 years ago
Joseph Henry
47a80e8954
changed SO_LINGER value, added TODOs
9 years ago
Joseph Henry
5ab563ce4c
Updated tests
9 years ago
Joseph Henry
dcdc13204c
wider selftest coverage
9 years ago
Joseph Henry
d631e06d99
tweaked license text for SDK
9 years ago
Joseph Henry
4c9c28ae21
updated license header text
9 years ago
Joseph Henry
307d164938
updated core to 1.2.4, fixed pico_device init bug
9 years ago
Joseph Henry
890e32e88b
added java example
9 years ago
Joseph Henry
64f2634960
Added isPrefixEqual, fixed unit test bug, fixed ipv6 bind bug
9 years ago
Joseph Henry
8351854e90
checks for invalid Connections
9 years ago
Joseph Henry
ef1a708249
updates to picoTCP driver code
9 years ago
Joseph Henry
9a4ab4a85c
Connections now have a default SO_LINGER=2
9 years ago
Joseph Henry
7867a157d0
Added errno checklists
9 years ago
Joseph Henry
6a25abb757
various bug fixes
9 years ago
Joseph Henry
76abb3e0a2
improved testing and connection handling
9 years ago
Joseph Henry
c65b609fb4
spring cleaning
9 years ago
Joseph Henry
3052f55d12
Added SocketTap multiplexing logic
9 years ago