Home
last modified time | relevance | path

Searched refs:subnet_msg_cache (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/bsd/unbound/dist/edns-subnet/
H A Dsubnetmod.c228 sn_env->subnet_msg_cache = slabhash_create(env->cfg->msg_cache_slabs, in subnetmod_init()
232 slabhash_setmarkdel(sn_env->subnet_msg_cache, &subnet_markdel); in subnetmod_init()
233 if(!sn_env->subnet_msg_cache) { in subnetmod_init()
244 slabhash_delete(sn_env->subnet_msg_cache); in subnetmod_init()
259 slabhash_delete(sn_env->subnet_msg_cache); in subnetmod_init()
286 slabhash_delete(sn_env->subnet_msg_cache); in subnetmod_deinit()
352 struct slabhash *subnet_msg_cache = sne->subnet_msg_cache; in update_cache() local
364 struct lruhash_entry* lru_entry = slabhash_lookup(subnet_msg_cache, h, in update_cache()
426 slabhash_insert(subnet_msg_cache, h, lru_entry, lru_entry->data, in update_cache()
451 e = slabhash_lookup(sne->subnet_msg_cache, h, &qstate->qinfo, 1); in lookup_and_reply()
[all …]
H A Dsubnetmod.h59 struct slabhash* subnet_msg_cache; member