Skip to main content

Module usage

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ยง

SupportedTunnelUsage ๐Ÿ”’
The purposes for which a circuit is usable.
TargetTunnelUsage ๐Ÿ”’
The purpose for which a circuit is being created.

Functionsยง

owned_targets_equivalent ๐Ÿ”’
Return true if a and b count as the same target for the purpose of comparing DirSpecificTarget values.