Tor 0.4.9.0-alpha-dev
Functions | Variables
hs_stats.c File Reference

Keeps stats about the activity of our onion service(s). More...

#include "core/or/or.h"
#include "feature/hs/hs_stats.h"
#include "feature/hs/hs_service.h"

Go to the source code of this file.

Functions

void hs_stats_note_introduce2_cell (void)
 
uint32_t hs_stats_get_n_introduce2_v3_cells (void)
 
void hs_stats_note_service_rendezvous_launch (void)
 
uint32_t hs_stats_get_n_rendezvous_launches (void)
 

Variables

static uint32_t n_introduce2_v3 = 0
 
static uint32_t n_rendezvous_launches = 0
 

Detailed Description

Keeps stats about the activity of our onion service(s).

Definition in file hs_stats.c.

Function Documentation

◆ hs_stats_get_n_introduce2_v3_cells()

uint32_t hs_stats_get_n_introduce2_v3_cells ( void  )

Return the number of v3 INTRODUCE2 cells we have received.

Definition at line 27 of file hs_stats.c.

◆ hs_stats_get_n_rendezvous_launches()

uint32_t hs_stats_get_n_rendezvous_launches ( void  )

Return the number of rendezvous circuits we have attempted to launch.

Definition at line 41 of file hs_stats.c.

◆ hs_stats_note_introduce2_cell()

void hs_stats_note_introduce2_cell ( void  )

Note that we received another INTRODUCE2 cell.

Definition at line 20 of file hs_stats.c.

◆ hs_stats_note_service_rendezvous_launch()

void hs_stats_note_service_rendezvous_launch ( void  )

Note that we attempted to launch another circuit to a rendezvous point.

Definition at line 34 of file hs_stats.c.

Variable Documentation

◆ n_introduce2_v3

uint32_t n_introduce2_v3 = 0
static

Number of v3 INTRODUCE2 cells received

Definition at line 14 of file hs_stats.c.

Referenced by hs_stats_get_n_introduce2_v3_cells(), and hs_stats_note_introduce2_cell().

◆ n_rendezvous_launches

uint32_t n_rendezvous_launches = 0
static

Number of attempts to make a circuit to a rendezvous point

Definition at line 16 of file hs_stats.c.

Referenced by hs_stats_get_n_rendezvous_launches(), and hs_stats_note_service_rendezvous_launch().