Lines Matching defs:tuple
4023 do_one_tuple(dns_difftuple_t **tuple, dns_db_t *db, dns_dbversion_t *ver,
4033 ISC_LIST_APPEND(temp_diff.tuples, *tuple, link);
4039 ISC_LIST_UNLINK(temp_diff.tuples, *tuple, link);
4041 dns_difftuple_free(tuple);
4048 dns_diff_appendminimal(diff, tuple);
4061 dns_difftuple_t *tuple = NULL;
4064 name, ttl, rdata, &tuple);
4067 return (do_one_tuple(&tuple, db, ver, diff));
7324 dns_difftuple_t *tuple;
7327 for (tuple = ISC_LIST_HEAD(diff->tuples);
7328 tuple != NULL;
7329 tuple = ISC_LIST_HEAD(diff->tuples)) {
7330 result = del_sigs(zone, db, version, &tuple->name,
7331 tuple->rdata.type, zonediff,
7339 result = add_sigs(db, version, &tuple->name,
7340 tuple->rdata.type, zonediff->diff,
7351 dns_difftuple_t *next = ISC_LIST_NEXT(tuple, link);
7353 (tuple->rdata.type != next->rdata.type ||
7354 !dns_name_equal(&tuple->name, &next->name)))
7356 ISC_LIST_UNLINK(diff->tuples, tuple, link);
7357 dns_diff_appendminimal(zonediff->diff, &tuple);
7358 INSIST(tuple == NULL);
7359 tuple = next;
7360 } while (tuple != NULL);
13914 dns_difftuple_t *tuple = NULL;
13973 &tuple));
13974 dns_diff_appendminimal(diff, &tuple);
13991 dns_difftuple_t *tuple = NULL, *next;
14010 for (tuple = ISC_LIST_HEAD(diff->tuples);
14011 tuple != NULL;
14012 tuple = next)
14014 next = ISC_LIST_NEXT(tuple, link);
14015 if (tuple->rdata.type == dns_rdatatype_nsec ||
14016 tuple->rdata.type == dns_rdatatype_rrsig ||
14017 tuple->rdata.type == dns_rdatatype_dnskey ||
14018 tuple->rdata.type == dns_rdatatype_nsec3 ||
14019 tuple->rdata.type == dns_rdatatype_nsec3param)
14021 ISC_LIST_UNLINK(diff->tuples, tuple, link);
14022 dns_difftuple_free(&tuple);
14025 if (tuple->rdata.type == dns_rdatatype_soa) {
14026 if (tuple->op == DNS_DIFFOP_DEL) {
14028 oldtuple = tuple;
14030 if (tuple->op == DNS_DIFFOP_ADD) {
14032 newtuple = tuple;
14090 dns_difftuple_t *tuple = NULL, *soatuple = NULL;
14204 DNS_DIFFOP_DEL, &tuple));
14205 oldserial = dns_soa_getserial(&tuple->rdata);
14214 CHECK(do_one_tuple(&tuple, zone->rss_db,
14275 if (tuple != NULL)
14276 dns_difftuple_free(&tuple);
17482 dns_difftuple_t *tuple, *newtuple = NULL;
17492 for (tuple = ISC_LIST_HEAD(diff->tuples);
17493 tuple != NULL;
17494 tuple = ISC_LIST_NEXT(tuple, link)) {
17495 if (tuple->rdata.type != dns_rdatatype_dnskey)
17498 result = dns_rdata_tostruct(&tuple->rdata, &dnskey, NULL);
17505 dns_rdata_toregion(&tuple->rdata, &r);
17512 buf[3] = (tuple->op == DNS_DIFFOP_ADD) ? 0 : 1;
17517 rdata.rdclass = tuple->rdata.rdclass;
17519 if (sign_all || tuple->op == DNS_DIFFOP_DEL) {
17555 dns_difftuple_t *tuple;
17577 for (tuple = ISC_LIST_HEAD(diff->tuples);
17578 tuple != NULL;
17579 tuple = ISC_LIST_NEXT(tuple, link)) {
17580 if (tuple->rdata.type == dns_rdatatype_dnskey &&
17581 dns_name_equal(&tuple->name, &zone->origin))
17585 if (tuple == NULL) {
17634 dns_difftuple_t *tuple;
17639 for (tuple = ISC_LIST_HEAD(diff->tuples);
17640 tuple != NULL;
17641 tuple = ISC_LIST_NEXT(tuple, link)) {
17643 if (tuple->rdata.type != dns_rdatatype_dnskey ||
17644 tuple->op != DNS_DIFFOP_ADD)
17647 alg = tuple->rdata.data[3];
17930 dns_difftuple_t *tuple;
18012 for (tuple = ISC_LIST_HEAD(zonediff.diff->tuples);
18013 tuple != NULL;
18014 tuple = ISC_LIST_NEXT(tuple, link)) {
18019 if (tuple->rdata.type != zone->privatetype ||
18020 tuple->op != DNS_DIFFOP_ADD)
18023 if (!dns_nsec3param_fromprivate(&tuple->rdata, &rdata,