tor  master
Data Fields
cpath_build_state_t Struct Reference

#include <or.h>

Collaboration diagram for cpath_build_state_t:
Collaboration graph
[legend]

Data Fields

int desired_path_len
 
extend_info_tchosen_exit
 
unsigned int need_uptime: 1
 
unsigned int need_capacity: 1
 
unsigned int is_internal: 1
 
unsigned int onehop_tunnel: 1
 
crypt_path_tpending_final_cpath
 
crypt_path_reference_tservice_pending_final_cpath_ref
 
int failure_count
 
time_t expiry_time
 

Detailed Description

Information used to build a circuit.

Field Documentation

◆ chosen_exit

extend_info_t* chosen_exit

How to extend to the planned exit node.

◆ desired_path_len

int desired_path_len

Intended length of the final circuit.

◆ expiry_time

time_t expiry_time

At what time should we give up on this task?

◆ failure_count

int failure_count

How many times has building a circuit for this task failed?

◆ is_internal

unsigned int is_internal

Whether the last hop was picked with exiting in mind.

◆ need_capacity

unsigned int need_capacity

Whether every node in the circ must have adequate capacity.

◆ need_uptime

unsigned int need_uptime

Whether every node in the circ must have adequate uptime.

◆ onehop_tunnel

unsigned int onehop_tunnel

Did we pick this as a one-hop tunnel (not safe for other streams)? These are for encrypted dir conns that exit to this router, not for arbitrary exits from the circuit.

◆ pending_final_cpath

crypt_path_t* pending_final_cpath

The crypt_path_t to append after rendezvous: used for rendezvous.

◆ service_pending_final_cpath_ref

crypt_path_reference_t* service_pending_final_cpath_ref

A ref-counted reference to the crypt_path_t to append after rendezvous; used on the service side.


The documentation for this struct was generated from the following file: