summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.h
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-07-07 16:04:26 +1000
committerteor <teor2345@gmail.com>2016-08-24 10:32:10 +1000
commitfebd4ab0e5304a129fb2757949b9a452e7cce162 (patch)
tree4512d985760836c09a052d628f174bffca5b6b13 /src/or/circuitbuild.h
parent579a80d4ae54ec03fd9b02c4a125b2943770c85d (diff)
downloadtor-febd4ab0e5304a129fb2757949b9a452e7cce162.tar.gz
tor-febd4ab0e5304a129fb2757949b9a452e7cce162.zip
Client & HS make sure every hop in every non-HS path supports ntor
When a client connects to an intro point not in the client's consensus, or a hidden service connects to a rend point not in the hidden service's consensus, we are stuck with using TAP, because there is no ntor link specifier.
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r--src/or/circuitbuild.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h
index 7f5fd511a9..73630b45b5 100644
--- a/src/or/circuitbuild.h
+++ b/src/or/circuitbuild.h
@@ -54,6 +54,7 @@ extend_info_t *extend_info_from_node(const node_t *r, int for_direct_connect);
extend_info_t *extend_info_dup(extend_info_t *info);
void extend_info_free(extend_info_t *info);
int extend_info_addr_is_allowed(const tor_addr_t *addr);
+int extend_info_supports_ntor(const extend_info_t* ei);
const node_t *build_state_get_exit_node(cpath_build_state_t *state);
const char *build_state_get_exit_nickname(cpath_build_state_t *state);