52 |
|
*/ |
53 |
|
struct ServerStatistics |
54 |
|
{ |
55 |
< |
uint64_t is_cbs; /* bytes sent to clients */ |
56 |
< |
uint64_t is_cbr; /* bytes received from clients */ |
57 |
< |
uint64_t is_sbs; /* bytes sent to servers */ |
58 |
< |
uint64_t is_sbr; /* bytes received from servers */ |
59 |
< |
|
60 |
< |
time_t is_cti; /* time spent connected by clients */ |
61 |
< |
time_t is_sti; /* time spent connected by servers */ |
62 |
< |
|
63 |
< |
unsigned int is_cl; /* number of client connections */ |
64 |
< |
unsigned int is_sv; /* number of server connections */ |
65 |
< |
unsigned int is_ni; /* connection but no idea who it was */ |
66 |
< |
unsigned int is_ac; /* connections accepted */ |
67 |
< |
unsigned int is_ref; /* accepts refused */ |
55 |
> |
uint64_t is_cbs; /* bytes sent to clients */ |
56 |
> |
uint64_t is_cbr; /* bytes received from clients */ |
57 |
> |
uint64_t is_sbs; /* bytes sent to servers */ |
58 |
> |
uint64_t is_sbr; /* bytes received from servers */ |
59 |
> |
|
60 |
> |
time_t is_cti; /* time spent connected by clients */ |
61 |
> |
time_t is_sti; /* time spent connected by servers */ |
62 |
> |
|
63 |
> |
unsigned int is_cl; /* number of client connections */ |
64 |
> |
unsigned int is_sv; /* number of server connections */ |
65 |
> |
unsigned int is_ni; /* connection but no idea who it was */ |
66 |
> |
unsigned int is_ac; /* connections accepted */ |
67 |
> |
unsigned int is_ref; /* accepts refused */ |
68 |
|
unsigned int is_unco; /* unknown commands */ |
69 |
|
unsigned int is_wrdi; /* command going in wrong direction */ |
70 |
|
unsigned int is_unpf; /* unknown prefix */ |
71 |
|
unsigned int is_empt; /* empty message */ |
72 |
< |
unsigned int is_num; /* numeric message */ |
72 |
> |
unsigned int is_num; /* numeric message */ |
73 |
|
unsigned int is_kill; /* number of kills generated on collisions */ |
74 |
|
unsigned int is_asuc; /* successful auth requests */ |
75 |
|
unsigned int is_abad; /* bad auth requests */ |
81 |
|
struct Counter |
82 |
|
{ |
83 |
|
uint64_t totalrestartcount; /* Total client count ever */ |
84 |
< |
unsigned int myserver; /* my servers */ |
85 |
< |
unsigned int oper; /* Opers */ |
86 |
< |
unsigned int local; /* Local Clients */ |
87 |
< |
unsigned int total; /* total clients */ |
88 |
< |
unsigned int invisi; /* invisible clients */ |
89 |
< |
unsigned int max_loc; /* MAX local clients */ |
90 |
< |
unsigned int max_tot; /* MAX global clients */ |
84 |
> |
unsigned int myserver; /* my servers */ |
85 |
> |
unsigned int oper; /* Opers */ |
86 |
> |
unsigned int local; /* Local Clients */ |
87 |
> |
unsigned int total; /* total clients */ |
88 |
> |
unsigned int invisi; /* invisible clients */ |
89 |
> |
unsigned int max_loc; /* MAX local clients */ |
90 |
> |
unsigned int max_tot; /* MAX global clients */ |
91 |
> |
unsigned int max_loc_con; /* MAX local connection count (clients + server) */ |
92 |
> |
unsigned int max_loc_cli; /* XXX This is redundant - Max local client count */ |
93 |
|
}; |
94 |
|
|
95 |
|
extern struct SetOptions GlobalSetOptions; /* defined in ircd.c */ |