Tor 0.4.9.0-alpha-dev
conflux_params.h
Go to the documentation of this file.
1/* Copyright (c) 2023, The Tor Project, Inc. */
2/* See LICENSE for licensing information */
3
4/**
5 * \file conflux_params.h
6 * \brief Header file for conflux_params.c.
7 **/
8
9#ifndef TOR_CONFLUX_PARAMS_H
10#define TOR_CONFLUX_PARAMS_H
11
12#include "core/or/or.h"
13
14bool conflux_is_enabled(const struct circuit_t *circ);
21uint8_t conflux_params_get_send_pct(void);
22
24
25#ifdef TOR_UNIT_TESTS
26extern uint32_t max_unlinked_leg_retry;
27#endif
28
29#endif /* TOR_CONFLUX_PARAMS_H */
30
uint8_t conflux_params_get_send_pct(void)
uint8_t conflux_params_get_drain_pct(void)
uint8_t conflux_params_get_max_legs_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_linked_set(void)
void conflux_params_new_consensus(const networkstatus_t *ns)
Master header file for Tor-specific functionality.