[][src]Module sphinxcrypto::commands

Sphinx routing commands

Structs

Delay
NextHop
Recipient
SURBReply

Enums

RoutingCommand

Sphinx routing commands are decrypted by each mix in the route. The Poisson mix strategy uses the Delay command, other mix strategies may need to add additional commands.

Constants

DELAY_SIZE

size of the delay command in bytes

NEXT_HOP_SIZE

size of the next hop command in bytes

RECIPIENT_SIZE

size of the recipient command in bytes

SURB_REPLY_SIZE

size of the SURB reply command in bytes

Functions

commands_to_vec

The commands_to_vec function is used to serialize a vector of routing commands, however it is considered an error to supply such a vector of commands with a NextHop command.

parse_routing_commands

Parse the per-hop routing commands.