Commit Graph
27 Commits
Author SHA1 Message Date
Nils Andreas Svee f35b8fea95 feat(cli): expose receive metadata in machine output 2026-05-07 18:40:38 +07:00
Nils Andreas Svee 4dd6c11936 feat(cli): improve cli help text and unit test naming 2026-05-05 00:58:22 +07:00
Nils Andreas Svee 8c8a679533 feat(cli): add support for configuring outgoing TTL and hop limit
Introduce a `--ttl` flag to allow users to set the IPv4 TTL or IPv6 hop limit, providing control over packet lifespan and helping diagnose network topology issues.
2026-05-05 00:45:56 +07:00
Nils Andreas Svee 36ca426ff5 test(client): add integration tests for packet length and server fill
Verify that the client correctly handles custom packet lengths and server fill negotiation to ensure protocol compliance and support for larger MTUs. Add validation to reject empty server fill strings during configuration.
2026-05-05 00:04:12 +07:00
Nils Andreas Svee bf5b3b2f55 refactor(cli): rename m8 compatibility terms to advanced protocol options 2026-05-03 22:25:35 +07:00
Nils Andreas Svee 8ee308a2b4 test(cli): consolidate invalid argument parsing tests 2026-05-03 22:25:25 +07:00
Nils Andreas Svee 18c6e2c1a9 test(cli): expand test coverage for new CLI parameters 2026-05-03 16:12:10 +07:00
Nils Andreas Svee 5af3f891fc feat(cli): add advanced negotiation and protocol options 2026-05-03 16:12:10 +07:00
Nils Andreas Svee 64df93dbb6 feat(cli): add support for midpoint timestamps and received stats 2026-05-03 16:12:10 +07:00
Nils Andreas Svee 59194b620a feat(cli): implement continuous statistics and summary suppression 2026-05-02 00:01:31 +07:00
Nils Andreas Svee d79c8716a0 refactor(cli): enhance main loop and reply draining logic 2026-05-02 00:01:31 +07:00
Nils Andreas Svee 36c36f3872 feat(cli): add support for continuous mode with zero duration 2026-05-02 00:01:31 +07:00
Nils Andreas Svee e63b176265 style(cli): rename machine output keys for clarity 2026-05-02 00:01:31 +07:00
Nils Andreas Svee a26e1a6d59 feat(cli): integrate StatsCollector into main execution loop 2026-05-01 22:11:47 +07:00
Nils Andreas Svee 815dab077d feat(cli): implement summary formatting for statistics 2026-05-01 22:11:47 +07:00
Nils Andreas Svee 17d9ed9e3a build(cli): add irtt-stats dependency and feature flag 2026-05-01 22:11:47 +07:00
Nils Andreas Svee 07b3d2d822 feat(cli): add Human output mode and summary logic 2026-05-01 22:11:47 +07:00
Nils Andreas Svee cf519bd630 feat(client): emit EchoSent event with scheduling metadata 2026-05-01 10:05:52 +07:00
Nils Andreas Svee e2be6cadac feat(client): implement SignedDuration for precise RTT tracking 2026-05-01 10:05:52 +07:00
Nils Andreas Svee 18f15f16d5 feat(client): record and report packet size in client events 2026-05-01 10:05:43 +07:00
Nils Andreas Svee 13c32cd753 refactor(cli): restrict test utilities to test module and expand value escaping
Move internal test helpers to the test module to clean up the public API and add support for escaping common whitespace characters in output values.
2026-04-28 23:16:22 +07:00
Nils Andreas Svee 729d884047 perf(cli): use LineWriter for stdout to improve output responsiveness
Switch from BufWriter to LineWriter to ensure trace logs and events are flushed to the terminal immediately upon each line completion.
2026-04-28 23:15:54 +07:00
Nils Andreas Svee d4d39922b0 docs(cli): add TODO for refining final drain duration logic
Document the need to derive the final drain period from client state rather than using a hardcoded guess.
2026-04-28 23:15:45 +07:00
Nils Andreas Svee 0229110ea0 feat(cli): implement main execution loop and network I/O logic 2026-04-28 23:06:45 +07:00
Nils Andreas Svee d82b35ce3a feat(cli): implement command-line argument parsing and event formatting 2026-04-28 23:06:45 +07:00
Nils Andreas Svee 1d378ed5ea chore(cli): add dependencies for CLI implementation 2026-04-28 23:06:45 +07:00
Nils Andreas Svee 82491f0f61 feat(project): Establish initial IRTT workspace and protocol definitions
Set up the multi-crate project structure and add the core IRTT protocol with pinned dependencies for reproducible builds.
2026-04-28 16:03:50 +07:00