HomeSort by: relevance | last modified time | path
    Searched refs:sn_env (Results 1 - 2 of 2) sorted by relevancy

  /src/external/bsd/unbound/dist/edns-subnet/
subnetmod.c 154 struct subnet_env *sn_env; local
158 sn_env = (struct subnet_env*)qstate->env->modinfo[id];
165 if(!ecs_is_whitelisted(sn_env->whitelist,
192 ecs_is_whitelisted(sn_env->whitelist,
244 struct subnet_env *sn_env = (struct subnet_env*)calloc(1, local
246 if(!sn_env) {
250 alloc_init(&sn_env->alloc, NULL, 0);
251 env->modinfo[id] = (void*)sn_env;
264 sn_env->subnet_msg_cache = slabhash_create(env->cfg->msg_cache_slabs,
268 if(!sn_env->subnet_msg_cache)
313 struct subnet_env *sn_env; local
1237 struct subnet_env *sn_env = env->modinfo[id]; local
    [all...]
  /src/external/bsd/unbound/dist/daemon/
remote.c 2121 struct subnet_env* sn_env = NULL; local
2131 if(m != -1) sn_env = (struct subnet_env*)worker->env.modinfo[m];
2132 if(sn_env) {
2133 lock_rw_rdlock(&sn_env->biglock);
2134 slabhash_traverse(sn_env->subnet_msg_cache, 0,
2136 lock_rw_unlock(&sn_env->biglock);

Completed in 18 milliseconds