]> jfr.im git - solanum.git/blobdiff - include/s_stats.h
Merge pull request #334 from edk0/massnotice
[solanum.git] / include / s_stats.h
index 797b32ff09101cf07a874469369cf9371ce4aceb..47889d7f524d78313e7fd3a60fe1aea90a011016 100644 (file)
@@ -20,8 +20,6 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
- *
- *  $Id: s_stats.h 1409 2006-05-21 14:46:17Z jilles $
  */
 
 #ifndef INCLUDED_s_stats_h
@@ -49,8 +47,8 @@ struct ServerStatistics
        unsigned long long int is_cbr;  /* bytes received to clients */
        unsigned long long int is_sbs;  /* bytes sent to servers */
        unsigned long long int is_sbr;  /* bytes received to servers */
-       time_t is_cti;          /* time spent connected by clients */
-       time_t is_sti;          /* time spent connected by servers */
+       unsigned long long int is_cti;  /* time spent connected by clients */
+       unsigned long long int is_sti;  /* time spent connected by servers */
        unsigned int is_ac;     /* connections accepted */
        unsigned int is_ref;    /* accepts refused */
        unsigned int is_unco;   /* unknown commands */
@@ -63,9 +61,11 @@ struct ServerStatistics
        unsigned int is_asuc;   /* successful auth requests */
        unsigned int is_abad;   /* bad auth requests */
        unsigned int is_rej;    /* rejected from cache */
+       unsigned int is_thr;    /* number of throttled connections */
        unsigned int is_ssuc;   /* successful sasl authentications */
        unsigned int is_sbad;   /* failed sasl authentications */
        unsigned int is_tgch;   /* messages blocked due to target change */
+       unsigned int is_rl;     /* commands blocked due to ratelimit */
 };
 
 extern struct ServerStatistics ServerStats;