|
unbound 0.1
|
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.
| struct slabhash* infra_cache::hosts |
The hash table with hosts.
Referenced by do_dump_infra(), do_flush_infra(), fr_adjust_cache(), infra_adjust(), infra_create(), infra_delete(), infra_edns_update(), infra_get_mem(), infra_host(), infra_lookup_nottl(), infra_rtt_update(), infra_set_lame(), and server_stats_compile().
| int infra_cache::host_ttl |
TTL value for host information, in seconds.
Referenced by data_entry_init(), fr_adjust_infra(), infra_adjust(), and infra_create().
| int infra_cache::infra_keep_probing |
the hosts that are down are kept probed for recovery
Referenced by fr_adjust_infra(), infra_adjust(), infra_create(), infra_get_lame_rtt(), and infra_host().
| struct slabhash* infra_cache::domain_rates |
hash table with query rates per name: rate_key, rate_data
Referenced by do_ratelimit_list(), fr_adjust_cache(), infra_adjust(), infra_create(), infra_create_ratedata(), infra_delete(), infra_find_ratedata(), and infra_get_mem().
| rbtree_type infra_cache::domain_limits |
ratelimit settings for domains, struct domain_limit_data
Referenced by fr_adjust_infra(), infra_create(), infra_delete(), and infra_find_ratelimit().
| struct slabhash* infra_cache::client_ip_rates |
hash table with query rates per client ip: ip_rate_key, ip_rate_data
Referenced by fr_adjust_cache(), infra_adjust(), infra_create(), infra_delete(), infra_find_ip_ratedata(), infra_get_mem(), and infra_ip_create_ratedata().
| rbtree_type infra_cache::wait_limits_netblock |
tree of addr_tree_node, with wait_limit_netblock_info information
Referenced by fr_adjust_infra(), infra_create(), infra_delete(), and infra_wait_limit_allowed().
| rbtree_type infra_cache::wait_limits_cookie_netblock |
tree of addr_tree_node, with wait_limit_netblock_info information
Referenced by fr_adjust_infra(), infra_create(), infra_delete(), and infra_wait_limit_allowed().