/bind-9.11.3/lib/isc/ |
H A D | radix.c | 158 * if func is supplied, it will be called as func(node->data) 159 * before deleting the node 217 * func will be called as func(node->prefix, node->data) 221 isc_radix_node_t *node; local 225 RADIX_WALK(radix->head, node) { 226 func(node->prefix, node->data); 235 isc_radix_node_t *node; local 252 node 304 isc_radix_node_t *node, *new_node, *parent, *glue = NULL; local 613 isc_radix_remove(isc_radix_tree_t *radix, isc_radix_node_t *node) argument [all...] |
H A D | ht.c | 99 isc_ht_node_t *node = ht->table[i]; local 100 while (node != NULL) { 101 isc_ht_node_t *next = node->next; 103 isc_mem_put(ht->mctx, node, 105 node->keysize); 106 node = next; 122 isc_ht_node_t *node; local 129 node = ht->table[hash & ht->mask]; 130 while (node != NULL) { 131 if (keysize == node 156 isc_ht_node_t *node; local 179 isc_ht_node_t *node, *prev; local 282 isc_ht_node_t *node = NULL; local [all...] |
/bind-9.11.3/lib/dns/include/dns/ |
H A D | rbt.h | 61 * This is the structure that is used for each node in the red/black 70 DNS_RBT_NSEC_HAS_NSEC=1, /* also has node in nsec tree */ 117 /* node needs to be cleaned from rpz */ 141 * node lock must be held before accessing them. 145 * set of bitfields which are accessed after acquiring the node 148 * after acquiring the node lock. 152 * without the node lock as it shares the qword with other 157 unsigned int :0; /* start of bitfields c/o node lock */ 164 unsigned int :0; /* end of bitfields c/o node lock */ 171 typedef isc_result_t (*dns_rbtfindcallback_t)(dns_rbtnode_t *node, 1085 dns_rbtnode_refincrement0(dns_rbtnode_t *node, unsigned int *refs) argument 1092 dns_rbtnode_refincrement(dns_rbtnode_t *node, unsigned int *refs) argument 1100 dns_rbtnode_refdecrement(dns_rbtnode_t *node, unsigned int *refs) argument [all...] |
H A D | lookup.h | 63 dns_dbnode_t *node; member in struct:dns_lookupevent
|
H A D | ncache.h | 54 dns_ncache_add(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, 59 dns_dbnode_t *node, dns_rdatatype_t covers, 64 * rdataset, and store it in 'cache' at 'node' with a TTL limited to 85 *\li The requirements of dns_db_addrdataset() apply to 'cache', 'node',
|
H A D | nsec.h | 27 dns_dbnode_t *node, dns_name_t *target, 43 dns_nsec_build(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node,
|
/bind-9.11.3/lib/dns/ |
H A D | rbt.c | 146 serialize_node(FILE *file, dns_rbtnode_t *node, uintptr_t left, 151 serialize_nodes(FILE *file, dns_rbtnode_t *node, uintptr_t parent, 160 getparent(dns_rbtnode_t *node, file_header_t *header) { argument 161 char *adjusted_address = (char *)(node->parent); 162 adjusted_address += node->parent_is_relative * (uintptr_t)header; 168 getleft(dns_rbtnode_t *node, file_header_t *header) { argument 169 char *adjusted_address = (char *)(node->left); 170 adjusted_address += node->left_is_relative * (uintptr_t)header; 176 getright(dns_rbtnode_t *node, file_header_t *header) { argument 177 char *adjusted_address = (char *)(node 184 getdown(dns_rbtnode_t *node, file_header_t *header) argument 192 getdata(dns_rbtnode_t *node, file_header_t *header) argument 276 NODENAME(dns_rbtnode_t *node, dns_name_t *name) argument 286 dns_rbtnode_nodename(dns_rbtnode_t *node, dns_name_t *name) argument 312 Name(dns_rbtnode_t *node) argument 353 get_upper_node(dns_rbtnode_t *node) argument 358 fixup_uppernodes_helper(dns_rbtnode_t *node, dns_rbtnode_t *uppernode) argument 366 fixup_uppernodes_helper(DOWN(node), node); local 382 get_subtree_root(dns_rbtnode_t *node) argument 394 get_upper_node(dns_rbtnode_t *node) argument 408 dns__rbtnode_getdistance(dns_rbtnode_t *node) argument 565 serialize_node(FILE *file, dns_rbtnode_t *node, uintptr_t left, uintptr_t right, uintptr_t down, uintptr_t parent, uintptr_t data, isc_uint64_t *crc) argument 646 serialize_nodes(FILE *file, dns_rbtnode_t *node, uintptr_t parent, dns_rbtdatawriter_t datawriter, void *writer_arg, uintptr_t *where, isc_uint64_t *crc) argument 1111 move_chain_to_last(dns_rbtnodechain_t *chain, dns_rbtnode_t *node) argument 1457 dns_rbtnode_t *node; local 1485 dns_rbt_findnode(dns_rbt_t *rbt, const dns_name_t *name, dns_name_t *foundname, dns_rbtnode_t **node, dns_rbtnodechain_t *chain, unsigned int options, dns_rbtfindcallback_t callback, void *callback_arg) argument 2018 dns_rbtnode_t *node = NULL; local 2040 dns_rbtnode_t *node = NULL; local 2112 dns_rbt_deletenode(dns_rbt_t *rbt, dns_rbtnode_t *node, isc_boolean_t recurse) argument 2173 dns_rbt_namefromnode(dns_rbtnode_t *node, dns_name_t *name) argument 2183 dns_rbt_fullnamefromnode(dns_rbtnode_t *node, dns_name_t *name) argument 2210 dns_rbt_formatnodename(dns_rbtnode_t *node, char *printname, unsigned int size) argument 2233 dns_rbtnode_t *node; local 2314 hash_add_node(dns_rbt_t *rbt, dns_rbtnode_t *node, dns_name_t *name) argument 2347 dns_rbtnode_t *node; local 2382 hash_node(dns_rbt_t *rbt, dns_rbtnode_t *node, dns_name_t *name) argument 2392 unhash_node(dns_rbt_t *rbt, dns_rbtnode_t *node) argument 2414 rotate_left(dns_rbtnode_t *node, dns_rbtnode_t **rootp) argument 2446 rotate_right(dns_rbtnode_t *node, dns_rbtnode_t **rootp) argument 2482 addonlevel(dns_rbtnode_t *node, dns_rbtnode_t *current, int order, dns_rbtnode_t **rootp) argument 2824 dns_rbtnode_t *node = *nodep; local 2846 dns_rbtnode_t *node = root; local 2850 dns_rbtnode_t *node = root; local 2854 dns_rbtnode_t *node = root; local 2862 dns_rbtnode_t *node = root; local 2887 getheight_helper(dns_rbtnode_t *node) argument 2909 check_properties_helper(dns_rbtnode_t *node) argument 2952 check_black_distance_helper(dns_rbtnode_t *node, size_t *distance) argument 3031 printnodename(dns_rbtnode_t *node, isc_boolean_t quoted, FILE *f) argument 3112 print_dot_helper(dns_rbtnode_t *node, unsigned int *nodecount, isc_boolean_t show_pointers, FILE *f) argument 3198 dns_rbtnodechain_current(dns_rbtnodechain_t *chain, dns_name_t *name, dns_name_t *origin, dns_rbtnode_t **node) argument [all...] |
H A D | compress.c | 60 dns_compressnode_t *node; local 68 node = cctx->table[i]; 70 if ((node->offset & 0x8000) != 0) 71 isc_mem_put(cctx->mctx, node->r.base, 72 node->r.length); 73 if (node->count < DNS_COMPRESS_INITIALNODES) 75 isc_mem_put(cctx->mctx, node, sizeof(*node)); 127 #define NODENAME(node, name) \ 129 (name)->length = (node) 145 dns_compressnode_t *node = NULL; local 216 dns_compressnode_t *node; local 298 dns_compressnode_t *node; local [all...] |
H A D | iptable.c | 68 isc_radix_node_t *node = NULL; local 76 result = isc_radix_insert(tab->radix, &node, NULL, &pfx); 82 /* If a node already contains data, don't overwrite it */ 87 if (node->data[i] == NULL) 88 node->data[i] = pos ? &dns_iptable_pos 94 if (node->data[offset] == NULL) { 95 node->data[offset] = pos ? &dns_iptable_pos 111 isc_radix_node_t *node, *new_node; local 114 RADIX_WALK (source->radix->head, node) { 116 result = isc_radix_insert (tab->radix, &new_node, node, NUL [all...] |
H A D | ecdb.c | 207 dns_ecdbnode_t *node = (dns_ecdbnode_t *)source; local 210 REQUIRE(VALID_ECDBNODE(node)); 213 LOCK(&node->lock); 214 INSIST(node->references > 0); 215 node->references++; 216 INSIST(node->references != 0); /* Catch overflow. */ 217 UNLOCK(&node->lock); 219 *targetp = node; 223 destroynode(dns_ecdbnode_t *node) { argument 225 dns_ecdb_t *ecdb = node 261 dns_ecdbnode_t *node; local 334 dns_ecdbnode_t *node; local 386 bind_rdataset(dns_ecdb_t *ecdb, dns_ecdbnode_t *node, rdatasetheader_t *header, dns_rdataset_t *rdataset) argument 425 addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *addedrdataset) argument 487 deleterdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers) argument 511 allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) argument 651 dns_dbnode_t *node = rdataset->private2; local 736 dns_dbnode_t *node = source->private2; local [all...] |
H A D | sdb.c | 141 static isc_result_t findrdataset(dns_db_t *db, dns_dbnode_t *node, 149 static void destroynode(dns_sdbnode_t *node); 155 dns_db_t *db, dns_dbnode_t *node, 654 dns_sdbnode_t *node; local 657 node = isc_mem_get(sdb->common.mctx, sizeof(dns_sdbnode_t)); 658 if (node == NULL) 661 node->sdb = NULL; 662 attach((dns_db_t *)sdb, (dns_db_t **)&node->sdb); 663 ISC_LIST_INIT(node->lists); 664 ISC_LIST_INIT(node 681 destroynode(dns_sdbnode_t *node) argument 724 dns_sdbnode_t *node = NULL; local 814 dns_dbnode_t *node = NULL; local 1004 dns_sdbnode_t *node = (dns_sdbnode_t *)source; local 1022 dns_sdbnode_t *node; local 1046 expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) argument 1055 printnode(dns_db_t *db, dns_dbnode_t *node, FILE *out) argument 1111 findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers, isc_stdtime_t now, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument 1145 allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) argument 1173 addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *addedrdataset) argument 1189 subtractrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *newrdataset) argument 1204 deleterdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers) argument 1388 dns_dbnode_t *node = rdataset->private5; local 1398 dns_dbnode_t *node = source->private5; local 1430 list_tordataset(dns_rdatalist_t *rdatalist, dns_db_t *db, dns_dbnode_t *node, dns_rdataset_t *rdataset) argument 1458 dns_sdbnode_t *node; local [all...] |
H A D | rriterator.c | 44 it->node = NULL; 65 if (it->node != NULL) 66 dns_db_detachnode(it->db, &it->node); 70 * The top node may be empty when out of zone glue exists. 71 * Walk the tree to find the first node with data. 74 it->result = dns_dbiterator_current(it->dbit, &it->node, 79 it->result = dns_db_allrdatasets(it->db, it->node, it->ver, 87 * This node is empty. Try next node. 90 dns_db_detachnode(it->db, &it->node); [all...] |
H A D | keytable.c | 53 free_keynode(void *node, void *arg) { argument 54 dns_keynode_t *keynode = node; 167 dns_rbtnode_t *node; local 180 node = NULL; 181 result = dns_rbt_addnode(keytable->table, keyname, &node); 187 for (k = node->data; k != NULL; k = k->next) { 205 knode->next = node->data; 211 node->data = knode; 243 dns_rbtnode_t *node = NULL; local 249 result = dns_rbt_findnode(keytable->table, keyname, NULL, &node, NUL 268 dns_rbtnode_t *node = NULL; local 332 dns_rbtnode_t *node = NULL; local 530 dns_rbtnode_t *node = NULL; local 604 dns_rbtnode_t *node; local 653 dns_rbtnode_t *node; local 742 dns_keynode_t *node = *keynode; local 756 dns_keynode_t *next = NULL, *node = *keynode; local [all...] |
H A D | rbtdb.c | 354 * Since node locking is sensitive to both performance and memory footprint, 357 * node lock and isc_refcount for node references. In this case, we don't have 359 * Otherwise, we simply use ordinary mutex lock for node locking, and use 363 * counters first and then protect other parts of a node as read-only data. 428 * Locked by the owning node's lock. 472 dns_rbtnode_t *node; member in struct:rdatasetheader 510 dns_dbnode_t *node; member in struct:acache_cbarg 592 dns_rbtnode_t * node; member in struct:rbtdb_changed 784 dns_dbnode_t *node, 922 dns_rbtnode_t *node; member in struct:rbtdb_dbiterator 1235 dns_rbtnode_t *node; local 1569 add_changed(dns_rbtdb_t *rbtdb, rbtdb_version_t *version, dns_rbtnode_t *node) argument 1746 rollback_node(dns_rbtnode_t *node, rbtdb_serial_t serial) argument 1812 clean_cache_node(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node) argument 1841 clean_zone_node(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node, rbtdb_serial_t least_serial) argument 1967 delete_node(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node) argument 2076 new_reference(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node) argument 2100 dns_rbtnode_t *node; local 2154 reactivate_node(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node, isc_rwlocktype_t treelocktype) argument 2211 decrement_reference(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node, rbtdb_serial_t least_serial, isc_rwlocktype_t nlock, isc_rwlocktype_t tlock, isc_boolean_t pruning) argument 2401 dns_rbtnode_t *node = event->ev_arg; local 2557 dns_rbtnode_t *node; local 2966 dns_rbtnode_t *node = NULL; local 2995 dns_rbtnode_t *node = NULL; /* dummy */ local 3017 dns_rbtnode_t *node = NULL; local 3133 zone_zonecut_callback(dns_rbtnode_t *node, dns_name_t *name, void *arg) argument 3277 bind_rdataset(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node, rdatasetheader_t *header, isc_stdtime_t now, dns_rdataset_t *rdataset) argument 3354 dns_rbtnode_t *node; local 3404 valid_glue(rbtdb_search_t *search, dns_name_t *name, rbtdb_rdatatype_t type, dns_rbtnode_t *node) argument 3478 dns_rbtnode_t *node; local 3532 dns_rbtnode_t *node; local 3640 dns_rbtnode_t *node, *level_node, *wnode; local 3955 dns_rbtnode_t *node, *prevnode; local 4141 dns_rbtnode_t *node = NULL; local 4666 check_stale_header(dns_rbtnode_t *node, rdatasetheader_t *header, isc_rwlocktype_t *locktype, nodelock_t *lock, rbtdb_search_t *search, rdatasetheader_t **header_prev) argument 4726 cache_zonecut_callback(dns_rbtnode_t *node, dns_name_t *name, void *arg) argument 4794 find_deepest_zonecut(rbtdb_search_t *search, dns_rbtnode_t *node, dns_dbnode_t **nodep, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument 4932 dns_rbtnode_t *node; local 5053 dns_rbtnode_t *node = NULL; local 5367 dns_rbtnode_t *node = NULL; local 5507 dns_rbtnode_t *node = (dns_rbtnode_t *)source; local 5524 dns_rbtnode_t *node; local 5571 expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) argument 5669 printnode(dns_db_t *db, dns_dbnode_t *node, FILE *out) argument 5756 zone_findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers, isc_stdtime_t now, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument 5843 cache_findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers, isc_stdtime_t now, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument 5938 allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) argument 5993 cname_and_other_data(dns_rbtnode_t *node, rbtdb_serial_t serial) argument 6643 delegating_type(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node, rbtdb_rdatatype_t type) argument 6763 addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *addedrdataset) argument 6972 subtractrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *newrdataset) argument 7183 deleterdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers) argument 7247 dns_rbtnode_t *nsecnode = NULL, *node = NULL; local 7362 dns_rbtnode_t *node; local 8263 dns_rbtnode_t *node; local 8319 nodefullname(dns_db_t *db, dns_dbnode_t *node, dns_name_t *name) argument 8796 dns_dbnode_t *node = rdataset->private2; local 8911 dns_dbnode_t *node = source->private2; local 8941 dns_dbnode_t *node = rdataset->private2; local 8987 dns_dbnode_t *node = rdataset->private2; local 9251 dns_rbtnode_t *node = rbtdbiter->node; local 9263 dns_rbtnode_t *node = rbtdbiter->node; local 9280 dns_rbtnode_t *node; local 9524 dns_rbtnode_t *node = NULL; local 9650 dns_rbtnode_t *node = rbtdbiter->node; local 9896 rdataset_setadditional(dns_rdataset_t *rdataset, dns_rdatasetadditional_t type, dns_rdatatype_t qtype, dns_acache_t *acache, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, dns_name_t *fname) argument [all...] |
H A D | sdlz.c | 189 dns_db_t *db, dns_dbnode_t *node, 265 detachnode(sdlziterator->common.db, &sdlziterator->common.node); 274 dns_sdlznode_t *sdlznode = (dns_sdlznode_t *)iterator->node; 297 list_tordataset(sdlziterator->current, iterator->db, iterator->node, 465 dns_sdlznode_t *node; local 468 node = isc_mem_get(sdlz->common.mctx, sizeof(dns_sdlznode_t)); 469 if (node == NULL) 472 node->sdlz = NULL; 473 attach((dns_db_t *)sdlz, (dns_db_t **)&node->sdlz); 474 ISC_LIST_INIT(node 495 destroynode(dns_sdlznode_t *node) argument 540 dns_sdlznode_t *node = NULL; local 728 dns_sdlznode_t *node = (dns_sdlznode_t *)source; local 746 dns_sdlznode_t *node; local 770 expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) argument 779 printnode(dns_db_t *db, dns_dbnode_t *node, FILE *out) argument 848 findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers, isc_stdtime_t now, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument 889 dns_dbnode_t *node = NULL; local 1062 allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) argument 1095 modrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdataset_t *rdataset, unsigned int options, dns_sdlzmodrdataset_t mod_function) argument 1160 addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *addedrdataset) argument 1181 subtractrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *newrdataset) argument 1201 deleterdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers) argument 1342 dns_sdlznode_t *node; local 1442 dns_dbnode_t *node = rdataset->private5; local 1452 dns_dbnode_t *node = source->private5; local 1484 list_tordataset(dns_rdatalist_t *rdatalist, dns_db_t *db, dns_dbnode_t *node, dns_rdataset_t *rdataset) argument [all...] |
H A D | nta.c | 216 if (devent->node != NULL) 217 dns_db_detachnode(devent->db, &devent->node); 346 dns_rbtnode_t *node; local 362 node = NULL; 363 result = dns_rbt_addnode(ntatable->table, name, &node); 367 node->data = nta; 370 dns_nta_t *n = node->data; 374 node->data = nta; 397 dns_rbtnode_t *node = NULL; local 402 result = dns_rbt_findnode(ntatable->table, name, NULL, &node, NUL 433 dns_rbtnode_t *node; local 514 dns_rbtnode_t *node; local 655 dns_rbtnode_t *node; local [all...] |
H A D | nsec3.c | 52 dns_dbnode_t *node, unsigned int hashalg, 111 if (node == NULL) 115 result = dns_db_allrdatasets(db, node, version, 0, &rdsiter); 132 * this node. We set the RRSIG bit if either of 239 /* hash the node name */ 330 dns_dbnode_t *node = NULL; local 333 result = dns_db_findnode(db, name, ISC_FALSE, &node); 341 result = dns_db_allrdatasets(db, node, version, 357 dns_db_detachnode(db, &node); 381 dns_dbnode_t *node local 51 dns_nsec3_buildrdata(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, unsigned int hashalg, unsigned int flags, unsigned int iterations, const unsigned char *salt, size_t salt_length, const unsigned char *nexthash, size_t hash_length, unsigned char *buffer, dns_rdata_t *rdata) argument 504 dns_dbnode_t *node = NULL; local 865 dns_dbnode_t *node = NULL; local 972 dns_dbnode_t *node = NULL; local 1051 dns_dbnode_t *node = NULL; local 1177 dns_dbnode_t *node = NULL; local 1316 dns_dbnode_t *node = NULL; local 1583 dns_dbnode_t *node = NULL; local 1686 dns_dbnode_t *node = NULL; local 1781 dns_dbnode_t *node = NULL; local [all...] |
/bind-9.11.3/lib/isc/tests/ |
H A D | radix_test.c | 30 isc_radix_node_t *node; local 48 node = NULL; 49 result = isc_radix_insert(radix, &node, NULL, &prefix); 51 node->data[0] = (void *)1; 58 node = NULL; 59 result = isc_radix_insert(radix, &node, NULL, &prefix); 61 node->data[0] = (void *)2; 68 node = NULL; 69 result = isc_radix_search(radix, &node, &prefix); 71 ATF_REQUIRE_EQ(node [all...] |
/bind-9.11.3/lib/dns/tests/ |
H A D | rbt_test.c | 93 /* These are set as the node data for the tree used in distances check 298 dns_rbtnode_t *node = NULL; local 316 &node, &chain, 0, NULL, NULL); 319 while (node != NULL) { 320 const size_t *distance = (const size_t *) node->data; 323 dns__rbtnode_getdistance(node)); 327 dns_rbtnodechain_current(&chain, NULL, NULL, &node); 347 * path from a sub-tree's root to a node is no more than 369 /* Make a large 65536 node top-level domain tree, i.e., the 406 /* 1 (root . node) 496 insert_helper(dns_rbt_t *rbt, const char *namestr, dns_rbtnode_t **node) argument 507 compare_labelsequences(dns_rbtnode_t *node, const char *labelstr) argument 533 dns_rbtnode_t *node; local 716 dns_rbtnode_t *node; local 897 dns_rbtnode_t *node; local 947 isc_uint32_t node; local 1102 dns_rbtnode_t *node; local 1132 dns_rbtnode_t *node; local [all...] |
H A D | db_test.c | 46 dns_dbnode_t *node = NULL; local 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);
|
H A D | dbversion_test.c | 228 dns_dbnode_t *node = NULL; local 236 result = dns_db_findnode(db1, dns_rootname, ISC_FALSE, &node); 240 result = dns_db_allrdatasets(db1, node, VERSION(callback), 0, 249 dns_db_detachnode(db1, &node); 250 ATF_REQUIRE_EQ(node, NULL); 284 dns_dbnode_t *node = NULL; local 294 result = dns_db_findnode(db1, dns_rootname, ISC_FALSE, &node); 298 result = dns_db_findrdataset(db1, node, VERSION(callback), 304 dns_db_detachnode(db1, &node); 305 ATF_REQUIRE_EQ(node, NUL 339 dns_dbnode_t *node = NULL; local 394 dns_dbnode_t *node = NULL; local 504 dns_dbnode_t *node = NULL; local 614 dns_dbnode_t *node = NULL; local [all...] |
/bind-9.11.3/bin/tests/ |
H A D | nsecify.c | 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); 72 * Make sure there is no NSEC record for this node. 74 result = dns_db_deleterdataset(db, node, version, 111 dns_dbnode_t *node, *nextnode; local 152 node = NULL; 153 result = next_active(db, wversion, dbiter, name, &node); 168 dns_nsec_build(db, wversion, node, target, 3600); /* XXX BEW */ 169 dns_db_detachnode(db, &node); 170 node [all...] |
/bind-9.11.3/bin/dnssec/ |
H A D | dnssec-signzone.c | 118 dns_dbnode_t *node; member in struct:signer_event 192 dumpnode(dns_name_t *name, dns_dbnode_t *node) { argument 204 result = dns_master_dumpnodetostream(mctx, gdb, gversion, node, 210 result = dns_db_allrdatasets(gdb, node, gversion, 0, &iter); 472 signset(dns_diff_t *del, dns_diff_t *add, dns_dbnode_t *node, dns_name_t *name, argument 496 result = dns_db_findrdataset(gdb, node, gversion, dns_rdatatype_rrsig, 845 dns_dbnode_t *node = NULL; local 857 result = dns_db_findnode(gdb, wild, ISC_FALSE, &node); 859 dns_db_detachnode(gdb, &node); 919 dns_dbnode_t *node local 1016 secure(dns_name_t *name, dns_dbnode_t *node) argument 1036 signname(dns_dbnode_t *node, dns_name_t *name) argument 1116 active_node(dns_dbnode_t *node) argument 1263 dns_dbnode_t *node = NULL; local 1339 cleannode(dns_db_t *db, dns_dbversion_t *dbversion, dns_dbnode_t *node) argument 1401 dns_dbnode_t *node = NULL; local 1432 dns_dbnode_t *node; local 1574 dns_dbnode_t *node; local 1597 add_ds(dns_name_t *name, dns_dbnode_t *node, isc_uint32_t nsttl) argument 1635 remove_records(dns_dbnode_t *node, dns_rdatatype_t which, isc_boolean_t checknsec) argument 1681 remove_sigs(dns_dbnode_t *node, isc_boolean_t delegation, dns_rdatatype_t which) argument 1725 dns_dbnode_t *node = NULL, *nextnode = NULL; local 1856 dns_dbnode_t *node = NULL; local 1910 addnsec3(dns_name_t *name, dns_dbnode_t *node, const unsigned char *salt, size_t salt_len, unsigned int iterations, hashlist_t *hashlist, dns_ttl_t ttl) argument 1975 nsec3clean(dns_name_t *name, dns_dbnode_t *node, unsigned int hashalg, unsigned int iterations, const unsigned char *salt, size_t salt_len, hashlist_t *hashlist) argument 2144 dns_dbnode_t *node = NULL; local 2200 dns_dbnode_t *node = NULL, *nextnode = NULL; local 2482 dns_dbnode_t *node; local 2649 dns_dbnode_t *node = NULL; local 2704 dns_dbnode_t *node = NULL; local [all...] |
/bind-9.11.3/bin/tests/system/dyndb/driver/ |
H A D | db.c | 52 * Get full DNS name from the node. 55 * The code silently expects that "node" came from RBTDB and thus 61 sample_name_fromnode(dns_dbnode_t *node, dns_name_t *name) { argument 62 dns_rbtnode_t *rbtnode = (dns_rbtnode_t *) node; 253 expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) { argument 258 return (dns_db_expirenode(sampledb->rbtdb, node, now)); 262 printnode(dns_db_t *db, dns_dbnode_t *node, FILE *out) { argument 267 dns_db_printnode(sampledb->rbtdb, node, out); 282 findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, argument 290 return (dns_db_findrdataset(sampledb->rbtdb, node, versio 295 allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) argument 307 addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *addedrdataset) argument 332 subtractrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *newrdataset) argument 364 deleterdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers) argument 646 dns_dbnode_t *node = NULL; local 676 dns_dbnode_t *node = NULL; local 714 dns_dbnode_t *node = NULL; local [all...] |
/bind-9.11.3/lib/isc/include/isc/ |
H A D | radix.h | 76 * An IPv4 prefix and an IPv6 prefix may share a radix tree node if they 78 * a node that matches a client address may also match an EDNS client 102 int node_num[4]; /* which node this was in the tree, 123 * Return the node found in '*target'. 140 * Return the node added in 'target'. 154 isc_radix_remove(isc_radix_tree_t *radix, isc_radix_node_t *node); 156 * Remove the node 'node' from the radix tree 'radix'. 160 * \li 'node' to be valid. 181 * Destroy a radix tree optionally calling 'func' to clean up node dat [all...] |