Infra cache. More...
#include <infra.h>
Data Fields | |
| struct slabhash * | hosts |
| The hash table with hosts. | |
| int | host_ttl |
| TTL value for host information, in seconds. | |
| int | infra_keep_probing |
| the hosts that are down are kept probed for recovery | |
| struct slabhash * | domain_rates |
| hash table with query rates per name: rate_key, rate_data | |
| rbtree_type | domain_limits |
| ratelimit settings for domains, struct domain_limit_data | |
| struct slabhash * | client_ip_rates |
| hash table with query rates per client ip: ip_rate_key, ip_rate_data | |
| rbtree_type | wait_limits_netblock |
| tree of addr_tree_node, with wait_limit_netblock_info information | |
| rbtree_type | wait_limits_cookie_netblock |
| tree of addr_tree_node, with wait_limit_netblock_info information | |
Infra cache.