Tor 0.4.9.13
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 use_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

ed25519_public_key_t ed_identity

Ed25519 identity for this router, if any.

Definition at line 33 of file extend_info_st.h.

Referenced by channel_connect_for_circuit(), circuit_send_intermediate_onion_skin(), extend_info_describe(), extend_info_new(), and onion_skin_create().

◆ enable_cgo

bool enable_cgo

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

Definition at line 50 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().

◆ use_congestion_control

bool use_congestion_control

True if this hop supports NtorV3 and negotiation of congestion control parameters, and if we intend to ask for congestion control.

Definition at line 45 of file extend_info_st.h.

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


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