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
uint16_t port
tor_addr_t addr
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 onehop general-purpose tunnels, the onion_key is NULL.

Definition at line 17 of file extend_info_st.h.

Field Documentation

◆ addr

tor_addr_t extend_info_t::addr

◆ ed_identity

ed25519_public_key_t extend_info_t::ed_identity

Ed25519 identity for this router, if any.

Definition at line 23 of file extend_info_st.h.

◆ identity_digest

char extend_info_t::identity_digest[DIGEST_LEN]

◆ nickname

char extend_info_t::nickname[MAX_HEX_NICKNAME_LEN+1]

This router's nickname for display.

Definition at line 18 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* extend_info_t::onion_key

Current onionskin key.

Definition at line 26 of file extend_info_st.h.

Referenced by extend_info_is_a_configured_bridge().

◆ port

uint16_t extend_info_t::port

OR port.

Definition at line 24 of file extend_info_st.h.

Referenced by extend_info_is_a_configured_bridge(), and routerset_contains_extendinfo().

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