Searched refs:local_zones (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/external/bsd/unbound/dist/services/
H A Dview.h74 struct local_zones* local_zones; member in struct:view
77 /** Fallback to global local_zones when there is no match in the view
H A Dlocalzone.h115 struct local_zones { struct
212 struct local_zones* local_zones_create(void);
218 void local_zones_delete(struct local_zones* zones);
227 int local_zones_apply_cfg(struct local_zones* zones, struct config_file* cfg);
267 struct local_zone* local_zones_tags_lookup(struct local_zones* zones,
283 struct local_zone* local_zones_lookup(struct local_zones* zones,
291 void local_zones_print(struct local_zones* zones);
324 int local_zones_answer(struct local_zones* zones, struct module_env* env,
377 struct local_zone* local_zones_find(struct local_zones* zones,
392 local_zones_find_le(struct local_zones* zone
[all...]
H A Dview.c80 local_zones_delete(v->local_zones);
161 if(cv->local_zones || cv->local_data) {
162 if(!(v->local_zones = local_zones_create())){
167 lz_cfg.local_zones = cv->local_zones;
197 &lz_cfg.local_zones, nd_str,
207 if(!local_zones_apply_cfg(v->local_zones, &lz_cfg)){
211 /* local_zones, local_zones_nodefault and local_data
214 cv->local_zones = NULL;
H A Drpz.h112 struct local_zones* local_zones; member in struct:rpz
116 struct local_zones* nsdname_zones;
H A Dlocalzone.c86 void local_zones_print(struct local_zones* zones)
97 struct local_zones*
100 struct local_zones* zones = (struct local_zones*)calloc(1,
120 local_zones_delete(struct local_zones* zones)
211 lz_enter_zone_dname(struct local_zones* zones, uint8_t* nm, size_t len,
246 lz_enter_zone(struct local_zones* zones, const char* name, const char* type,
637 lz_enter_rr_str(struct local_zones* zones, const char* rr)
666 lz_enter_zone_tag(struct local_zones* zones, char* zname, uint8_t* list,
700 lz_enter_override(struct local_zones* zone
[all...]
H A Drpz.c375 local_zones_delete(r->local_zones);
390 local_zones_delete(r->local_zones);
391 r->local_zones = NULL;
400 if(!(r->local_zones = local_zones_create())){
493 if(!(r->local_zones = local_zones_create())){
498 if(r->local_zones == NULL){
555 if(r->local_zones)
556 local_zones_delete(r->local_zones);
594 rpz_insert_local_zones_trigger(struct local_zones* lz, uint8_t* dname,
694 rpz_insert_local_zones_trigger(r->local_zones, dnam
[all...]
H A Dauthzone.c2149 lock_protect(&z->lock, &z->rpz->local_zones, sizeof(*z->rpz));
/netbsd-current/external/bsd/unbound/dist/daemon/
H A Ddaemon.h55 struct local_zones;
125 struct local_zones* local_zones; member in struct:daemon
H A Dremote.c1174 perform_zone_add(RES* ssl, struct local_zones* zones, char* arg)
1214 do_zone_add(RES* ssl, struct local_zones* zones, char* arg)
1221 /** Do the local_zones command */
1223 do_zones_add(RES* ssl, struct local_zones* zones)
1242 perform_zone_remove(RES* ssl, struct local_zones* zones, char* arg)
1263 do_zone_remove(RES* ssl, struct local_zones* zones, char* arg)
1272 do_zones_remove(RES* ssl, struct local_zones* zones)
1313 perform_data_add(RES* ssl, struct local_zones* zones, char* arg, int line)
1327 do_data_add(RES* ssl, struct local_zones* zones, char* arg)
1336 do_datas_add(RES* ssl, struct local_zones* zone
[all...]
H A Ddaemon.c714 /* create global local_zones */
715 if(!(daemon->local_zones = local_zones_create()))
717 if(!local_zones_apply_cfg(daemon->local_zones, daemon->cfg))
835 local_zones_delete(daemon->local_zones);
836 daemon->local_zones = NULL;
H A Dworker.c1708 if(local_zones_answer(worker->daemon->local_zones, &worker->env, &qinfo,
/netbsd-current/external/bsd/unbound/dist/libunbound/
H A Dcontext.h122 struct local_zones* local_zones; member in struct:ub_ctx
H A Dlibunbound.c369 local_zones_delete(ctx->local_zones);
1336 local_zones_print(ctx->local_zones);
1362 lock_rw_wrlock(&ctx->local_zones->lock);
1363 if((z=local_zones_find(ctx->local_zones, nm, nmlen, nmlabs,
1369 lock_rw_unlock(&ctx->local_zones->lock);
1373 if(!local_zones_add_zone(ctx->local_zones, nm, nmlen, nmlabs,
1375 lock_rw_unlock(&ctx->local_zones->lock);
1378 lock_rw_unlock(&ctx->local_zones->lock);
1397 lock_rw_wrlock(&ctx->local_zones->lock);
1398 if((z=local_zones_find(ctx->local_zones, n
[all...]
H A Dcontext.c80 ctx->local_zones = local_zones_create();
81 if(!ctx->local_zones)
83 if(!local_zones_apply_cfg(ctx->local_zones, cfg))
H A Dlibworker.c637 if(local_zones_answer(ctx->local_zones, w->env, &qinfo, &edns,
717 if(local_zones_answer(ctx->local_zones, w->env, &qinfo, &edns,
855 if(local_zones_answer(w->ctx->local_zones, w->env, &qinfo, &edns,
/netbsd-current/external/bsd/unbound/dist/util/
H A Dconfig_file.h450 struct config_str2list* local_zones; member in struct:config_file
832 struct config_str2list* local_zones; member in struct:config_view
841 /** Fallback to global local_zones when there is no match in the view
H A Dconfig_file.c290 cfg->local_zones = NULL;
1553 config_deldblstrlist(p->local_zones);
1651 config_deldblstrlist(cfg->local_zones);
2512 return cfg_str2list_insert(&cfg->local_zones, strdup(buf),
H A Dconfigparser.y2303 if(!cfg_str2list_insert(&cfg_parser->cfg->local_zones,
3215 &cfg_parser->cfg->views->local_zones,
H A Dconfigparser.c5434 if(!cfg_str2list_insert(&cfg_parser->cfg->local_zones,
6598 &cfg_parser->cfg->views->local_zones,
/netbsd-current/external/bsd/unbound/dist/dnscrypt/
H A Ddnscrypt.c687 if(!cfg_str2list_insert(&cfg->local_zones,
/netbsd-current/external/bsd/unbound/dist/smallapp/
H A Dunbound-checkconf.c191 struct local_zones* zs;
/netbsd-current/external/bsd/unbound/dist/pythonmod/
H A Dinterface.i1041 struct config_str2list* local_zones;

Completed in 192 milliseconds