diff options
author | erdgeist <> | 2007-11-06 18:02:03 +0000 |
---|---|---|
committer | erdgeist <> | 2007-11-06 18:02:03 +0000 |
commit | 927ac023ce2c761063bbae81bb44b0aab624e36f (patch) | |
tree | cdae567406af42f8107daefdec8b762d30c63a13 /ot_stats.h | |
parent | ad5fa66737dd77260b881ca673d03b1c171fa7bd (diff) |
The expensive DMEM stats is gone. No need for it, too much potential to DOS.
Diffstat (limited to 'ot_stats.h')
-rw-r--r-- | ot_stats.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -4,7 +4,7 @@ | |||
4 | #ifndef __OT_STATS_H__ | 4 | #ifndef __OT_STATS_H__ |
5 | #define __OT_STATS_H__ | 5 | #define __OT_STATS_H__ |
6 | 6 | ||
7 | enum { STATS_CONNS, STATS_PEERS, STATS_TOP5, STATS_DMEM, STATS_TCP, STATS_UDP, STATS_SLASH24S, SYNC_IN, SYNC_OUT, STATS_FULLSCRAPE }; | 7 | enum { STATS_CONNS, STATS_PEERS, STATS_TOP5, STATS_TCP, STATS_UDP, STATS_SLASH24S, STATS_FULLSCRAPE }; |
8 | typedef enum { | 8 | typedef enum { |
9 | EVENT_ACCEPT, | 9 | EVENT_ACCEPT, |
10 | EVENT_READ, | 10 | EVENT_READ, |
@@ -18,8 +18,6 @@ typedef enum { | |||
18 | } ot_status_event; | 18 | } ot_status_event; |
19 | 19 | ||
20 | size_t return_stats_for_tracker( char *reply, int mode, int format ); | 20 | size_t return_stats_for_tracker( char *reply, int mode, int format ); |
21 | size_t return_memstat_for_tracker( char **reply ); | ||
22 | |||
23 | void stats_issue_event( ot_status_event event, int is_tcp, size_t event_data ); | 21 | void stats_issue_event( ot_status_event event, int is_tcp, size_t event_data ); |
24 | 22 | ||
25 | #endif | 23 | #endif |