diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2017-11-05 09:40:22 -0500 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2017-11-24 12:42:51 -0500 |
commit | 2cda005ac49dcf02d2cfe358f8c75129a0f2f3bf (patch) | |
tree | a978a6399974e032be3cdaf77fd7a85e953a1527 /src/or/connection_or.h | |
parent | bf8a7201cea0dcd4da91cd67015bbdabc38c395a (diff) | |
download | tor-2cda005ac49dcf02d2cfe358f8c75129a0f2f3bf.tar.gz tor-2cda005ac49dcf02d2cfe358f8c75129a0f2f3bf.zip |
Add fast paths to channel_rsa_id_group_set_badness, #24119
Diffstat (limited to 'src/or/connection_or.h')
-rw-r--r-- | src/or/connection_or.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h index ee66b7c528..644df5c2c9 100644 --- a/src/or/connection_or.h +++ b/src/or/connection_or.h @@ -112,6 +112,9 @@ void var_cell_free(var_cell_t *cell); #define MIN_LINK_PROTO_FOR_CHANNEL_PADDING 5 #define MAX_LINK_PROTO MIN_LINK_PROTO_FOR_CHANNEL_PADDING +int connection_or_single_set_badness_(time_t now, + or_connection_t *or_conn, + int force); void connection_or_group_set_badness_(smartlist_t *group, int force); #ifdef TOR_UNIT_TESTS |