summaryrefslogtreecommitdiff
path: root/src/common/address.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-03-31 14:37:09 -0400
committerNick Mathewson <nickm@torproject.org>2015-03-31 14:37:09 -0400
commit30e933b13660e62d10997f4809b3f13235b30325 (patch)
tree51047f6ec5b72865e0a5fbb0cac60fde115c916a /src/common/address.h
parent732322b710d515a55ebbaa984fa12f19ccb333e8 (diff)
parentb49ffb2a21ccbcf62c3e38b822043b4302d8c26f (diff)
downloadtor-30e933b13660e62d10997f4809b3f13235b30325.tar.gz
tor-30e933b13660e62d10997f4809b3f13235b30325.zip
Merge branch 'ticket14710_squashed'
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 df835e917a..cd80615f93 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);