summaryrefslogtreecommitdiff
path: root/src/lib/net/address.h
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-04-30 21:51:45 +1000
committerteor <teor@torproject.org>2020-04-30 23:27:13 +1000
commit2a0e48385d01ddb2c8a332faed1445110131d723 (patch)
tree662b6a41439f3be21aabc60a157ddc9b790ed552 /src/lib/net/address.h
parent01d940e71b02fd133eda56e0bc9bee113854af7c (diff)
downloadtor-2a0e48385d01ddb2c8a332faed1445110131d723.tar.gz
tor-2a0e48385d01ddb2c8a332faed1445110131d723.zip
relay: Launch IPv4 and IPv6 ORPort self-test circuits
When launching relay ORPort reachability self-tests, launch tests to the IPv4 and IPv6 ORPorts (if available). Part of 33222.
Diffstat (limited to 'src/lib/net/address.h')
-rw-r--r--src/lib/net/address.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/net/address.h b/src/lib/net/address.h
index b5754087cc..1cf78beca1 100644
--- a/src/lib/net/address.h
+++ b/src/lib/net/address.h
@@ -227,6 +227,7 @@ const char *fmt_addr_impl(const tor_addr_t *addr, int decorate);
const char *fmt_addrport(const tor_addr_t *addr, uint16_t port);
#define fmt_addrport_ap(ap) fmt_addrport(&(ap)->addr, (ap)->port)
const char *fmt_addr32(uint32_t addr);
+const char *fmt_af_family(sa_family_t family);
const char *fmt_addr_family(const tor_addr_t *addr);
MOCK_DECL(int,get_interface_address6,(int severity, sa_family_t family,