Data Fields
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

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 40 of file extend_info_st.h.

◆ 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(), and extend_info_describe().

◆ identity_digest

char identity_digest[DIGEST_LEN]

◆ nickname

char nickname[MAX_HEX_NICKNAME_LEN+1]

This router's nickname for display.

Definition at line 28 of file extend_info_st.h.

Referenced by build_state_get_exit_nickname(), extend_info_describe(), and routerset_contains_extendinfo().

◆ onion_key

crypto_pk_t* onion_key

TAP onion key for this hop.

Definition at line 38 of file extend_info_st.h.

Referenced by extend_info_is_a_configured_bridge().

◆ orports

IP/Port values for this hop's ORPort(s). Any unused values are set to a null address.

Definition at line 36 of file extend_info_st.h.

Referenced by extend_info_add_orport(), extend_info_any_orport_addr_is_internal(), extend_info_get_orport(), extend_info_has_orport(), extend_info_is_a_configured_bridge(), extend_info_pick_orport(), and routerset_contains_extendinfo().

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