Expand description
Parameters influencing all channels in a Tor client
This module contains ChannelPaddingInstructions
.
These are instructions about what to do about padding. They include information about:
- whether padding is to be sent
- what timing parameters to use for sending padding
- what
PADDING_NEGOTIATE
cell to send
The instructions are, ultimately, instructions to the channel reactor.
The reactor gets a ChannelPaddingInstructionsUpdates
,
which is a set of changes to make.
The producer side is the channel manager,
which records the current ChannelPaddingInstructions
and makes updates with ChannelPaddingInstructionsUpdatesBuilder
(and is assisted by Channel::engage_padding_activities
).
Macros§
- define_
channels_ 🔒insns_ and_ automatic_ impls - Generate most of the types and methods relating to ChannelPaddingInstructions: things which contain or process all instructions fields (or each one)
Structs§
- Channel
Padding Instructions - Initial, and, overall, padding instructions for channels
- Channel
Padding Instructions Updates - New instructions to the reactor
- Channel
Padding Instructions Updates Builder - Builder for a channels padding instructions update