summaryrefslogtreecommitdiff
path: root/ot_mutex.h
diff options
context:
space:
mode:
authordenis <>2007-12-14 22:01:14 +0000
committerdenis <>2007-12-14 22:01:14 +0000
commit65c3b2404560b976bfeff0db190c97d4b9487644 (patch)
tree1c26a7981f8a05c031e38ab8f941cbc34b696340 /ot_mutex.h
parentc2cbe1dc273984c689c97f5eca8798195d5a35a0 (diff)
add support for more stats:
1. stats for added and removed torrents 2. stats for start and stopped events from peers this should help to detect DoS attacks and is useful for profiling
Diffstat (limited to 'ot_mutex.h')
-rw-r--r--ot_mutex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ot_mutex.h b/ot_mutex.h
index 01ceefd..c098343 100644
--- a/ot_mutex.h
+++ b/ot_mutex.h
@@ -24,6 +24,8 @@ typedef enum {
24 TASK_STATS_TPB = 0x0007, 24 TASK_STATS_TPB = 0x0007,
25 TASK_STATS_HTTPERRORS = 0x0008, 25 TASK_STATS_HTTPERRORS = 0x0008,
26 TASK_STATS_TORRENTS = 0x0009, 26 TASK_STATS_TORRENTS = 0x0009,
27 TASK_STATS_STARTSTOP = 0x000a,
28 TASK_STATS_TORADDREM = 0x000b,
27 29
28 TASK_STATS_SLASH24S = 0x0100, 30 TASK_STATS_SLASH24S = 0x0100,
29 31