Tor 0.4.9.8
Loading...
Searching...
No Matches
extend_info_t Struct Reference

#include <extend_info_st.h>

Data Fields

char nickname [MAX_HEX_NICKNAME_LEN+1]
 
char identity_digest [DIGEST_LEN]
 
ed25519_public_key_t ed_identity
 
tor_addr_port_t orports [EXTEND_INFO_MAX_ADDRS]
 
curve25519_public_key_t curve25519_onion_key
 
bool supports_ntor_v3
 
bool exit_supports_congestion_control
 
bool enable_cgo
 

Detailed Description

Information on router used when extending a circuit. We don't need a full routerinfo_t to extend: we only need addr:port:keyid to build an OR connection, and onion_key to create the onionskin. Note that for one-hop general-purpose tunnels, the onion_key is NULL.

Definition at line 27 of file extend_info_st.h.

Field Documentation

◆ curve25519_onion_key

curve25519_public_key_t curve25519_onion_key

Ntor onion key for this hop.

Definition at line 38 of file extend_info_st.h.

Referenced by extend_info_is_a_configured_bridge(), extend_info_new(), and onion_skin_create().

◆ ed_identity

◆ enable_cgo

bool enable_cgo

True if this hop supports CGO relay message enryption, and we intend to use it.

Definition at line 49 of file extend_info_st.h.

Referenced by circuit_pick_create_handshake(), client_circ_negotiation_message(), and extend_info_new().

◆ exit_supports_congestion_control

bool exit_supports_congestion_control

True if this hop is to be used as an exit, and it also supports supports NtorV3 and negotiation of congestion control parameters

Definition at line 44 of file extend_info_st.h.

Referenced by circuit_pick_create_handshake(), client_circ_negotiation_message(), and extend_info_new().

◆ identity_digest

◆ nickname

char nickname[MAX_HEX_NICKNAME_LEN+1]

◆ orports

◆ supports_ntor_v3

bool supports_ntor_v3

True if this hop supports ntor v3.

Definition at line 40 of file extend_info_st.h.

Referenced by extend_info_new(), and extend_info_supports_ntor_v3().


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