Lines Matching refs:nsec3

54 #include <dns/nsec3.h>
453 dns_rbt_t * nsec3;
902 if (rbtdb->nsec3 != NULL) {
904 result = dns_rbt_destroy2(&rbtdb->nsec3, rbtdb->quantum);
922 INSIST(result == ISC_R_SUCCESS && rbtdb->nsec3 == NULL);
1528 if (node->nsec3)
1529 result = dns_rbt_deletenode(rbtdb->nsec3, node,
1795 if (node->nsec3)
1796 result = dns_rbt_deletenode(rbtdb->nsec3, node,
2012 * Cache the nsec3 parameters.
2436 node->nsec3 = 0;
2464 node->nsec3 = 0;
2480 INSIST(tree == rbtdb->tree || tree == rbtdb->nsec3);
2510 node->nsec3 = 0;
2523 if (tree == rbtdb->nsec3)
2524 node->nsec3 = 1;
2531 if (tree == rbtdb->nsec3)
2532 INSIST(node->nsec3 == 1);
2561 return (findnodeintree(rbtdb, rbtdb->nsec3, name, create, nodep));
3225 dns_rdata_nsec3_t nsec3;
3252 result = dns_rdata_tostruct(&rdata, &nsec3, NULL);
3254 if (nsec3.hash == search->rbtversion->hash &&
3255 nsec3.iterations == search->rbtversion->iterations &&
3256 nsec3.salt_length == search->rbtversion->salt_length &&
3257 memcmp(nsec3.salt, search->rbtversion->salt,
3258 nsec3.salt_length) == 0)
3285 if (tree == search->rbtdb->nsec3) {
3504 tree = (options & DNS_DBFIND_FORCENSEC3) != 0 ? search.rbtdb->nsec3 :
6050 REQUIRE(((rbtnode->nsec3 &&
6053 (!rbtnode->nsec3 &&
6210 REQUIRE(((rbtnode->nsec3 &&
6213 (!rbtnode->nsec3 &&
6479 result = dns_rbt_addnode(rbtdb->nsec3, name, &node);
6481 node->nsec3 = 1;
6485 node->nsec3 = 0;
7165 result = dns_rbt_create(mctx, delete_callback, rbtdb, &rbtdb->nsec3);
7195 rbtdb->origin_node->nsec3 = 0;
7216 result = dns_rbt_addnode(rbtdb->nsec3, &rbtdb->common.origin,
7223 nsec3node->nsec3 = 1;
7225 * We need to give the nsec3 origin node the right locknum.
7915 rbtdb->nsec3, name, origin);
7923 rbtdb->nsec3, name,
7969 rbtdb->nsec3, name, origin);
8017 result = dns_rbt_findnode(rbtdb->nsec3, name, NULL,
8038 tresult = dns_rbt_findnode(rbtdb->nsec3, name, NULL,
8154 rbtdb->nsec3, name, origin);