Home
last modified time | relevance | path

Searched refs:client_ip_rates (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/unbound/services/cache/
H A Dinfra.c361 infra->client_ip_rates = slabhash_create(cfg->ip_ratelimit_slabs, in infra_create()
364 if(!infra->client_ip_rates) { in infra_create()
394 slabhash_delete(infra->client_ip_rates); in infra_delete()
421 !slabhash_is_size(infra->client_ip_rates, cfg->ip_ratelimit_size, in infra_adjust()
948 return slabhash_lookup(infra->client_ip_rates, h, &key, wr); in infra_find_ip_ratedata()
1001 slabhash_insert(infra->client_ip_rates, h, &k->entry, d, NULL); in infra_ip_create_ratedata()
1154 if(infra->client_ip_rates) s += slabhash_get_mem(infra->client_ip_rates); in infra_get_mem()
H A Dinfra.h124 struct slabhash* client_ip_rates; member
/freebsd/contrib/unbound/daemon/
H A Dremote.c3154 if(a.infra->client_ip_rates==NULL || in do_ip_ratelimit_list()
3157 slabhash_traverse(a.infra->client_ip_rates, 0, ip_rate_list, &a); in do_ip_ratelimit_list()