mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Some tor servers process billions of cells in a matter of days.
These statistics need to be uint64_t's. svn:r5686
This commit is contained in:
+5
-5
@@ -20,11 +20,11 @@ const char command_c_id[] =
|
||||
#include "or.h"
|
||||
|
||||
/** Keep statistics about how many of each type of cell we've received. */
|
||||
unsigned long stats_n_padding_cells_processed = 0;
|
||||
unsigned long stats_n_create_cells_processed = 0;
|
||||
unsigned long stats_n_created_cells_processed = 0;
|
||||
unsigned long stats_n_relay_cells_processed = 0;
|
||||
unsigned long stats_n_destroy_cells_processed = 0;
|
||||
uint64_t stats_n_padding_cells_processed = 0;
|
||||
uint64_t stats_n_create_cells_processed = 0;
|
||||
uint64_t stats_n_created_cells_processed = 0;
|
||||
uint64_t stats_n_relay_cells_processed = 0;
|
||||
uint64_t stats_n_destroy_cells_processed = 0;
|
||||
|
||||
/* These are the main four functions for processing cells */
|
||||
static void command_process_create_cell(cell_t *cell, connection_t *conn);
|
||||
|
||||
Reference in New Issue
Block a user