X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Ftbf.h;h=801d5f6d338026396cd3a7edcfc9ef01dd9fc995;hb=f6e91541c3d3818541f506d57d253f7d9afbeab3;hp=0baa30ed86232c66afe3888c236749dc7bf53bd1;hpb=a4f8b029b86d2ca1612a9c2e2795ccea27b15276;p=libucw.git diff --git a/ucw/tbf.h b/ucw/tbf.h index 0baa30ed..801d5f6d 100644 --- a/ucw/tbf.h +++ b/ucw/tbf.h @@ -18,10 +18,10 @@ /** 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. **/