tor  0.4.1.0-alpha-dev
Typedefs | Functions
hs_circuitmap.h File Reference

Go to the source code of this file.

Typedefs

typedef struct hs_token_t hs_token_t
 

Functions

typedef HT_HEAD (hs_circuitmap_ht, circuit_t) hs_circuitmap_ht
 
struct or_circuit_ths_circuitmap_get_intro_circ_v3_relay_side (const ed25519_public_key_t *auth_key)
 
struct or_circuit_ths_circuitmap_get_intro_circ_v2_relay_side (const uint8_t *digest)
 
struct or_circuit_ths_circuitmap_get_rend_circ_relay_side (const uint8_t *cookie)
 
void hs_circuitmap_register_rend_circ_relay_side (struct or_circuit_t *circ, const uint8_t *cookie)
 
void hs_circuitmap_register_intro_circ_v2_relay_side (struct or_circuit_t *circ, const uint8_t *digest)
 
void hs_circuitmap_register_intro_circ_v3_relay_side (struct or_circuit_t *circ, const ed25519_public_key_t *auth_key)
 
struct origin_circuit_ths_circuitmap_get_intro_circ_v3_service_side (const ed25519_public_key_t *auth_key)
 
struct origin_circuit_ths_circuitmap_get_intro_circ_v2_service_side (const uint8_t *digest)
 
struct origin_circuit_ths_circuitmap_get_rend_circ_service_side (const uint8_t *cookie)
 
struct origin_circuit_ths_circuitmap_get_rend_circ_client_side (const uint8_t *cookie)
 
struct origin_circuit_ths_circuitmap_get_established_rend_circ_client_side (const uint8_t *cookie)
 
void hs_circuitmap_register_intro_circ_v2_service_side (struct origin_circuit_t *circ, const uint8_t *digest)
 
void hs_circuitmap_register_intro_circ_v3_service_side (struct origin_circuit_t *circ, const ed25519_public_key_t *auth_key)
 
void hs_circuitmap_register_rend_circ_service_side (struct origin_circuit_t *circ, const uint8_t *cookie)
 
void hs_circuitmap_register_rend_circ_client_side (struct origin_circuit_t *circ, const uint8_t *cookie)
 
void hs_circuitmap_remove_circuit (struct circuit_t *circ)
 
void hs_circuitmap_init (void)
 
void hs_circuitmap_free_all (void)
 

Detailed Description

Header file for hs_circuitmap.c.

Definition in file hs_circuitmap.h.

Function Documentation

◆ hs_circuitmap_get_intro_circ_v3_relay_side()

struct or_circuit_t* hs_circuitmap_get_intro_circ_v3_relay_side ( const ed25519_public_key_t auth_key)

Public HS circuitmap API: Public relay-side API:

Definition at line 279 of file hs_circuitmap.c.

◆ hs_circuitmap_get_intro_circ_v3_service_side()

struct origin_circuit_t* hs_circuitmap_get_intro_circ_v3_service_side ( const ed25519_public_key_t auth_key)

Public service-side API:

Definition at line 347 of file hs_circuitmap.c.

◆ hs_circuitmap_register_rend_circ_relay_side()

void hs_circuitmap_register_rend_circ_relay_side ( or_circuit_t circ,
const uint8_t *  cookie 
)

Public relay-side setters:

Definition at line 312 of file hs_circuitmap.c.

References hs_circuitmap_register_circuit(), and TO_CIRCUIT.

◆ hs_circuitmap_remove_circuit()

void hs_circuitmap_remove_circuit ( circuit_t circ)

Public function: Remove this circuit from the HS circuitmap. Clear its HS token, and remove it from the hashtable.

Definition at line 543 of file hs_circuitmap.c.

References tor_assert().