Tor  0.4.3.0-alpha-dev
Data Fields
rend_service_descriptor_t Struct Reference

#include <rend_service_descriptor_st.h>

Data Fields

crypto_pk_tpk
 
int version
 
time_t timestamp
 
unsigned protocols: REND_PROTOCOL_VERSION_BITMASK_WIDTH
 
smartlist_tintro_nodes
 
int all_uploads_performed
 
smartlist_tsuccessful_uploads
 

Detailed Description

Information used to connect to a hidden service. Used on both the service side and the client side.

Definition at line 19 of file rend_service_descriptor_st.h.

Field Documentation

◆ all_uploads_performed

int all_uploads_performed

Has descriptor been uploaded to all hidden service directories?

Definition at line 30 of file rend_service_descriptor_st.h.

◆ intro_nodes

smartlist_t* intro_nodes

List of the service's introduction points. Elements are removed if introduction attempts fail.

Definition at line 28 of file rend_service_descriptor_st.h.

Referenced by rend_client_get_random_intro_impl(), and rend_parse_introduction_points().

◆ pk

This service's public key.

Definition at line 20 of file rend_service_descriptor_st.h.

Referenced by rend_cache_failure_remove(), and rend_service_descriptor_free_().

◆ protocols

unsigned protocols

Bitmask: which introduce/rendezvous protocols are supported? (We allow bits '0', '1', '2' and '3' to be set.)

Definition at line 25 of file rend_service_descriptor_st.h.

◆ successful_uploads

smartlist_t* successful_uploads

List of hidden service directories to which an upload request for this descriptor could be sent. Smartlist exists only when at least one of the previous upload requests failed (otherwise it's not important to know which uploads succeeded and which not).

Definition at line 35 of file rend_service_descriptor_st.h.

◆ timestamp

time_t timestamp

Time when the descriptor was generated.

Definition at line 22 of file rend_service_descriptor_st.h.

Referenced by rend_cache_clean_v2_descs_as_dir(), and rend_cache_store_v2_desc_as_dir().

◆ version

int version

Version of the descriptor format: 0 or 2.

Definition at line 21 of file rend_service_descriptor_st.h.


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