Home
last modified time | relevance | path

Searched refs:zopt (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/bsd/nsd/dist/
H A Dremote.c1234 struct zone_options* zopt; in perform_changezone() local
1261 if( (zopt=zone_options_find(xfrd->nsd->options, dname)) ) { in perform_changezone()
1262 if(zopt->part_of_config) { in perform_changezone()
1280 if(zone_is_slave(zopt)) { in perform_changezone()
1285 zone_list_del(xfrd->nsd->options, zopt); in perform_changezone()
1293 zopt = zone_list_add(xfrd->nsd->options, arg, arg2); in perform_changezone()
1294 if(!zopt) { in perform_changezone()
1302 getzonestatid(xfrd->nsd->options, zopt)); in perform_changezone()
1306 init_notify_send(xfrd->notify_zones, xfrd->region, zopt); in perform_changezone()
1308 if(zone_is_slave(zopt)) { in perform_changezone()
[all …]
H A Ddbcreate.c214 namedb_write_zonefile(struct nsd* nsd, struct zone_options* zopt) in namedb_write_zonefile() argument
221 if(!zopt->pattern->zonefile) in namedb_write_zonefile()
223 zone = namedb_find_zone(nsd->db, (const dname_type*)zopt->node.key); in namedb_write_zonefile()
228 zfile = config_make_zonefile(zopt, nsd); in namedb_write_zonefile()
231 "the path could not be created", zopt->name, zfile); in namedb_write_zonefile()
H A Ddifffile.c897 struct zone_options* zopt; in find_or_create_zone() local
902 zopt = zone_options_find(opt, zone_name); in find_or_create_zone()
903 if(!zopt) { in find_or_create_zone()
907 zopt = zone_options_create(opt->region); in find_or_create_zone()
908 if(!zopt) return 0; in find_or_create_zone()
909 zopt->part_of_config = 1; in find_or_create_zone()
910 zopt->name = region_strdup(opt->region, zstr); in find_or_create_zone()
911 zopt->pattern = pattern_options_find(opt, patname); in find_or_create_zone()
912 if(!zopt->name || !zopt->pattern) return 0; in find_or_create_zone()
913 if(!nsd_options_insert_zone(opt, zopt)) { in find_or_create_zone()
[all …]
H A Ddbaccess.c320 udb_ptr* last_task, struct zone_options* zopt) in namedb_check_zonefile() argument
323 const dname_type* dname = (const dname_type*)zopt->node.key; in namedb_check_zonefile()
327 zone = namedb_zone_create(nsd->db, dname, zopt); in namedb_check_zonefile()
H A Dnamedb.h393 struct zone_options* zopt);
395 void namedb_write_zonefile(struct nsd* nsd, struct zone_options* zopt);
H A Doptions.c325 struct zone_options* zopt; in options_zonestatnames_create() local
339 RBTREE_FOR(zopt, struct zone_options*, opt->zone_options) { in options_zonestatnames_create()
341 (void)getzonestatid(opt, zopt); in options_zonestatnames_create()
2449 unsigned getzonestatid(struct nsd_options* opt, struct zone_options* zopt) in getzonestatid() argument
2456 if(!zopt->pattern->zonestats || zopt->pattern->zonestats[0]==0) in getzonestatid()
2458 statname = config_cook_string(zopt, zopt->pattern->zonestats); in getzonestatid()
2473 (void)opt; (void)zopt; in getzonestatid()
H A Doptions.h505 unsigned getzonestatid(struct nsd_options* opt, struct zone_options* zopt);