Lines Matching defs:vconfig

266 	cfg_obj_t *			vconfig;
444 const cfg_obj_t *vconfig, isc_mem_t *mctx, dns_view_t *view,
450 configure_newzones(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
505 * 'vconfig' (for per-view configuration) and maybe from 'config'
508 configure_view_acl(const cfg_obj_t *vconfig, const cfg_obj_t *config,
521 if (vconfig != NULL) {
522 maps[i++] = cfg_tuple_get(vconfig, "options");
569 configure_view_sortlist(const cfg_obj_t *vconfig, const cfg_obj_t *config,
580 if (vconfig != NULL)
581 maps[i++] = cfg_tuple_get(vconfig, "options");
607 configure_view_nametable(const cfg_obj_t *vconfig, const cfg_obj_t *config,
624 if (vconfig != NULL)
625 maps[i++] = cfg_tuple_get(vconfig, "options");
687 dstkey_fromconfig(const cfg_obj_t *vconfig, const cfg_obj_t *key,
727 if (vconfig == NULL)
730 const cfg_obj_t *classobj = cfg_tuple_get(vconfig, "class");
810 load_view_keys(const cfg_obj_t *keys, const cfg_obj_t *vconfig,
831 result = dstkey_fromconfig(vconfig, key, managed,
891 * from 'vconfig' and 'config'.
894 configure_view_dnsseckeys(dns_view_t *view, const cfg_obj_t *vconfig,
917 if (vconfig != NULL) {
918 voptions = cfg_tuple_get(vconfig, "options");
1002 CHECK(load_view_keys(builtin_keys, vconfig, view,
1005 CHECK(load_view_keys(builtin_managed_keys, vconfig,
1018 CHECK(load_view_keys(view_keys, vconfig, view, ISC_FALSE,
1020 CHECK(load_view_keys(view_managed_keys, vconfig, view, ISC_TRUE,
1024 CHECK(load_view_keys(global_keys, vconfig, view, ISC_FALSE,
1026 CHECK(load_view_keys(global_managed_keys, vconfig, view,
2228 result = configure_zone(cfg->config, zoneobj, cfg->vconfig,
3229 * Configure 'view' according to 'vconfig', taking defaults from 'config'
3230 * where values are missing in 'vconfig'.
3232 * When configuring the default view, 'vconfig' will be NULL and the
3237 cfg_obj_t *config, cfg_obj_t *vconfig,
3308 if (vconfig != NULL) {
3309 voptions = cfg_tuple_get(vconfig, "options");
3379 CHECK(configure_view_acl(vconfig, config, ns_g_config,
3416 CHECK(configure_zone(config, zconfig, vconfig, mctx, view,
3426 CHECK(configure_newzones(view, config, vconfig, mctx, actx));
4112 CHECK(ns_tsigkeyring_fromconfig(config, vconfig, view->mctx, &ring));
4192 CHECK(configure_view_acl(vconfig, config, NULL, "match-clients",
4195 CHECK(configure_view_acl(vconfig, config, NULL, "match-destinations",
4261 CHECK(configure_view_acl(vconfig, config, ns_g_config,
4297 CHECK(configure_view_acl(vconfig, config, NULL, "allow-query-cache",
4303 CHECK(configure_view_acl(vconfig, config, NULL,
4306 CHECK(configure_view_acl(vconfig, config, NULL,
4373 CHECK(configure_view_acl(vconfig, config, ns_g_config,
4389 CHECK(configure_view_acl(vconfig, config, ns_g_config,
4393 CHECK(configure_view_nametable(vconfig, config, "deny-answer-addresses",
4400 CHECK(configure_view_nametable(vconfig, config, "deny-answer-aliases",
4403 CHECK(configure_view_nametable(vconfig, config, "deny-answer-aliases",
4410 CHECK(configure_view_sortlist(vconfig, config, actx, ns_g_mctx,
4420 CHECK(configure_view_acl(vconfig, config, ns_g_config,
4440 CHECK(configure_view_acl(vconfig, config, ns_g_config,
4546 CHECK(configure_view_acl(vconfig, config, ns_g_config,
4639 CHECK(configure_view_dnsseckeys(view, vconfig, config, bindkeys,
5157 get_viewinfo(const cfg_obj_t *vconfig, const char **namep,
5167 if (vconfig != NULL) {
5170 viewname = cfg_obj_asstring(cfg_tuple_get(vconfig, "name"));
5171 classobj = cfg_tuple_get(vconfig, "class");
5196 * If 'vconfig' is NULL, attach to the default view.
5199 find_view(const cfg_obj_t *vconfig, dns_viewlist_t *viewlist,
5207 result = get_viewinfo(vconfig, &viewname, &viewclass);
5222 * If 'vconfig' is NULL, create the default view.
5227 create_view(const cfg_obj_t *vconfig, dns_viewlist_t *viewlist,
5235 result = get_viewinfo(vconfig, &viewname, &viewclass);
5271 const cfg_obj_t *vconfig, isc_mem_t *mctx, dns_view_t *view,
5319 if (vconfig != NULL)
5320 vname = cfg_obj_asstring(cfg_tuple_get(vconfig,
5489 CHECK(ns_zone_configure(config, vconfig, zconfig, aclconf,
5643 CHECK(ns_zone_configure(config, vconfig, zconfig, aclconf, zone, raw));
6671 setup_newzones(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
6687 if (vconfig != NULL)
6688 voptions = cfg_tuple_get(vconfig, "options");
6773 if (vconfig != NULL)
6774 cfg_obj_attach(vconfig, &nzcfg->vconfig);
6836 configure_newzones(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
6862 CHECK(configure_zone(config, zconfig, vconfig, mctx,
6958 cfg_obj_t *config, cfg_obj_t *vconfig,
6965 * object, "config", "vconfig", "mctx", "view" and "actx" as arguments (all
6973 cfg_obj_t *vconfig, isc_mem_t *mctx, dns_view_t *view,
7017 result = callback(zconfig, config, vconfig, mctx, view, actx);
7044 cfg_obj_t *vconfig, isc_mem_t *mctx, dns_view_t *view,
7047 return (configure_zone(config, zconfig, vconfig, mctx, view,
7057 cfg_obj_t *vconfig, isc_mem_t *mctx, dns_view_t *view,
7061 UNUSED(vconfig);
7071 configure_newzones(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
7093 result = for_all_newzone_cfgs(configure_newzone, config, vconfig, mctx,
7105 vconfig, mctx, view, actx, txn,
7899 cfg_obj_t *vconfig = cfg_listelt_value(element);
7900 const cfg_obj_t *voptions = cfg_tuple_get(vconfig, "options");
7905 CHECK(create_view(vconfig, &viewlist, &view));
7910 CHECK(setup_newzones(view, config, vconfig, conf_parser,
7953 cfg_obj_t *vconfig = cfg_listelt_value(element);
7956 CHECK(find_view(vconfig, &viewlist, &view));
7957 CHECK(configure_view(view, &viewlist, config, vconfig,
7988 cfg_obj_t *vconfig = cfg_listelt_value(element);
7990 CHECK(create_view(vconfig, &builtin_viewlist, &view));
7991 CHECK(configure_view(view, &viewlist, config, vconfig,
12065 result = configure_zone(cfg->config, zoneobj, cfg->vconfig,
12230 result = configure_zone(cfg->config, zoneobj, cfg->vconfig,
12264 if (cfg->vconfig == NULL) {
12271 cfg_tuple_get(cfg->vconfig, "options");
12545 if (cfg->vconfig != NULL) {
12547 cfg_tuple_get(cfg->vconfig, "options");
12832 const cfg_obj_t *vconfig = NULL, *zconfig = NULL;
12865 vconfig = find_name_in_list_from_map(cfg->config, "view", view->name);
12868 if (vconfig != NULL)
12869 map = cfg_tuple_get(vconfig, "options");
12924 if (cfg->vconfig != NULL)
12925 cfg_obj_destroy(cfg->conf_parser, &cfg->vconfig);