diff options
author | teor <teor@torproject.org> | 2020-04-30 15:11:50 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-30 15:58:37 +1000 |
commit | c5ee3d7eb8c337703498b8c41b0c286ddd3cf9b4 (patch) | |
tree | ce7c835c3b1a26dc272f709896eba92e4288722f /src/feature/relay/selftest.h | |
parent | a202f03c64c7655fcc8d3fa72bc39deeac198687 (diff) | |
download | tor-c5ee3d7eb8c337703498b8c41b0c286ddd3cf9b4.tar.gz tor-c5ee3d7eb8c337703498b8c41b0c286ddd3cf9b4.zip |
relay: Clarify reachability status check functions
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
check_whether_orport_reachable router_skip_orport_reachability_check \
check_whether_dirport_reachable router_skip_dirport_reachability_check
It was generated with --no-verify, so it probably breaks some commit hooks.
The commiter should be sure to fix them up in a subsequent commit.
Part of 33222.
Diffstat (limited to 'src/feature/relay/selftest.h')
-rw-r--r-- | src/feature/relay/selftest.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/feature/relay/selftest.h b/src/feature/relay/selftest.h index f5babc95da..ce30d92a22 100644 --- a/src/feature/relay/selftest.h +++ b/src/feature/relay/selftest.h @@ -15,8 +15,8 @@ #ifdef HAVE_MODULE_RELAY struct or_options_t; -int check_whether_orport_reachable(const struct or_options_t *options); -int check_whether_dirport_reachable(const struct or_options_t *options); +int router_skip_orport_reachability_check(const struct or_options_t *options); +int router_skip_dirport_reachability_check(const struct or_options_t *options); void router_do_reachability_checks(int test_or, int test_dir); void router_perform_bandwidth_test(int num_circs, time_t now); @@ -29,9 +29,9 @@ void router_reset_reachability(void); #else /* !defined(HAVE_MODULE_RELAY) */ -#define check_whether_orport_reachable(opts) \ +#define router_skip_orport_reachability_check(opts) \ ((void)(opts), 0) -#define check_whether_dirport_reachable(opts) \ +#define router_skip_dirport_reachability_check(opts) \ ((void)(opts), 0) static inline void |