diff options
author | teor <teor@riseup.net> | 2020-05-11 16:54:01 +1000 |
---|---|---|
committer | teor <teor@riseup.net> | 2020-05-11 16:54:01 +1000 |
commit | 9e7f51e469cd275ef519498945124fe5addc889f (patch) | |
tree | 6cf2c2f1b080e3c9c6f9dd81696364fffe7af128 /src/core/or/cpath_build_state_st.h | |
parent | b64972edcd7e3707ff25ed8bfca421d61101efed (diff) | |
download | tor-9e7f51e469cd275ef519498945124fe5addc889f.tar.gz tor-9e7f51e469cd275ef519498945124fe5addc889f.zip |
circuit: Add flags for IPv6 extends
But don't implement the actual node selection yet.
Part of 33226.
Diffstat (limited to 'src/core/or/cpath_build_state_st.h')
-rw-r--r-- | src/core/or/cpath_build_state_st.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/or/cpath_build_state_st.h b/src/core/or/cpath_build_state_st.h index ee9a0d972c..eb8e97edc5 100644 --- a/src/core/or/cpath_build_state_st.h +++ b/src/core/or/cpath_build_state_st.h @@ -24,6 +24,8 @@ struct cpath_build_state_t { unsigned int need_capacity : 1; /** Whether the last hop was picked with exiting in mind. */ unsigned int is_internal : 1; + /** Is this an IPv6 ORPort self-testing circuit? */ + unsigned int is_ipv6_selftest : 1; /** Did we pick this as a one-hop tunnel (not safe for other streams)? * These are for encrypted dir conns that exit to this router, not * for arbitrary exits from the circuit. */ |