summaryrefslogtreecommitdiff
path: root/ot_mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_mutex.h')
-rw-r--r--ot_mutex.h35
1 files changed, 19 insertions, 16 deletions
diff --git a/ot_mutex.h b/ot_mutex.h
index 17cb5b4..5865765 100644
--- a/ot_mutex.h
+++ b/ot_mutex.h
@@ -16,22 +16,25 @@ void mutex_bucket_unlock( int bucket );
16void mutex_bucket_unlock_by_hash( ot_hash *hash ); 16void mutex_bucket_unlock_by_hash( ot_hash *hash );
17 17
18typedef enum { 18typedef enum {
19 TASK_STATS_CONNS = 0x0000, 19 TASK_STATS_CONNS = 0x0001,
20 TASK_STATS_PEERS = 0x0001, 20 TASK_STATS_TCP = 0x0002,
21 TASK_STATS_TOP5 = 0x0002, 21 TASK_STATS_UDP = 0x0003,
22 TASK_STATS_TCP = 0x0003, 22 TASK_STATS_SCRAPE = 0x0004,
23 TASK_STATS_UDP = 0x0004, 23 TASK_STATS_FULLSCRAPE = 0x0005,
24 TASK_STATS_SCRAPE = 0x0005, 24 TASK_STATS_TPB = 0x0006,
25 TASK_STATS_FULLSCRAPE = 0x0006, 25 TASK_STATS_HTTPERRORS = 0x0007,
26 TASK_STATS_TPB = 0x0007, 26 TASK_STATS_STARTSTOP = 0x0008,
27 TASK_STATS_HTTPERRORS = 0x0008, 27 TASK_STATS_TORADDREM = 0x0009,
28 TASK_STATS_TORRENTS = 0x0009, 28 TASK_STATS_VERSION = 0x000a,
29 TASK_STATS_STARTSTOP = 0x000a, 29 TASK_STATS_BUSY_NETWORKS = 0x000b,
30 TASK_STATS_TORADDREM = 0x000b, 30 TASK_STATS_VECTOR_DEBUG = 0x000c,
31 TASK_STATS_VERSION = 0x000c, 31
32 TASK_STATS_BUSY_NETWORKS = 0x000d, 32 TASK_STATS = 0x0100, /* Mask */
33 33 TASK_STATS_TORRENTS = 0x0101,
34 TASK_STATS_SLASH24S = 0x0100, 34 TASK_STATS_PEERS = 0x0102,
35 TASK_STATS_SLASH24S = 0x0103,
36 TASK_STATS_TOP10 = 0x0104,
37 TASK_STATS_MEMORY = 0x0105,
35 38
36 TASK_FULLSCRAPE = 0x0200, /* Default mode */ 39 TASK_FULLSCRAPE = 0x0200, /* Default mode */
37 TASK_FULLSCRAPE_TPB_BINARY = 0x0201, 40 TASK_FULLSCRAPE_TPB_BINARY = 0x0201,