aboutsummaryrefslogtreecommitdiff
path: root/src/common/address.h
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2015-01-25 13:58:21 +0200
committerNick Mathewson <nickm@torproject.org>2015-03-31 14:36:35 -0400
commita13f944314d7f2a71cc4d28546d88ebfe34aaf49 (patch)
treed2b9add0d64060cdddd811b4673b08ce58acaf60 /src/common/address.h
parent6888523d73bdb5822b78455fa2a864635bbe1f7f (diff)
downloadtor-a13f944314d7f2a71cc4d28546d88ebfe34aaf49.tar.gz
tor-a13f944314d7f2a71cc4d28546d88ebfe34aaf49.zip
Black box test for get_interface_address6_via_udp_socket_hack().
Diffstat (limited to 'src/common/address.h')
-rw-r--r--src/common/address.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/address.h b/src/common/address.h
index 8c6ee5abbb..6d9d78893f 100644
--- a/src/common/address.h
+++ b/src/common/address.h
@@ -274,6 +274,9 @@ tor_addr_port_t *tor_addr_port_new(const tor_addr_t *addr, uint16_t port);
#ifdef ADDRESS_PRIVATE
STATIC smartlist_t *get_interface_addresses_raw(int severity);
+STATIC int get_interface_address6_via_udp_socket_hack(int severity,
+ sa_family_t family,
+ tor_addr_t *addr);
#ifdef HAVE_IFADDRS_TO_SMARTLIST
STATIC smartlist_t *ifaddrs_to_smartlist(const struct ifaddrs *ifa);