diff options
author | Linus Nordberg <linus@nordberg.se> | 2012-05-09 17:58:01 +0200 |
---|---|---|
committer | Linus Nordberg <linus@torproject.org> | 2012-07-19 18:21:20 +0200 |
commit | 4cce8ab742999900a4c5f1f3f8faf13d217014e0 (patch) | |
tree | f891650b4bc6fd3c0f8cb6b2f31590eb16425cc7 /src/or/router.h | |
parent | c1ff07440e67f1ae690acbfceddb6174fdb092df (diff) | |
download | tor-4cce8ab742999900a4c5f1f3f8faf13d217014e0.tar.gz tor-4cce8ab742999900a4c5f1f3f8faf13d217014e0.zip |
Add last_reachable and testing_since for IPv6 OR port.
Diffstat (limited to 'src/or/router.h')
-rw-r--r-- | src/or/router.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/router.h b/src/or/router.h index 69805d6f2d..81df183953 100644 --- a/src/or/router.h +++ b/src/or/router.h @@ -93,6 +93,8 @@ void router_get_pref_orport(const routerinfo_t *router, void router_get_pref_ipv6_orport(const routerinfo_t *router, tor_addr_port_t *addr_port_out); int router_ipv6_preferred(const routerinfo_t *router); +int router_has_addr(const routerinfo_t *router, const tor_addr_t *addr); +int router_has_orport(const routerinfo_t *router, const tor_addr_port_t *orport); int extrainfo_dump_to_string(char **s, extrainfo_t *extrainfo, crypto_pk_t *ident_key); int is_legal_nickname(const char *s); |