aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuitbuild.h
diff options
context:
space:
mode:
authorteor <teor@riseup.net>2020-05-14 22:06:14 +1000
committerteor <teor@riseup.net>2020-05-14 22:06:14 +1000
commit5f577b0f25393187ec60e5a027ba5bebaddfadf5 (patch)
treef761570d53f4504fce2fc4ad7036f131597b1771 /src/core/or/circuitbuild.h
parent2e41d82cc5aa30ab0dfebaa2bfd04fcb1f6a7c69 (diff)
downloadtor-5f577b0f25393187ec60e5a027ba5bebaddfadf5.tar.gz
tor-5f577b0f25393187ec60e5a027ba5bebaddfadf5.zip
circuitbuild: Refactor IPv6 extend node selection
Move this complex check into its own function. Part of 33222.
Diffstat (limited to 'src/core/or/circuitbuild.h')
-rw-r--r--src/core/or/circuitbuild.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/or/circuitbuild.h b/src/core/or/circuitbuild.h
index e62048f68c..565be09975 100644
--- a/src/core/or/circuitbuild.h
+++ b/src/core/or/circuitbuild.h
@@ -98,6 +98,9 @@ STATIC int
onion_pick_cpath_exit(origin_circuit_t *circ, extend_info_t *exit_ei,
int is_hs_v3_rp_circuit);
STATIC int cpath_build_state_to_crn_flags(const cpath_build_state_t *state);
+STATIC int cpath_build_state_to_crn_ipv6_extend_flag(
+ const cpath_build_state_t *state,
+ int cur_len);
#endif /* defined(CIRCUITBUILD_PRIVATE) */