mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
udp: improve ConnectionValidator doc comment
This commit is contained in:
parent
f58e2a9bdb
commit
e8cb0c1618
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,8 @@ pub const BUFFER_SIZE: usize = 8192;
|
||||||
///
|
///
|
||||||
/// Structure of created ConnectionID (bytes making up inner i64):
|
/// Structure of created ConnectionID (bytes making up inner i64):
|
||||||
/// - &[0..4]: connection expiration time as number of seconds after
|
/// - &[0..4]: connection expiration time as number of seconds after
|
||||||
/// ConnectionValidator instance was created, encoded as u32 bytes
|
/// ConnectionValidator instance was created, encoded as u32 bytes.
|
||||||
|
/// Value fits around 136 years.
|
||||||
/// - &[4..8]: truncated keyed BLAKE3 hash of above 4 bytes and octets of
|
/// - &[4..8]: truncated keyed BLAKE3 hash of above 4 bytes and octets of
|
||||||
/// client IP address
|
/// client IP address
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue