ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/ircd.h
(Generate patch)

Comparing ircd-hybrid-7.2/include/ircd.h (file contents):
Revision 895 by michael, Wed Oct 31 18:09:24 2007 UTC vs.
Revision 896 by michael, Sat Nov 3 08:54:09 2007 UTC

# Line 48 | Line 48 | struct SetOptions
48    int spam_time;
49   };
50  
51 + /*
52 + * statistics structures
53 + */
54 + struct ServerStatistics {
55 +  unsigned int    is_cl;  /* number of client connections */
56 +  unsigned int    is_sv;  /* number of server connections */
57 +  unsigned int    is_ni;  /* connection but no idea who it was */
58 +
59 +  uint64_t        is_cbs; /* bytes sent to clients */
60 +  uint64_t        is_cbr; /* bytes received from clients */
61 +  uint64_t        is_sbs; /* bytes sent to servers */
62 +  uint64_t        is_sbr; /* bytes received from servers */
63 +  time_t          is_cti; /* time spent connected by clients */
64 +  time_t          is_sti; /* time spent connected by servers */
65 +  unsigned int    is_ac;  /* connections accepted */
66 +  unsigned int    is_ref; /* accepts refused */
67 +  unsigned int    is_unco; /* unknown commands */
68 +  unsigned int    is_wrdi; /* command going in wrong direction */
69 +  unsigned int    is_unpf; /* unknown prefix */
70 +  unsigned int    is_empt; /* empty message */
71 +  unsigned int    is_num; /* numeric message */
72 +  unsigned int    is_kill; /* number of kills generated on collisions */
73 +  unsigned int    is_asuc; /* successful auth requests */
74 +  unsigned int    is_abad; /* bad auth requests */
75 + };
76 +
77 + extern struct ServerStatistics ServerStats;
78 +
79 +
80   struct Counter
81   {
82    int myserver; /* my servers          */

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)