diff options
| author | tv <tv@krebsco.de> | 2026-10-30 21:47:31 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-30 21:47:31 +0100 |
| commit | ce191f8319876b0e369c29c565fd9eb63892187c (patch) | |
| tree | 5f4c759f1fcce14570205736f42253359204671e /src/transport/mod.rs | |
| parent | db6e1ad6592aefce8a99db8478fac0baae09b228 (diff) | |
allow links subscriptions
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 7fbbd73..903dd07 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -403,6 +403,10 @@ pub(crate) struct LinksRequest { pub(crate) epoch_seq: u32, /// Repeated in the reply: which request it answers. pub(crate) nonce: u64, + /// For this long (seconds), a LINKS_REPLY again whenever the links change (a + /// subscription; the next LINKS renews it). 0: this reply only, and a subscription + /// ends. + pub(crate) subscribe_secs: u32, } /// LINKS_REPLY: how the sender is linked to its neighbours, as it measures them. |
