Home
last modified time | relevance | path

Searched refs:module_conf (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/unbound/smallapp/
H A Dunbound-checkconf.c310 if(use_response_ip && !strstr(cfg->module_conf, "respip")) in view_and_respipchecks()
647 check_modules_exist(const char* module_conf) in check_modules_exist() argument
650 const char* s = module_conf; in check_modules_exist()
755 if(cfg->disable_edns_do && strstr(cfg->module_conf, "validator") in morechecks()
773 if(cfg->ipsecmod_enabled && strstr(cfg->module_conf, "ipsecmod")) { in morechecks()
784 check_modules_exist(cfg->module_conf); in morechecks()
787 if(strcmp(cfg->module_conf, "iterator") != 0 in morechecks()
788 && strcmp(cfg->module_conf, "validator iterator") != 0 in morechecks()
789 && strcmp(cfg->module_conf, "dns64 validator iterator") != 0 in morechecks()
790 && strcmp(cfg->module_conf, "dns64 iterator") != 0 in morechecks()
[all …]
/freebsd/contrib/unbound/services/
H A Dmodstack.c109 modstack_config(struct module_stack* stack, const char* module_conf) in modstack_config() argument
112 verbose(VERB_QUERY, "module config: \"%s\"", module_conf); in modstack_config()
113 stack->num = count_modules(module_conf); in modstack_config()
130 stack->mod[i] = module_factory(&module_conf); in modstack_config()
134 snprintf(md, sizeof(md), "%s", module_conf); in modstack_config()
236 modstack_call_startup(struct module_stack* stack, const char* module_conf, in modstack_call_startup() argument
243 if(!modstack_config(stack, module_conf)) { in modstack_call_startup()
262 modstack_call_init(struct module_stack* stack, const char* module_conf, in modstack_call_init() argument
268 while(*module_conf && isspace((unsigned char)*module_conf)) in modstack_call_init()
269 module_conf++; in modstack_call_init()
[all …]
H A Dmodstack.h77 int modstack_call_startup(struct module_stack* stack, const char* module_conf,
86 int modstack_config(struct module_stack* stack, const char* module_conf);
112 int modstack_call_init(struct module_stack* stack, const char* module_conf,
/freebsd/contrib/unbound/testcode/
H A Dunitzonemd.c275 if(env.cfg->module_conf) in zonemd_verify_test()
276 free(env.cfg->module_conf); in zonemd_verify_test()
277 env.cfg->module_conf = strdup("validator iterator"); in zonemd_verify_test()
278 if(!env.cfg->module_conf) in zonemd_verify_test()
292 if(!modstack_call_startup(&mods, env.cfg->module_conf, &env)) in zonemd_verify_test()
294 if(!modstack_call_init(&mods, env.cfg->module_conf, &env)) in zonemd_verify_test()
/freebsd/contrib/unbound/libunbound/
H A Dcontext.c78 if(!modstack_call_startup(&ctx->mods, cfg->module_conf, ctx->env)) in context_finalize()
80 if(!modstack_call_init(&ctx->mods, cfg->module_conf, ctx->env)) in context_finalize()
/freebsd/contrib/unbound/daemon/
H A Ddaemon.c452 if(!modstack_call_startup(&daemon->mods, daemon->cfg->module_conf, in daemon_privileged()
472 if(!modstack_call_init(&daemon->mods, daemon->cfg->module_conf, in daemon_setup_modules()
H A Dunbound.c206 …if(strstr(cfg->module_conf, "validator") && (cfg->trust_anchor_file_list || cfg->trust_anchor_list… in checkrlimits()
H A Dremote.c5210 m += getmem_str(cfg->module_conf); in config_file_getmem()
5982 COPY_VAR_ptr(module_conf); in fr_atomic_copy_cfg()
/freebsd/contrib/unbound/util/
H A Dconfig_file.h389 char* module_conf; member
H A Dconfig_file.c331 if(!(cfg->module_conf = strdup("validator iterator"))) goto error_exit; in config_create()
799 else S_STR("module-config:", module_conf) in config_set_option()
1228 else O_STR(opt, "module-config", module_conf) in config_get_option()
1775 free(cfg->module_conf); in config_delete()
H A Dconfigparser.y2023 free(cfg_parser->cfg->module_conf);
2024 cfg_parser->cfg->module_conf = $2;
H A Dconfigparser.c5175 free(cfg_parser->cfg->module_conf); in yyparse()
5176 cfg_parser->cfg->module_conf = (yyvsp[0].str); in yyparse()