Commit Graph

14 Commits

Author SHA1 Message Date
Ian Gulliver
59829b569e Strip over-commenting in test_handlers.cpp 2026-04-19 08:13:16 -07:00
Ian Gulliver
32044a5cbd Eliminate std::function: fn-pointer callbacks, per-test test_state structs, udp.cpp with link-time udp::client::handler, udp::address 2026-04-19 00:32:13 -07:00
Ian Gulliver
9b7362c460 Rename ping_rate/ping_rate_1k to packet_rate/byte_rate, use 1400-byte payloads 2026-04-12 07:55:30 +09:00
Ian Gulliver
8b69917e1d Biffer buffers, more aggressive tests 2026-04-11 21:32:50 +09:00
Ian Gulliver
1c8c645878 Clean up callback_list, remove sentinel/active/tail, callbacks return bool for removal, register before send 2026-04-11 15:01:37 +09:00
Ian Gulliver
fec0a0f765 Replace sorted_list/vector with callback_list doubly-linked list for timers and frame callbacks 2026-04-11 14:26:53 +09:00
Ian Gulliver
aa349e1a36 Add debug logging to overflow/error paths, fix pipeline=2 drop 2026-04-11 09:48:25 +09:00
Ian Gulliver
f7baf60249 Pipeline ping rate tests, small=1 large=2 in-flight 2026-04-11 09:29:34 +09:00
Ian Gulliver
1843660e6f Add ping rate tests, discover_peer helper, standardize prepend_buffer to 4096 2026-04-11 09:17:46 +09:00
Ian Gulliver
a6225faa2b Add IGMP, prepend_buffer/parse_buffer, split UDP header, discovery tests, test all 2026-04-11 09:04:55 +09:00
Ian Gulliver
e486f6501a Cancellable timers: sorted_list::remove, timer cancel, replace done flag with timer cancellation 2026-04-11 08:28:32 +09:00
Ian Gulliver
3a3c5873c3 Add dlogf printf formatting, ipv4::to_string helper, clean up string building 2026-04-11 08:21:59 +09:00
Ian Gulliver
c35c1de76a Split net stack into eth/arp/ipv4/icmp, deferred handler responses, ping tests 2026-04-11 08:15:41 +09:00
Ian Gulliver
34efaeefd5 Add list-tests protocol message, test subcommands, extract test handlers 2026-04-11 07:25:16 +09:00