mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-11 05:03:34 +01:00
18 lines
533 B
Plaintext
18 lines
533 B
Plaintext
|
const CHANNELPADDING_COMMAND_STOP = 1;
|
||
|
const CHANNELPADDING_COMMAND_START = 2;
|
||
|
|
||
|
/* This command tells the relay to alter its min and max netflow
|
||
|
timeout range values, and send padding at that rate (resuming
|
||
|
if stopped). */
|
||
|
struct channelpadding_negotiate {
|
||
|
u8 version IN [0];
|
||
|
u8 command IN [CHANNELPADDING_COMMAND_START, CHANNELPADDING_COMMAND_STOP];
|
||
|
|
||
|
/* Min must not be lower than the current consensus parameter
|
||
|
nf_ito_low. */
|
||
|
u16 ito_low_ms;
|
||
|
|
||
|
/* Max must not be lower than ito_low_ms */
|
||
|
u16 ito_high_ms;
|
||
|
};
|