ddirect
fba97c990a
Checksum simplification proposal ( #29 )
...
* Simplified checksum calculation and verification
* Fixed tests
* UDP: using NewBoundedFrame to create a Frame instance limited to the actual frame size.
* Minor: renamed some functions
* Commented and made more readable consecutive SetCRC calls.
* Fixed icmp checksum calculation after rebase
* Replaced NewBoundedFrame with explicit validation
2026-02-05 17:35:42 -03:00
ddirect
5e61b4600d
Checksum fixes ( #24 )
...
* Checksum 0x0000 is returned as 0xFFFF (mandatory for UDP, common for TCP)
* Both checksum zero values (0x0000 and 0xFFFF) are accepted when receiving
* Rename parameter in VerifySum16 to expectedSum16
---------
Co-authored-by: Pat Whittingslow <graded.sp@gmail.com >
2026-01-26 17:22:54 -03:00
Patricio Whittingslow
2e6e66e691
split out node callback between tinygo and go to avoid heap allocs
2026-01-13 10:38:21 -03:00
soypat
dc374169dc
use lneto.ErrDropPacket where appropiate; clean up examples/xnet output
2025-12-31 18:15:34 -03:00
Patricio Whittingslow
1554b89a08
StackNode refactor: add offsetToIP argument to Encapsulate
2025-12-19 00:38:28 -03:00
Patricio Whittingslow
eaa36a589a
internet: further use handlers data structure
2025-12-18 19:16:35 -03:00
Patricio Whittingslow
ac7f752447
internet: add handlers data structure
2025-12-18 18:44:50 -03:00
Patricio Whittingslow
bb4053647d
do not crash if no tcp connections are desired
2025-10-22 19:19:32 -03:00
soypat
123d4d20cc
begin adding icmpv4
2025-07-28 00:25:18 -03:00
soypat
63dc5d1079
add zero max ports error
2025-07-15 00:57:24 -03:00
soypat
61c66a2e58
remove NodeARP in favor of arp.Handler; fix bug in IP stack node handling; use registerNode where applicable
2025-07-14 19:48:29 -03:00
soypat
1549e563e9
continue reworking node API
2025-07-13 01:07:08 -03:00
soypat
68c4d1ea71
DNS working!
2025-07-12 12:34:20 -03:00
soypat
489e9951fa
dhcp working!
2025-07-09 16:54:48 -03:00
soypat
2133966a16
add dhcp failing test
2025-06-17 02:07:11 -03:00
soypat
dcc7a95e62
huge tap/bridge overhaul; udp node; dhcp node; DHCP example
2025-06-15 18:01:04 -03:00
soypat
6b511999d1
begin testing tcp listener (not working)
2025-06-09 20:38:40 -03:00
soypat
9a60642283
mega refactor internet.TCPConn->tcp.Conn
2025-06-07 20:43:20 -03:00
soypat
6cf5896543
continue reworking StackNode implementations
2025-06-07 11:59:56 -03:00
soypat
c635bde512
all in on StackNode refactor: Encapsulate/Demux on all stacks+ConnID+more abstraction
2025-06-06 01:23:44 -03:00