Tor 0.4.9.2-alpha-dev
|
#include <onion_crypto.h>
Data Fields | |
bool | cc_enabled |
uint8_t | sendme_inc_cells |
relay_crypto_alg_t | crypto_alg |
relay_cell_fmt_t | cell_fmt |
Parameters negotiated as part of a circuit handshake.
Definition at line 32 of file onion_crypto.h.
bool cc_enabled |
Is true if congestion control is enabled in consensus or param, as per congestion_control_enabled() result.
Definition at line 35 of file onion_crypto.h.
Referenced by congestion_control_build_ext_response(), hs_circ_setup_congestion_control(), negotiate_v3_ntor_client_circ_params(), and negotiate_v3_ntor_server_circ_params().
relay_cell_fmt_t cell_fmt |
Which cell format did we negotiate?
Definition at line 42 of file onion_crypto.h.
Referenced by circuit_params_init(), client_circ_negotiation_message(), and negotiate_v3_ntor_server_circ_params().
relay_crypto_alg_t crypto_alg |
Which algorithm did we negotiate?
Definition at line 40 of file onion_crypto.h.
Referenced by circuit_params_init(), and client_circ_negotiation_message().
uint8_t sendme_inc_cells |
The number of cells in a sendme increment. Only used if cc_enabled=1.
Definition at line 37 of file onion_crypto.h.
Referenced by congestion_control_build_ext_response(), congestion_control_init_params(), congestion_control_parse_ext_response(), hs_circ_setup_congestion_control(), and negotiate_v3_ntor_server_circ_params().