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.
This commit is contained in:
Nils Andreas Svee committed 2026-05-10 20:56:43 +07:00
1 parent a80a5e2b7b
commit d93e10ba45
8 files changed
+204 -7

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ mod timing;
pub use client::Client;
pub use config::{
ClientConfig, NegotiationPolicy, RecvBudget, RunMode, SocketConfig, MAX_DSCP_CODEPOINT,
MAX_SERVER_FILL_BYTES,
MAX_SERVER_FILL_BYTES, MAX_TTL,
};
pub use error::{ClientError, EventSubscriptionError};
pub use event::{