tor  master
Data Fields
token_bucket_rw_t Struct Reference

#include <token_bucket.h>

Collaboration diagram for token_bucket_rw_t:
Collaboration graph
[legend]

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
 

Detailed Description

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.


The documentation for this struct was generated from the following file: