Module params

Source
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§

ChannelPaddingInstructions
Initial, and, overall, padding instructions for channels
ChannelPaddingInstructionsUpdates
New instructions to the reactor
ChannelPaddingInstructionsUpdatesBuilder
Builder for a channels padding instructions update