Lines Matching refs:rdataset

34 #include <dns/rdataset.h>
59 dns_rdataset_t rdataset;
113 dns_rdataset_init(&rdataset);
123 dns_rdatasetiter_current(rdsiter, &rdataset);
124 if (rdataset.type != dns_rdatatype_nsec &&
125 rdataset.type != dns_rdatatype_nsec3 &&
126 rdataset.type != dns_rdatatype_rrsig) {
127 if (rdataset.type > max_type)
128 max_type = rdataset.type;
129 dns_nsec_setbit(bm, rdataset.type, 1);
139 if (rdataset.type == dns_rdatatype_soa ||
140 rdataset.type == dns_rdatatype_ds)
142 else if (rdataset.type == dns_rdatatype_ns)
147 dns_rdataset_disassociate(&rdataset);
384 dns_rdataset_t rdataset;
393 dns_rdataset_init(&rdataset);
395 (isc_stdtime_t) 0, &rdataset, NULL);
404 for (result = dns_rdataset_first(&rdataset);
406 result = dns_rdataset_next(&rdataset))
409 dns_rdataset_current(&rdataset, &rdata);
416 rdataset.ttl, &rdata, &tuple);
428 dns_rdataset_disassociate(&rdataset);
437 dns_rdataset_t rdataset;
443 dns_rdataset_init(&rdataset);
444 dns_rdataset_clone(nsec3paramset, &rdataset);
445 for (result = dns_rdataset_first(&rdataset);
447 result = dns_rdataset_next(&rdataset)) {
451 if (rdataset.type != dns_rdatatype_nsec3param) {
453 dns_rdataset_current(&rdataset, &tmprdata);
458 dns_rdataset_current(&rdataset, &rdata);
470 dns_rdataset_disassociate(&rdataset);
474 dns_rdataset_disassociate(&rdataset);
479 find_nsec3(dns_rdata_nsec3_t *nsec3, dns_rdataset_t *rdataset,
483 for (result = dns_rdataset_first(rdataset);
485 result = dns_rdataset_next(rdataset)) {
488 dns_rdataset_current(rdataset, &rdata);
516 dns_rdataset_t rdataset;
538 dns_rdataset_init(&rdataset);
578 0, (isc_stdtime_t) 0, &rdataset, NULL);
584 result = find_nsec3(&nsec3, &rdataset, nsec3param);
591 dns_rdataset_disassociate(&rdataset);
608 dns_rdataset_disassociate(&rdataset);
628 (isc_stdtime_t) 0, &rdataset,
634 result = find_nsec3(&nsec3, &rdataset, nsec3param);
636 dns_rdataset_disassociate(&rdataset);
643 dns_rdataset_disassociate(&rdataset);
661 dns_rdataset_disassociate(&rdataset);
680 CHECK(dns_rdata_fromstruct(&rdata, rdataset.rdclass,
684 rdataset.ttl, &rdata, &tuple));
691 dns_rdataset_disassociate(&rdataset);
744 (isc_stdtime_t) 0, &rdataset,
747 result = find_nsec3(&nsec3, &rdataset, nsec3param);
748 dns_rdataset_disassociate(&rdataset);
773 &rdataset, NULL);
777 result = find_nsec3(&nsec3, &rdataset, nsec3param);
779 dns_rdataset_disassociate(&rdataset);
800 CHECK(dns_rdata_fromstruct(&rdata, rdataset.rdclass,
804 prev, rdataset.ttl, &rdata,
812 dns_rdataset_disassociate(&rdataset);
847 if (dns_rdataset_isassociated(&rdataset))
848 dns_rdataset_disassociate(&rdataset);
867 dns_rdataset_t rdataset;
870 dns_rdataset_init(&rdataset);
881 &rdataset, NULL);
891 for (result = dns_rdataset_first(&rdataset);
893 result = dns_rdataset_next(&rdataset)) {
896 dns_rdataset_current(&rdataset, &rdata);
911 if (dns_rdataset_isassociated(&rdataset))
912 dns_rdataset_disassociate(&rdataset);
971 dns_rdataset_t rdataset;
975 dns_rdataset_init(&rdataset);
981 (isc_stdtime_t) 0, &rdataset, NULL);
988 for (result = dns_rdataset_first(&rdataset);
990 result = dns_rdataset_next(&rdataset)) {
992 dns_rdataset_current(&rdataset, &myrdata);
996 dns_rdataset_disassociate(&rdataset);
1055 dns_rdataset_t rdataset;
1063 dns_rdataset_init(&rdataset);
1073 0, (isc_stdtime_t) 0, &rdataset, NULL);
1079 for (result = dns_rdataset_first(&rdataset);
1081 result = dns_rdataset_next(&rdataset)) {
1084 dns_rdataset_current(&rdataset, &rdata);
1087 rdataset.ttl, &rdata, &tuple));
1111 dns_rdataset_disassociate(&rdataset);
1117 (isc_stdtime_t) 0, &rdataset, NULL);
1123 for (result = dns_rdataset_first(&rdataset);
1125 result = dns_rdataset_next(&rdataset)) {
1127 dns_rdataset_current(&rdataset, &rdata);
1165 if (dns_rdataset_isassociated(&rdataset))
1166 dns_rdataset_disassociate(&rdataset);
1179 dns_rdataset_t rdataset;
1183 dns_rdataset_init(&rdataset);
1200 &rdataset, NULL);
1209 for (result = dns_rdataset_first(&rdataset);
1211 result = dns_rdataset_next(&rdataset)) {
1214 dns_rdataset_current(&rdataset, &rdata);
1229 dns_rdataset_disassociate(&rdataset);
1265 if (dns_rdataset_isassociated(&rdataset))
1266 dns_rdataset_disassociate(&rdataset);
1327 dns_rdataset_t rdataset;
1345 dns_rdataset_init(&rdataset);
1377 0, (isc_stdtime_t) 0, &rdataset, NULL);
1388 result = find_nsec3(&nsec3, &rdataset, nsec3param);
1394 dns_rdataset_disassociate(&rdataset);
1414 (isc_stdtime_t) 0, &rdataset,
1419 result = find_nsec3(&nsec3, &rdataset, nsec3param);
1421 dns_rdataset_disassociate(&rdataset);
1440 CHECK(dns_rdata_fromstruct(&rdata, rdataset.rdclass,
1444 rdataset.ttl, &rdata, &tuple));
1447 dns_rdataset_disassociate(&rdataset);
1483 (isc_stdtime_t) 0, &rdataset,
1491 result = find_nsec3(&nsec3, &rdataset, nsec3param);
1497 dns_rdataset_disassociate(&rdataset);
1515 &rdataset, NULL);
1519 result = find_nsec3(&nsec3, &rdataset, nsec3param);
1521 dns_rdataset_disassociate(&rdataset);
1539 CHECK(dns_rdata_fromstruct(&rdata, rdataset.rdclass,
1543 prev, rdataset.ttl, &rdata,
1547 dns_rdataset_disassociate(&rdataset);
1565 if (dns_rdataset_isassociated(&rdataset))
1566 dns_rdataset_disassociate(&rdataset);
1585 dns_rdataset_t rdataset;
1588 dns_rdataset_init(&rdataset);
1599 &rdataset, NULL);
1608 for (result = dns_rdataset_first(&rdataset);
1610 result = dns_rdataset_next(&rdataset)) {
1613 dns_rdataset_current(&rdataset, &rdata);
1623 dns_rdataset_disassociate(&rdataset);
1629 &rdataset, NULL);
1638 for (result = dns_rdataset_first(&rdataset);
1640 result = dns_rdataset_next(&rdataset)) {
1645 dns_rdataset_current(&rdataset, &rdata1);
1653 if (better_param(&rdataset, &rdata2))
1666 if (dns_rdataset_isassociated(&rdataset))
1667 dns_rdataset_disassociate(&rdataset);
1687 dns_rdataset_t rdataset;
1693 dns_rdataset_init(&rdataset);
1701 &rdataset, NULL);
1710 for (result = dns_rdataset_first(&rdataset);
1712 result = dns_rdataset_next(&rdataset)) {
1715 dns_rdataset_current(&rdataset, &rdata);
1722 dns_rdataset_disassociate(&rdataset);
1737 &rdataset, NULL);
1747 for (result = dns_rdataset_first(&rdataset);
1749 result = dns_rdataset_next(&rdataset)) {
1754 dns_rdataset_current(&rdataset, &rdata1);
1764 dns_rdataset_disassociate(&rdataset);
1782 dns_rdataset_t rdataset;
1792 dns_rdataset_init(&rdataset);
1794 0, 0, &rdataset, NULL);
1803 for (result = dns_rdataset_first(&rdataset);
1805 result = dns_rdataset_next(&rdataset)) {
1808 dns_rdataset_current(&rdataset, &rdata);
1811 CHECK(dst_key_fromdns(dns_db_origin(db), rdataset.rdclass,
1830 if (dns_rdataset_isassociated(&rdataset))
1831 dns_rdataset_disassociate(&rdataset);