/bind-9.11.3/lib/dns/include/dns/ |
H A D | lookup.h | 62 dns_db_t *db; member in struct:dns_lookupevent
|
H A D | rdatasetiter.h | 79 * This structure is actually just the common prefix of a DNS db 91 dns_db_t * db; member in struct:dns_rdatasetiter
|
H A D | rriterator.h | 32 #include <dns/db.h> 55 dns_db_t *db; member in struct:dns_rriterator 70 dns_rriterator_init(dns_rriterator_t *it, dns_db_t *db, 78 * \li 'db' is a valid database.
|
H A D | dbiterator.h | 83 * This structure is actually just the common prefix of a DNS db 86 * Clients may use the 'db' field of this structure. Except for that field, 96 dns_db_t * db; member in struct:dns_dbiterator
|
H A D | resolver.h | 54 * A dns_fetchevent_t is sent when a 'fetch' completes. Any of 'db', 67 dns_db_t * db; member in struct:dns_fetchevent
|
/bind-9.11.3/lib/dns/ |
H A D | rriterator.c | 22 #include <dns/db.h> 35 dns_rriterator_init(dns_rriterator_t *it, dns_db_t *db, dns_dbversion_t *ver, argument 40 it->db = db; 45 result = dns_db_createiterator(it->db, 0, &it->dbit); 66 dns_db_detachnode(it->db, &it->node); 79 it->result = dns_db_allrdatasets(it->db, it->node, it->ver, 90 dns_db_detachnode(it->db, &it->node); 116 dns_db_detachnode(it->db, &it->node); 128 it->result = dns_db_allrdatasets(it->db, i [all...] |
H A D | private.c | 96 dns_private_chains(dns_db_t *db, dns_dbversion_t *ver, argument 113 CHECK(dns_db_getoriginnode(db, &node)); 115 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_nsec, 121 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_nsec3param, 137 result = dns_db_findrdataset(db, node, ver, privatetype, 285 dns_db_detachnode(db, &node);
|
H A D | dbtable.c | 25 #include <dns/db.h> 48 dns_db_t *db = data; local 52 dns_db_detach(&db); 168 dns_dbtable_add(dns_dbtable_t *dbtable, dns_db_t *db) { argument 173 REQUIRE(dns_db_class(db) == dbtable->rdclass); 176 dns_db_attach(db, &dbclone); 186 dns_dbtable_remove(dns_dbtable_t *dbtable, dns_db_t *db) { argument 193 name = dns_db_origin(db); 196 * There is a requirement that the association of name with db 209 INSIST(stored_data == db); 218 dns_dbtable_adddefault(dns_dbtable_t *dbtable, dns_db_t *db) argument [all...] |
H A D | nsec.c | 19 #include <dns/db.h> 94 dns_nsec_buildrdata(dns_db_t *db, dns_dbversion_t *version, argument 122 result = dns_db_allrdatasets(db, node, version, 0, &rdsiter); 161 dns_db_class(db), 169 dns_nsec_build(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, argument 181 RETERR(dns_nsec_buildrdata(db, version, node, target, data, &rdata)); 184 rdatalist.rdclass = dns_db_class(db); 189 result = dns_db_addrdataset(db, node, version, 0, &rdataset, 236 dns_nsec_nseconly(dns_db_t *db, dns_dbversion_t *version, argument 248 result = dns_db_getoriginnode(db, [all...] |
H A D | rootns.c | 20 #include <dns/db.h> 142 check_hints(dns_db_t *db) { argument 158 (void)dns_db_find(db, dns_rootname, NULL, dns_rdatatype_ns, 0, 160 result = dns_db_createiterator(db, 0, &dbiter); 168 result = dns_db_allrdatasets(db, node, NULL, now, &rdsiter); 175 dns_db_detachnode(db, &node); 187 dns_db_detachnode(db, &node); 201 dns_db_t *db = NULL; local 206 rdclass, 0, NULL, &db); 215 result = dns_db_beginload(db, 321 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db, dns_name_t *name, isc_stdtime_t now) argument 421 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db) argument [all...] |
/bind-9.11.3/lib/dns/tests/ |
H A D | db_test.c | 20 #include <dns/db.h> 45 dns_db_t *db = NULL; local 57 dns_rdataclass_in, 0, NULL, &db); 60 result = dns_db_getoriginnode(db, &node); 62 dns_db_detachnode(db, &node); 64 result = dns_db_getoriginnode(db, &node); 66 dns_db_detachnode(db, &node); 68 dns_db_detach(&db);
|
H A D | nsec3_test.c | 19 #include <dns/db.h> 32 dns_db_t *db = NULL; local 35 result = dns_test_loaddb(&db, dns_dbtype_zone, "test", file); 38 result = dns_nsec3_maxiterations(db, NULL, mctx, &iterations); 43 dns_db_detach(&db); 139 iteration_test("testdata/nsec3/1024.db", 150); 140 iteration_test("testdata/nsec3/2048.db", 500); 141 iteration_test("testdata/nsec3/4096.db", 2500); 142 iteration_test("testdata/nsec3/min-1024.db", 150); 143 iteration_test("testdata/nsec3/min-2048.db", 50 [all...] |
H A D | dbiterator_test.c | 20 #include <dns/db.h> 50 dns_db_t *db = NULL; local 56 result = dns_test_loaddb(&db, dns_dbtype_cache, TEST_ORIGIN, 60 result = dns_db_createiterator(db, 0, &iter); 64 dns_db_detach(&db); 90 dns_db_t *db = NULL; local 105 result = dns_test_loaddb(&db, dns_dbtype_cache, TEST_ORIGIN, 109 result = dns_db_createiterator(db, 0, &iter); 119 dns_db_detachnode(db, &node); 126 dns_db_detach(&db); 153 dns_db_t *db = NULL; local 214 dns_db_t *db = NULL; local 289 dns_db_t *db = NULL; local 346 dns_db_t *db = NULL; local [all...] |
H A D | zt_test.c | 24 #include <dns/db.h> 145 dns_db_t *db = NULL; local 168 dns_zone_setfile(zone, "testdata/zt/zone1.db"); 180 result = dns_zone_getdb(zone, &db); 182 ATF_CHECK(db != NULL); 183 if (db != NULL) 184 dns_db_detach(&db); 204 dns_db_t *db = NULL; local 216 dns_zone_setfile(zone1, "testdata/zt/zone1.db"); 221 dns_zone_setfile(zone2, "testdata/zt/zone1.db"); [all...] |
H A D | geoip_test.c | 46 GeoIP *db; local 50 db = *dbp; 52 if (db != NULL) { 53 GeoIP_delete(db); 54 db = *dbp = NULL; 66 db = GeoIP_open_type(edition, method); 67 if (db == NULL) { 76 info = GeoIP_database_info(db); 80 *dbp = db;
|
H A D | master_test.c | 26 #include <dns/db.h> 549 dns_db_t *db = NULL; local 574 dns_rdataclass_in, 0, NULL, &db); 577 result = dns_db_load(db, "testdata/master/master1.data"); 580 dns_db_currentversion(db, &version); 582 result = dns_master_dump2(mctx, db, version, 597 result = dns_master_dump3(mctx, db, version, 609 dns_db_closeversion(db, &version, ISC_FALSE); 610 dns_db_detach(&db);
|
/bind-9.11.3/bin/named/ |
H A D | geoip.c | 30 GeoIP *db; local 34 db = *dbp; 36 if (db != NULL) { 37 GeoIP_delete(db); 38 db = *dbp = NULL; 52 db = GeoIP_open_type(edition, method); 53 if (db == NULL) { 62 info = GeoIP_database_info(db); 70 *dbp = db;
|
/bind-9.11.3/bin/tests/ |
H A D | makejournal.c | 18 #include <dns/db.h> 58 loadzone(dns_db_t **db, const char *origin, const char *filename) { argument 71 dns_rdataclass_in, 0, NULL, db); 75 result = dns_db_load(*db, filename);
|
H A D | nsecify.c | 19 #include <dns/db.h> 45 active_node(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node) { argument 53 result = dns_db_allrdatasets(db, node, version, 0, &rdsiter); 74 result = dns_db_deleterdataset(db, node, version, 85 next_active(dns_db_t *db, dns_dbversion_t *version, dns_dbiterator_t *dbiter, argument 95 active = active_node(db, version, *nodep); 97 dns_db_detachnode(db, nodep); 109 dns_db_t *db; local 136 db = NULL; 138 dns_rdataclass_in, 0, NULL, &db); [all...] |
/bind-9.11.3/contrib/dlz/drivers/ |
H A D | sdlz_helper.c | 332 dbinstance_t *db = NULL; local 338 db = isc_mem_get(mctx, sizeof(dbinstance_t)); 339 if (db == NULL) { 346 memset(db, 0, sizeof(dbinstance_t)); 347 db->dbconn = NULL; 348 db->client = NULL; 349 db->record = NULL; 350 db->zone = NULL; 351 db->mctx = NULL; 352 db [all...] |
/bind-9.11.3/contrib/dlz/modules/common/ |
H A D | dlz_dbi.c | 315 dbinstance_t *db = NULL; local 319 db = calloc(1, sizeof(dbinstance_t)); 320 if (db == NULL) { 327 memset(db, 0, sizeof(dbinstance_t)); 328 db->dbconn = NULL; 329 db->client = NULL; 330 db->record = NULL; 331 db->zone = NULL; 332 db->query_buf = NULL; 333 db [all...] |
/bind-9.11.3/contrib/sdb/bdb/ |
H A D | zone2bdb.c | 27 #include <dns/db.h> 38 #include <db.h> 51 DB *db; local 53 REQUIRE(db_create(&db, NULL, 0) == 0); 54 REQUIRE(db->set_flags(db, DB_DUP) == 0); 55 REQUIRE(db->open(db, file, NULL, DB_HASH, DB_CREATE | DB_EXCL, 0) == 0); 57 return db; 61 * Puts resource record data on 'db' 64 bdb_putrdata(DB *db, dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata) argument 99 bdb_destroy(DB *db) argument 120 dns_db_t *db = NULL; local [all...] |
/bind-9.11.3/contrib/sdb/pgsql/ |
H A D | zonetodb.c | 21 #include <dns/db.h> 129 dns_db_t *db = NULL; local 171 db = NULL; 173 dns_rdataclass_in, 0, NULL, &db); 176 result = dns_db_load(db, zonefile); 224 result = dns_db_createiterator(db, 0, &dbiter); 243 result = dns_db_allrdatasets(db, node, NULL, 0, &rdsiter); 262 dns_db_detachnode(db, &node); 277 dns_db_detach(&db);
|
/bind-9.11.3/bin/dnssec/ |
H A D | dnssec-verify.c | 37 #include <dns/db.h> 86 loadzone(char *file, char *origin, dns_rdataclass_t rdclass, dns_db_t **db) { argument 105 rdclass, 0, NULL, db); 108 result = dns_db_load2(*db, file, inputformat);
|
/bind-9.11.3/bin/tests/system/dyndb/driver/ |
H A D | syncptr.c | 16 #include <dns/db.h> 53 dns_db_t *db = NULL; local 60 CHECK(dns_zone_getdb(pevent->zone, &db)); 61 CHECK(dns_db_newversion(db, &version)); 62 CHECK(dns_diff_apply(&pevent->diff, db, version)); 65 if (db != NULL) { 67 dns_db_closeversion(db, &version, ISC_TRUE); 68 dns_db_detach(&db);
|