Tor 0.4.9.0-alpha-dev
|
#include <token_bucket.h>
Data Fields | |
token_bucket_cfg_t | cfg |
token_bucket_raw_t | read_bucket |
token_bucket_raw_t | write_bucket |
uint32_t | last_refilled_at_timestamp |
A convenience type containing all the pieces needed for a coupled read-bucket and write-bucket that have the same rate limit, and which use "timestamp units" (see compat_time.h) for their time.
Definition at line 59 of file token_bucket.h.
Definition at line 60 of file token_bucket.h.
uint32_t last_refilled_at_timestamp |
Definition at line 63 of file token_bucket.h.
token_bucket_raw_t read_bucket |
Definition at line 61 of file token_bucket.h.
token_bucket_raw_t write_bucket |
Definition at line 62 of file token_bucket.h.