Tor 0.4.9.1-alpha-dev
|
Header file for conflux_params.c. More...
#include "core/or/or.h"
Go to the source code of this file.
Functions | |
bool | conflux_is_enabled (const struct circuit_t *circ) |
uint8_t | conflux_params_get_max_linked_set (void) |
uint8_t | conflux_params_get_max_prebuilt (void) |
uint8_t | conflux_params_get_max_unlinked_leg_retry (void) |
uint8_t | conflux_params_get_num_legs_set (void) |
uint8_t | conflux_params_get_max_legs_set (void) |
uint8_t | conflux_params_get_drain_pct (void) |
uint8_t | conflux_params_get_send_pct (void) |
void | conflux_params_new_consensus (const networkstatus_t *ns) |
Header file for conflux_params.c.
Definition in file conflux_params.h.
uint8_t conflux_params_get_drain_pct | ( | void | ) |
Return the drain percent we must hit before switching
Definition at line 242 of file conflux_params.c.
Referenced by conflux_can_switch().
uint8_t conflux_params_get_max_legs_set | ( | void | ) |
Return the maximum number of legs per set.
Definition at line 235 of file conflux_params.c.
uint8_t conflux_params_get_max_linked_set | ( | void | ) |
Return the maximum number of linked set we are allowed to have.
Definition at line 195 of file conflux_params.c.
uint8_t conflux_params_get_max_prebuilt | ( | void | ) |
Return the number of maximum pre built sets that is allowed to have.
Definition at line 202 of file conflux_params.c.
uint8_t conflux_params_get_max_unlinked_leg_retry | ( | void | ) |
Return the maximum number of retry we can do until a leg links.
Definition at line 221 of file conflux_params.c.
Referenced by launch_leg_is_allowed().
uint8_t conflux_params_get_num_legs_set | ( | void | ) |
Return the number of legs per set.
Definition at line 228 of file conflux_params.c.
Referenced by launch_leg_is_allowed().
uint8_t conflux_params_get_send_pct | ( | void | ) |
Return the percent of the congestion window to send before switching.
Definition at line 249 of file conflux_params.c.
void conflux_params_new_consensus | ( | const networkstatus_t * | ns | ) |
Update global conflux related consensus parameter values, every consensus update.
Definition at line 257 of file conflux_params.c.