Searched refs:client_ip_rates (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/unbound/services/cache/ |
H A D | infra.c | 361 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 D | infra.h | 124 struct slabhash* client_ip_rates; member
|
/freebsd/contrib/unbound/daemon/ |
H A D | remote.c | 3154 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()
|