Module tor_cell::chancell::msg

source ·
Expand description

Different kinds of messages that can be encoded in channel cells.

Structs§

  • An AuthChallenge message is part of negotiation, sent by responders to initiators.
  • Part of negotiation: sent by initiators to responders.
  • The Authorize message type is not yet used.
  • A Certs message is used as part of the channel handshake to send additional certificates.
  • A Create message creates a circuit, using the TAP handshake.
  • A Create2 message create a circuit on the current channel.
  • A CreateFast message creates a circuit using no public-key crypto.
  • A Created message responds to a Created message, using the TAP handshake.
  • A Created2 message completes a circuit-creation handshake.
  • A CreatedFast message responds to a CreateFast message
  • The Destroy message tears down a circuit.
  • Declared reason for ending a circuit.
  • Handshake type, corresponding to HTYPE in tor-spec.
  • The netinfo message ends channel negotiation.
  • A Padding message is a fixed-length message on a channel that is ignored.
  • A PaddingNegotiate message is used to negotiate channel padding.
  • A ChanCmd is the type of a channel cell. The value of the ChanCmd indicates the meaning of the cell, and (possibly) its length.
  • A Relay cell - that is, one transmitted over a circuit.
  • A Relay cell that is allowed to contain a CREATE message.
  • Holds any message whose command we don’t recognize.
  • A Versions message begins channel negotiation.
  • A VPadding message is a variable-length padding message.

Enums§

Traits§

  • Trait for the ‘bodies’ of channel messages.