Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/unbound/services/cache/
Dinfra.c271 infra->client_ip_rates = slabhash_create(cfg->ip_ratelimit_slabs, in infra_create()
274 if(!infra->client_ip_rates) { in infra_create()
298 slabhash_delete(infra->client_ip_rates); in infra_delete()
320 !slabhash_is_size(infra->client_ip_rates, cfg->ip_ratelimit_size, in infra_adjust()
850 return slabhash_lookup(infra->client_ip_rates, h, &key, wr); in infra_find_ip_ratedata()
901 slabhash_insert(infra->client_ip_rates, h, &k->entry, d, NULL); in infra_ip_create_ratedata()
1054 if(infra->client_ip_rates) s += slabhash_get_mem(infra->client_ip_rates); in infra_get_mem()
Dinfra.h124 struct slabhash* client_ip_rates; member
/freebsd-12-stable/contrib/unbound/daemon/
Dremote.c2924 if(a.infra->client_ip_rates==NULL || in do_ip_ratelimit_list()
2927 slabhash_traverse(a.infra->client_ip_rates, 0, ip_rate_list, &a); in do_ip_ratelimit_list()