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 | 85af878f85a699ed8b414a6f8d84723ba3f8ab7a (patch) | |
| tree | 480faf82c57807e89ac6c5bf6cd108bf51a0ff2c /src/transport/mod.rs | |
| parent | 005ef0d27363d63b3cd2cd44658d54ac75ea1c2d (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. |
