Searched refs:subnet_msg_cache (Results 1 – 2 of 2) sorted by relevance
| /freebsd-13.1/contrib/unbound/edns-subnet/ |
| H A D | subnetmod.c | 202 sn_env->subnet_msg_cache = slabhash_create(env->cfg->msg_cache_slabs, in subnetmod_init() 206 slabhash_setmarkdel(sn_env->subnet_msg_cache, &subnet_markdel); in subnetmod_init() 207 if(!sn_env->subnet_msg_cache) { in subnetmod_init() 218 slabhash_delete(sn_env->subnet_msg_cache); in subnetmod_init() 233 slabhash_delete(sn_env->subnet_msg_cache); in subnetmod_init() 260 slabhash_delete(sn_env->subnet_msg_cache); in subnetmod_deinit() 326 struct slabhash *subnet_msg_cache = sne->subnet_msg_cache; in update_cache() local 335 struct lruhash_entry *lru_entry = slabhash_lookup(subnet_msg_cache, h, in update_cache() 394 slabhash_insert(subnet_msg_cache, h, lru_entry, lru_entry->data, in update_cache() 416 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
|