unbound 0.1
infra_cache Struct Reference

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

Detailed Description

Infra cache.

Field Documentation

◆ hosts

◆ host_ttl

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().

◆ infra_keep_probing

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().

◆ domain_rates

struct slabhash* infra_cache::domain_rates

◆ domain_limits

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().

◆ client_ip_rates

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().

◆ wait_limits_netblock

rbtree_type infra_cache::wait_limits_netblock

◆ wait_limits_cookie_netblock

rbtree_type infra_cache::wait_limits_cookie_netblock

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