Tor 0.4.9.2-alpha-dev
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
circuit_params_t Struct Reference

#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
 

Detailed Description

Parameters negotiated as part of a circuit handshake.

Definition at line 32 of file onion_crypto.h.

Field Documentation

◆ cc_enabled

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().

◆ cell_fmt

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().

◆ crypto_alg

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().

◆ sendme_inc_cells

uint8_t sendme_inc_cells

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