Module usage

Source
Expand description

Code related to tracking what activities a circuit can be used for.

Structs§

ExitPolicy 🔒
An exit policy, as supported by the last hop of a circuit.
TargetPort
A port that we want to connect to as a client.
TargetPorts
Set of requested target ports, mostly for use in error reporting

Enums§

SupportedCircUsage 🔒
The purposes for which a circuit is usable.
TargetCircUsage 🔒
The purpose for which a circuit is being created.

Functions§

owned_targets_equivalent 🔒 specific-relay
Return true if a and b count as the same target for the purpose of comparing DirSpecificTarget values.