aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/relay_metrics.c
diff options
context:
space:
mode:
authorfriendly73 <friendly73@x.x>2023-04-15 12:03:14 +0000
committerDavid Goulet <dgoulet@torproject.org>2023-05-25 11:03:35 -0400
commit3d5d8d59c1240e436490449895b597871efc0f30 (patch)
tree476683ad44717bbd36361a727500b16c9fab4022 /src/feature/relay/relay_metrics.c
parent7e57b9dbbffe224e970e8c10f0a9695840aba5e4 (diff)
downloadtor-3d5d8d59c1240e436490449895b597871efc0f30.tar.gz
tor-3d5d8d59c1240e436490449895b597871efc0f30.zip
Added relay prefix to new metrics functions
Diffstat (limited to 'src/feature/relay/relay_metrics.c')
-rw-r--r--src/feature/relay/relay_metrics.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/feature/relay/relay_metrics.c b/src/feature/relay/relay_metrics.c
index 95367d82cd..8f3b82bd96 100644
--- a/src/feature/relay/relay_metrics.c
+++ b/src/feature/relay/relay_metrics.c
@@ -1056,7 +1056,7 @@ fill_signing_cert_expiry(void)
static uint64_t est_intro_actions[EST_INTRO_ACTION_COUNT] = {0};
void
-increment_est_intro_action(est_intro_action_t action)
+relay_increment_est_intro_action(est_intro_action_t action)
{
est_intro_actions[action]++;
}
@@ -1092,7 +1092,7 @@ fill_est_intro_cells(void)
static uint64_t est_rend_actions[EST_REND_ACTION_COUNT] = {0};
void
-increment_est_rend_action(est_rend_action_t action)
+relay_increment_est_rend_action(est_rend_action_t action)
{
est_rend_actions[action]++;
}
@@ -1129,7 +1129,7 @@ fill_est_rend_cells(void)
static uint64_t intro1_actions[INTRO1_ACTION_COUNT] = {0};
void
-increment_intro1_action(intro1_action_t action)
+relay_increment_intro1_action(intro1_action_t action)
{
intro1_actions[action]++;
}
@@ -1167,7 +1167,7 @@ fill_intro1_cells(void)
static uint64_t rend1_actions[REND1_ACTION_COUNT] = {0};
void
-increment_rend1_action(rend1_action_t action)
+relay_increment_rend1_action(rend1_action_t action)
{
rend1_actions[action]++;
}