/bind-9.11.3/lib/isc/include/isc/ |
H A D | netaddr.h | 36 isc_uint32_t zone; member in struct:isc_netaddr 108 isc_netaddr_setzone(isc_netaddr_t *netaddr, isc_uint32_t zone);
|
/bind-9.11.3/lib/dns/tests/ |
H A D | zonemgr_test.c | 25 #include <dns/zone.h> 34 atf_tc_set_md_var(tc, "descr", "create zone manager"); 59 atf_tc_set_md_var(tc, "descr", "manage and release a zone"); 63 dns_zone_t *zone = NULL; local 75 result = dns_test_makezone("foo", &zone, NULL, ISC_FALSE); 79 result = dns_zonemgr_managezone(myzonemgr, zone); 88 result = dns_zonemgr_managezone(myzonemgr, zone); 93 dns_zonemgr_releasezone(myzonemgr, zone); 94 dns_zone_detach(&zone); 107 atf_tc_set_md_var(tc, "descr", "create and release a zone"); 111 dns_zone_t *zone = NULL; local 151 dns_zone_t *zone = NULL; local [all...] |
H A D | zt_test.c | 27 #include <dns/zone.h> 41 count_zone(dns_zone_t *zone, void *uap) { argument 44 UNUSED(zone); 51 load_done(dns_zt_t *zt, dns_zone_t *zone, isc_task_t *task) { argument 55 UNUSED(zone); 98 atf_tc_set_md_var(tc, "descr", "apply a function to a zone table"); 102 dns_zone_t *zone = NULL; local 111 result = dns_test_makezone("foo", &zone, NULL, ISC_TRUE); 114 view = dns_zone_getview(zone); 122 /* These steps are necessary so the zone ca 143 dns_zone_t *zone = NULL; local [all...] |
H A D | dnstap_test.c | 123 unsigned char zone[DNS_NAME_MAXWIRE]; local 171 isc_buffer_init(&zb, zone, sizeof(zone));
|
H A D | master_test.c | 57 rawdata_callback(dns_zone_t *zone, dns_masterrawheader_t *header); 74 rawdata_callback(dns_zone_t *zone, dns_masterrawheader_t *h) { argument 75 UNUSED(zone); 106 callbacks.zone = NULL; 239 "doesn't match zone class");
|
/bind-9.11.3/lib/isc/ |
H A D | netscope.c | 30 isc_uint32_t zone; local 50 zone = (isc_uint32_t)ifid; 58 zone = (isc_uint32_t)(llz & 0xffffffffUL); 59 if (zone != llz) 65 *zoneid = zone;
|
H A D | netaddr.c | 33 if (a->zone != b->zone) 44 a->zone != b->zone) 73 if (a->zone != b->zone && b->zone != 0) 156 if (netaddr->family == AF_INET6 && netaddr->zone != 0) { 157 zlen = snprintf(zbuf, sizeof(zbuf), "%%%u", netaddr->zone); 301 netaddr->zone 312 isc_netaddr_setzone(isc_netaddr_t *netaddr, isc_uint32_t zone) argument [all...] |
/bind-9.11.3/lib/dns/include/dns/ |
H A D | callbacks.h | 44 * format zone file. 53 dns_zone_t *zone; member in struct:dns_rdatacallbacks
|
/bind-9.11.3/contrib/sdb/time/ |
H A D | timedb.c | 43 timedb_lookup(const char *zone, const char *name, void *dbdata, argument 48 timedb_lookup(const char *zone, const char *name, void *dbdata, 54 UNUSED(zone); 95 timedb_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) { argument 98 UNUSED(zone); 116 * This zone does not support zone transfer, so allnodes() is NULL. There
|
/bind-9.11.3/bin/tests/system/dyndb/driver/ |
H A D | zone.c | 13 #include <dns/zone.h> 19 #include "zone.h" 24 * Create a new zone with origin 'name'. The zone stay invisible to clients 62 log_error_r("failed to create new zone '%s'", zone_name); 76 * Add zone to the view defined in inst->view. This will make the zone visible 80 publish_zone(sample_instance_t *inst, dns_zone_t *zone) { argument 88 REQUIRE(zone != NULL); 90 /* Return success if the zone i 146 load_zone(dns_zone_t *zone) argument [all...] |
H A D | syncptr.c | 19 #include <dns/zone.h> 35 dns_zone_t *zone; member in struct:syncptrevent 43 * Write diff generated in syncptr() to reverse zone. 60 CHECK(dns_zone_getdb(pevent->zone, &db)); 70 dns_zone_detach(&pevent->zone); 76 * Find a reverse zone for given IP address. 80 * @param[out] zone DNS zone for reverse record matching the IP address 83 * reverse zone managed by this driver instance. 85 * @retval ISC_R_NOTFOUND Suitable reverse zone wa 89 syncptr_find_zone(sample_instance_t *inst, dns_rdata_t *rdata, dns_name_t *name, dns_zone_t **zone) argument [all...] |
/bind-9.11.3/contrib/dlz/modules/include/ |
H A D | dlz_dbi.h | 59 * special tokens are %zone%, %record%, %client% 84 char *zone; member in struct:dbinstance 99 build_querylist(const char *query_str, char **zone, char **record,
|
/bind-9.11.3/contrib/sdb/bdb/ |
H A D | bdb.c | 57 bdb_create(const char *zone, int argc, char **argv, argument 62 UNUSED(zone); 102 bdb_lookup(const char *zone, const char *name, void *dbdata, argument 106 bdb_lookup(const char *zone, const char *name, void *dbdata, 117 UNUSED(zone); 164 bdb_allnodes(const char *zone, void *dbdata, dns_sdballnodes_t *n) argument 173 UNUSED(zone); 213 bdb_destroy(const char *zone, void *unused, void **dbdata) argument 216 UNUSED(zone);
|
/bind-9.11.3/contrib/sdb/dir/ |
H A D | dirdb.c | 56 dirdb_lookup(const char *zone, const char *name, void *dbdata, argument 61 dirdb_lookup(const char *zone, const char *name, void *dbdata, 72 UNUSED(zone); 120 dirdb_authority(const char *zone, void *dbdata, dns_sdblookup_t *lookup) { argument 123 UNUSED(zone); 141 dirdb_create(const char *zone, int argc, char **argv, argument 144 UNUSED(zone); 159 dirdb_destroy(const char *zone, void *driverdata, void **dbdata) { argument 160 UNUSED(zone); 166 * This zone doe [all...] |
/bind-9.11.3/lib/bind9/ |
H A D | getaddresses.c | 81 isc_uint32_t zone = 0; local 99 &in6, &zone); 115 isc_netaddr_setzone(&na, zone);
|
/bind-9.11.3/bin/named/ |
H A D | notify.c | 21 #include <dns/zone.h> 72 dns_zone_t *zone = NULL; local 101 /* The zone section must have exactly one name. */ 136 result = dns_zt_find(client->view->zonetable, zonename, 0, NULL, &zone); 138 dns_zonetype_t zonetype = dns_zone_gettype(zone); 147 "received notify for zone '%s'%s", 149 result = dns_zone_notifyreceive2(zone, from, to, 156 "received notify for zone '%s'%s: not authoritative", 161 if (zone != NULL) 162 dns_zone_detach(&zone); [all...] |
/bind-9.11.3/lib/isc/unix/ |
H A D | interfaceiter.c | 86 * BSD variants embed scope zone IDs in the 128bit 91 * part and the zone ID part. 103 /* the zone ID is embedded */ 110 unsigned int zone; local 118 zone = if_nametoindex(ifname); 119 if (zone != 0) { 121 (isc_uint32_t)zone);
|
/bind-9.11.3/contrib/dlz/drivers/ |
H A D | dlz_stub_driver.c | 78 stub_dlz_allnodes(const char *zone, void *driverarg, void *dbdata, argument 84 UNUSED(zone); 115 stub_dlz_authority(const char *zone, void *driverarg, void *dbdata, argument 125 if (strcmp(zone, cd->myzone) == 0) { 167 stub_dlz_lookup(const char *zone, const char *name, void *driverarg, argument 174 UNUSED(zone);
|
H A D | sdlz_helper.c | 84 * %zone%, or %record%, or %client% 99 build_querylist(isc_mem_t *mctx, const char *query_str, char **zone, argument 173 /* check if we encountered "$zone$" token */ 174 if (strcasecmp(tseg->sql, "zone") == 0) { 176 * we don't really need, or want the "zone" 180 /* set tseg->sql to in-direct zone string */ 181 tseg->sql = (char**) zone; 218 * add checks later to verify zone and record are found if 242 /* if this query requires %zone%, make sure we found it */ 247 "Required token $zone [all...] |
/bind-9.11.3/contrib/dlz/drivers/include/dlz/ |
H A D | sdlz_helper.h | 55 * special tokens are %zone%, %record%, %client% 80 char *zone; member in struct:dbinstance
|
/bind-9.11.3/contrib/dlz/modules/common/ |
H A D | dlz_dbi.c | 79 * %zone%, or %record%, or %client% 94 build_querylist(const char *query_str, char **zone, char **record, argument 163 /* check if we encountered "$zone$" token */ 164 if (strcasecmp(tseg->cmd, "zone") == 0) { 166 * we don't really need, or want the "zone" 170 /* set tseg->cmd to in-direct zone string */ 171 tseg->cmd = (char**) zone; 208 * add checks later to verify zone and record are found if 232 /* if this query requires %zone%, make sure we found it */ 236 log(ISC_LOG_ERROR, "Required token $zone [all...] |
/bind-9.11.3/contrib/sdb/tcl/ |
H A D | tcldb.c | 94 tcldb_lookup(const char *zone, const char *name, void *dbdata, argument 99 tcldb_lookup(const char *zone, const char *name, void *dbdata, 119 cmdv[1] = zone; 128 "zone '%s': tcl lookup function failed: %s", 129 zone, driver->interp->result); 169 "zone '%s': " 171 zone, driver->interp->result); 178 * Set up per-zone state. In our case, the database arguments of the 179 * zone are collected into a Tcl list and assigned to an element of 183 tcldb_create(const char *zone, in argument [all...] |
/bind-9.11.3/bin/confgen/ |
H A D | ddns-confgen.c | 67 %s [-a alg] [-k keyname] [-r randomfile] [-q] [-s name | -z zone]\n\ 72 -z zone: name of the zone as it will be used in named.conf\n\ 97 const char *zone = NULL; local 178 zone = isc_commandline_argument; 202 if (self_domain != NULL && zone != NULL) 221 else if (zone != NULL) 222 suffix = zone; 256 # Then, in the \"zone\" statement for the zone containin [all...] |
/bind-9.11.3/lib/lwres/ |
H A D | lwconfig.c | 199 addr->zone = 0; 471 addr->zone = 0; 479 unsigned long zone; local 485 zone = if_nametoindex(percent); 486 if (zone != 0U) { 487 addr->zone = zone; 491 zone = strtoul(percent, &ep, 10); 493 addr->zone = zone; [all...] |
/bind-9.11.3/bin/tests/ |
H A D | zone_test.c | 35 #include <dns/zone.h> 45 dns_zone_t *zone = NULL; variable 73 "usage: zone_test [-dqsSM] [-c class] [-f file] zone\n"); 90 result = dns_zone_create(&zone, mctx); 93 dns_zone_settype(zone, zonetype); 103 result = dns_zone_setorigin(zone, origin); 106 result = dns_zone_setdbtype(zone, 1, &rbt); 109 result = dns_zone_setfile(zone, filename); 118 dns_zone_setclass(zone, rdclass); 121 dns_zone_setmasters(zone, [all...] |