Tor 0.4.9.8
Loading...
Searching...
No Matches
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)
 
#define router_orport_seems_reachable(opts, fam)
 
#define router_dirport_seems_reachable(opts)
 
#define router_orport_found_reachable()
 
#define router_reset_reachability()
 

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)
Value:
((void)(opts), 0)

Definition at line 33 of file selftest.h.

◆ router_dirport_seems_reachable

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

Definition at line 37 of file selftest.h.

◆ router_orport_found_reachable

#define router_orport_found_reachable ( )
Value:
#define STMT_NIL

Definition at line 61 of file selftest.h.

◆ router_orport_seems_reachable

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

Definition at line 35 of file selftest.h.

◆ router_reset_reachability

#define router_reset_reachability ( void)
Value:

Definition at line 64 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 53 of file selftest.h.

◆ router_do_reachability_checks()

static void router_do_reachability_checks ( void )
inlinestatic

Definition at line 41 of file selftest.h.

◆ router_perform_bandwidth_test()

static void router_perform_bandwidth_test ( int num_circs,
time_t now )
inlinestatic

Definition at line 46 of file selftest.h.