Tor 0.4.9.0-alpha-dev
Macros | Functions
selftest.h File Reference

Header file for selftest.c. More...

Go to the source code of this file.

Macros

#define router_all_orports_seem_reachable(opts)    ((void)(opts), 0)
 
#define router_orport_seems_reachable(opts, fam)    ((void)(opts), (void)(fam), 0)
 
#define router_dirport_seems_reachable(opts)    ((void)(opts), 0)
 
#define router_orport_found_reachable()    STMT_NIL
 
#define router_reset_reachability()    STMT_NIL
 

Functions

static void router_do_reachability_checks (void)
 
static void router_perform_bandwidth_test (int num_circs, time_t now)
 
static int inform_testing_reachability (const tor_addr_t *addr, uint16_t port)
 

Detailed Description

Header file for selftest.c.

Definition in file selftest.h.

Macro Definition Documentation

◆ router_all_orports_seem_reachable

#define router_all_orports_seem_reachable (   opts)     ((void)(opts), 0)

Definition at line 35 of file selftest.h.

◆ router_dirport_seems_reachable

#define router_dirport_seems_reachable (   opts)     ((void)(opts), 0)

Definition at line 39 of file selftest.h.

◆ router_orport_found_reachable

#define router_orport_found_reachable ( )     STMT_NIL

Definition at line 63 of file selftest.h.

◆ router_orport_seems_reachable

#define router_orport_seems_reachable (   opts,
  fam 
)     ((void)(opts), (void)(fam), 0)

Definition at line 37 of file selftest.h.

◆ router_reset_reachability

#define router_reset_reachability (   void)     STMT_NIL

Definition at line 66 of file selftest.h.

Function Documentation

◆ inform_testing_reachability()

static int inform_testing_reachability ( const tor_addr_t addr,
uint16_t  port 
)
inlinestatic

Definition at line 55 of file selftest.h.

◆ router_do_reachability_checks()

static void router_do_reachability_checks ( void  )
inlinestatic

Definition at line 43 of file selftest.h.

◆ router_perform_bandwidth_test()

static void router_perform_bandwidth_test ( int  num_circs,
time_t  now 
)
inlinestatic

Definition at line 48 of file selftest.h.