]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/tbf.h
tableprinter: code cleanup contd.
[libucw.git] / ucw / tbf.h
index 0baa30ed86232c66afe3888c236749dc7bf53bd1..801d5f6d338026396cd3a7edcfc9ef01dd9fc995 100644 (file)
--- a/ucw/tbf.h
+++ b/ucw/tbf.h
 /** A data structure describing a single TBF. **/
 struct token_bucket_filter {
   double rate;                         // Number of tokens received per second
-  uns burst;                           // Capacity of the bucket
+  uint burst;                          // Capacity of the bucket
   timestamp_t last_hit;                        // Internal state...
   double bucket;
-  uns drop_count;
+  uint drop_count;
 };
 
 /** Initialize the bucket. **/