|
Tor 0.4.9.8
|
Header for feature/relay/relay_config.c. More...
#include "lib/cc/compat_compiler.h"Go to the source code of this file.
Functions | |
| static int | options_validate_relay_mode (const struct or_options_t *old_options, struct or_options_t *options, char **msg) |
| static int | port_parse_ports_relay (or_options_t *options, char **msg, smartlist_t *ports_out, int *have_low_ports_out) |
Header for feature/relay/relay_config.c.
Definition in file relay_config.h.
| #define options_act_bridge_stats | ( | old_options | ) |
Definition at line 186 of file relay_config.h.
| #define options_act_relay | ( | old_options | ) |
Definition at line 180 of file relay_config.h.
| #define options_act_relay_accounting | ( | old_options | ) |
Definition at line 182 of file relay_config.h.
| #define options_act_relay_bandwidth | ( | old_options | ) |
Definition at line 184 of file relay_config.h.
| #define options_act_relay_desc | ( | old_options | ) |
Definition at line 194 of file relay_config.h.
| #define options_act_relay_dir | ( | old_options | ) |
Definition at line 198 of file relay_config.h.
| #define options_act_relay_dos | ( | old_options | ) |
Definition at line 196 of file relay_config.h.
| #define options_act_relay_stats | ( | old_options, | |
| print_notice_out ) |
Definition at line 189 of file relay_config.h.
| #define options_act_relay_stats_msg | ( | void | ) |
Definition at line 191 of file relay_config.h.
| #define options_validate_publish_server | ( | old_options, | |
| options, | |||
| msg ) |
Definition at line 169 of file relay_config.h.
| #define options_validate_relay_accounting | ( | old_options, | |
| options, | |||
| msg ) |
Definition at line 175 of file relay_config.h.
| #define options_validate_relay_bandwidth | ( | old_options, | |
| options, | |||
| msg ) |
Definition at line 173 of file relay_config.h.
| #define options_validate_relay_info | ( | old_options, | |
| options, | |||
| msg ) |
Definition at line 167 of file relay_config.h.
| #define options_validate_relay_os | ( | old_options, | |
| options, | |||
| msg ) |
Definition at line 165 of file relay_config.h.
| #define options_validate_relay_padding | ( | old_options, | |
| options, | |||
| msg ) |
Definition at line 171 of file relay_config.h.
| #define options_validate_relay_testing | ( | old_options, | |
| options, | |||
| msg ) |
Definition at line 177 of file relay_config.h.
| #define port_update_port_set_relay | ( | options, | |
| ports ) |
Definition at line 162 of file relay_config.h.
| #define port_warn_nonlocal_ext_orports | ( | ports, | |
| portname ) |
Definition at line 159 of file relay_config.h.
| #define relay_config_free_all | ( | void | ) |
Definition at line 151 of file relay_config.h.
| #define relay_get_dirportfrontpage | ( | void | ) |
Definition at line 149 of file relay_config.h.
| #define relay_get_effective_bwburst | ( | options | ) |
Definition at line 156 of file relay_config.h.
| #define relay_get_effective_bwrate | ( | options | ) |
Definition at line 154 of file relay_config.h.
|
inlinestatic |
When tor is compiled with the relay module disabled, it can't be configured as a relay or bridge.
Always sets ClientOnly to 1.
Returns -1 and sets msg to a newly allocated string, if ORPort, DirPort, DirCache, or BridgeRelay are set in options. Otherwise returns 0.
Definition at line 112 of file relay_config.h.
|
inlinestatic |
Definition at line 136 of file relay_config.h.