Expand description
Messages sent over Tor channels
A ‘channel’ is a direct connection between a tor client and a relay, or between two relays. Current channels all use TLS.
This module implements the ChanCell type, which is the encoding for data sent over a channel. It also encodes and decodes various channel messages, which are the types of data conveyed over a channel.
Modules§
- Implementation for encoding and decoding of ChanCells.
- Different kinds of messages that can be encoded in channel cells.
Structs§
- A decoded channel cell, to be sent or received on a channel.
- A ChanCmd is the type of a channel cell. The value of the ChanCmd indicates the meaning of the cell, and (possibly) its length.
- Channel-local identifier for a circuit.
Constants§
- The amount of data sent in a fixed-length cell.
Traits§
- Trait implemented by anything that can serve as a channel message.
Type Aliases§
- A decoded and parsed channel cell of unrestricted type.
- A
RawCellBody
stored on the heap. - A cell body considered as a raw array of bytes