Searched refs:subnet_msg_cache (Results 1 – 3 of 3) sorted by relevance
/openbsd/usr.sbin/unbound/edns-subnet/ |
H A D | subnetmod.c | 231 sn_env->subnet_msg_cache = slabhash_create(env->cfg->msg_cache_slabs, in subnetmod_init() 235 slabhash_setmarkdel(sn_env->subnet_msg_cache, &subnet_markdel); in subnetmod_init() 236 if(!sn_env->subnet_msg_cache) { in subnetmod_init() 247 slabhash_delete(sn_env->subnet_msg_cache); in subnetmod_init() 262 slabhash_delete(sn_env->subnet_msg_cache); in subnetmod_init() 289 slabhash_delete(sn_env->subnet_msg_cache); in subnetmod_deinit() 364 struct slabhash *subnet_msg_cache = sne->subnet_msg_cache; in update_cache() local 441 slabhash_insert(subnet_msg_cache, h, lru_entry, lru_entry->data, in update_cache() 444 slabhash_update_space_used(subnet_msg_cache, h, NULL, in update_cache() 469 e = slabhash_lookup(sne->subnet_msg_cache, h, &qstate->qinfo, 1); in lookup_and_reply() [all …]
|
H A D | subnetmod.h | 59 struct slabhash* subnet_msg_cache; member
|
/openbsd/usr.sbin/unbound/doc/ |
H A D | Changelog | 374 - Fix #1032: The size of subnet_msg_cache calculation mistake cause
|