diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-09-14 16:31:48 -0400 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2022-02-22 19:28:33 +0000 |
commit | baaabb503c9c9fc81e0d95b2d5baeefef7423b7a (patch) | |
tree | 3ca1259e597855b96b53a73f8690b18edbc737dc /src/core/or/extendinfo.h | |
parent | bd2e9a44097ff85934bc1c34f4fce2017a7a92c8 (diff) | |
download | tor-baaabb503c9c9fc81e0d95b2d5baeefef7423b7a.tar.gz tor-baaabb503c9c9fc81e0d95b2d5baeefef7423b7a.zip |
Use protover to signal support for ntor3 + congestion control.
Diffstat (limited to 'src/core/or/extendinfo.h')
-rw-r--r-- | src/core/or/extendinfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/or/extendinfo.h b/src/core/or/extendinfo.h index ffe8317431..8781cc7047 100644 --- a/src/core/or/extendinfo.h +++ b/src/core/or/extendinfo.h @@ -17,7 +17,8 @@ extend_info_t *extend_info_new(const char *nickname, const struct ed25519_public_key_t *ed_id, crypto_pk_t *onion_key, const struct curve25519_public_key_t *ntor_key, - const tor_addr_t *addr, uint16_t port); + const tor_addr_t *addr, uint16_t port, + const struct protover_summary_flags_t *pv); 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); |