Tor 0.4.9.2-alpha-dev
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros
reachability.h File Reference

Header file for reachability.c. More...

Go to the source code of this file.

Macros

#define REACHABILITY_MODULO_PER_TEST   128
 
#define REACHABILITY_TEST_INTERVAL   10
 
#define REACHABILITY_TEST_CYCLE_PERIOD    (REACHABILITY_TEST_INTERVAL*REACHABILITY_MODULO_PER_TEST)
 
#define dirserv_single_reachability_test(now, router)    (((void)(now)),((void)(router)))
 
#define dirserv_test_reachability(now)    (((void)(now)))
 
#define dirserv_should_launch_reachability_test(ri, ri_old)    (((void)(ri)),((void)(ri_old)),0)
 
#define dirserv_orconn_tls_done(addr, or_port, digest_rcvd, ed_id_rcvd)
 

Detailed Description

Header file for reachability.c.

Definition in file reachability.h.

Macro Definition Documentation

◆ dirserv_orconn_tls_done

#define dirserv_orconn_tls_done (   addr,
  or_port,
  digest_rcvd,
  ed_id_rcvd 
)
Value:
(((void)(addr)),((void)(or_port)),((void)(digest_rcvd)), \
((void)(ed_id_rcvd)))

Definition at line 45 of file reachability.h.

◆ dirserv_should_launch_reachability_test

#define dirserv_should_launch_reachability_test (   ri,
  ri_old 
)     (((void)(ri)),((void)(ri_old)),0)

Definition at line 43 of file reachability.h.

◆ dirserv_single_reachability_test

#define dirserv_single_reachability_test (   now,
  router 
)     (((void)(now)),((void)(router)))

Definition at line 38 of file reachability.h.

◆ dirserv_test_reachability

#define dirserv_test_reachability (   now)     (((void)(now)))

Definition at line 40 of file reachability.h.

◆ REACHABILITY_MODULO_PER_TEST

#define REACHABILITY_MODULO_PER_TEST   128

What fraction (1 over this number) of the relay ID space do we (as a directory authority) launch connections to at each reachability test?

Definition at line 18 of file reachability.h.

◆ REACHABILITY_TEST_CYCLE_PERIOD

#define REACHABILITY_TEST_CYCLE_PERIOD    (REACHABILITY_TEST_INTERVAL*REACHABILITY_MODULO_PER_TEST)

How many seconds apart are the reachability tests for a given relay?

Definition at line 24 of file reachability.h.

◆ REACHABILITY_TEST_INTERVAL

#define REACHABILITY_TEST_INTERVAL   10

How often (in seconds) do we launch reachability tests?

Definition at line 21 of file reachability.h.