Module tor_cell::relaycell::udp

source ·
Available on crate feature experimental-udp only.
Expand description

Encoding and decoding for relay messages

Relay messages are sent along circuits, inside RELAY or RELAY_EARLY cells.

Structs§

  • Address contained in a ConnectUdp and ConnectedUdp cell which can represent a hostname, IPv4 or IPv6 along a port number.
  • A ConnectUdp message creates a new UDP data stream.
  • A ConnectedUdp cell sent in response to a ConnectUdp.
  • A Datagram message represents data sent along a UDP stream.

Enums§

  • Address representing either a hostname, IPv4 or IPv6.