Lines Matching defs:sigrdataset

137 	 dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset);
142 dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset,
1067 dns_rdataset_t *rdataset, *sigrdataset, *trdataset;
1089 sigrdataset = NULL;
1120 sigrdataset = query_newrdataset(client);
1121 if (sigrdataset == NULL)
1144 sigrdataset);
1146 if (sigrdataset != NULL && !dns_db_issecure(db) &&
1147 dns_rdataset_isassociated(sigrdataset))
1148 dns_rdataset_disassociate(sigrdataset);
1154 if (sigrdataset != NULL && dns_rdataset_isassociated(sigrdataset))
1155 dns_rdataset_disassociate(sigrdataset);
1175 if (sigrdataset == NULL) {
1176 sigrdataset = query_newrdataset(client);
1177 if (sigrdataset == NULL)
1184 sigrdataset);
1186 validate(client, db, fname, rdataset, sigrdataset))
1189 query_putrdataset(client, &sigrdataset);
1195 if (sigrdataset != NULL && dns_rdataset_isassociated(sigrdataset))
1196 dns_rdataset_disassociate(sigrdataset);
1230 sigrdataset);
1265 if (sigrdataset != NULL &&
1266 dns_rdataset_isassociated(sigrdataset))
1268 ISC_LIST_APPEND(fname->list, sigrdataset, link);
1269 sigrdataset = NULL;
1288 if (sigrdataset != NULL) {
1289 if (dns_rdataset_isassociated(sigrdataset))
1290 dns_rdataset_disassociate(sigrdataset);
1292 sigrdataset = query_newrdataset(client);
1293 if (sigrdataset == NULL)
1301 sigrdataset);
1306 if (sigrdataset != NULL &&
1307 dns_rdataset_isassociated(sigrdataset))
1308 dns_rdataset_disassociate(sigrdataset);
1323 if (sigrdataset != NULL &&
1324 dns_rdataset_isassociated(sigrdataset))
1327 sigrdataset, link);
1328 sigrdataset =
1334 if (WANTDNSSEC(client) && sigrdataset == NULL)
1338 if (sigrdataset != NULL &&
1339 dns_rdataset_isassociated(sigrdataset))
1340 dns_rdataset_disassociate(sigrdataset);
1349 sigrdataset);
1354 if (sigrdataset != NULL &&
1355 dns_rdataset_isassociated(sigrdataset))
1356 dns_rdataset_disassociate(sigrdataset);
1371 if (sigrdataset != NULL &&
1372 dns_rdataset_isassociated(sigrdataset))
1375 sigrdataset, link);
1376 sigrdataset = NULL;
1426 if (sigrdataset != NULL)
1427 query_putrdataset(client, &sigrdataset);
1502 dns_rdataset_t *rdataset, *sigrdataset;
1536 sigrdataset = NULL;
1781 sigrdataset = query_newrdataset(client);
1782 if (sigrdataset == NULL)
1796 client->now, rdataset, sigrdataset);
1805 !validate(client, db, fname, rdataset, sigrdataset)) {
1807 if (dns_rdataset_isassociated(sigrdataset))
1808 dns_rdataset_disassociate(sigrdataset);
1815 if (dns_rdataset_isassociated(sigrdataset))
1816 dns_rdataset_disassociate(sigrdataset);
1821 if (dns_rdataset_isassociated(sigrdataset)) {
1822 ISC_LIST_APPEND(cfname.list, sigrdataset, link);
1823 sigrdataset = query_newrdataset(client);
1826 if (sigrdataset == NULL || rdataset == NULL) {
1838 0, client->now, rdataset, sigrdataset);
1847 !validate(client, db, fname, rdataset, sigrdataset)) {
1849 if (dns_rdataset_isassociated(sigrdataset))
1850 dns_rdataset_disassociate(sigrdataset);
1856 if (dns_rdataset_isassociated(sigrdataset)) {
1857 ISC_LIST_APPEND(cfname.list, sigrdataset, link);
1858 sigrdataset = NULL;
1947 if (sigrdataset != NULL)
1948 query_putrdataset(client, &sigrdataset);
2008 dns_rdataset_t *rdataset, *mrdataset, *sigrdataset;
2025 sigrdataset = *sigrdatasetp;
2027 sigrdataset = NULL;
2068 if (sigrdataset != NULL && dns_rdataset_isassociated(sigrdataset)) {
2072 ISC_LIST_APPEND(mname->list, sigrdataset, link);
2085 dns_rdataset_t *rdataset = NULL, *sigrdataset = NULL;
2117 sigrdataset = query_newrdataset(client);
2118 if (sigrdataset == NULL) {
2132 sigrdataset);
2142 fname, rdataset, sigrdataset);
2165 if (sigrdataset != NULL)
2166 sigrdataset->ttl = 0;
2175 if (sigrdataset != NULL && sigrdataset->ttl > soa.minimum)
2176 sigrdataset->ttl = soa.minimum;
2178 if (sigrdataset != NULL)
2179 sigrdatasetp = &sigrdataset;
2188 if (sigrdataset != NULL)
2189 query_putrdataset(client, &sigrdataset);
2204 dns_rdataset_t *rdataset = NULL, *sigrdataset = NULL;
2235 sigrdataset = query_newrdataset(client);
2236 if (sigrdataset == NULL) {
2251 sigrdataset);
2256 fname, rdataset, sigrdataset);
2268 if (sigrdataset != NULL)
2269 sigrdatasetp = &sigrdataset;
2279 if (sigrdataset != NULL)
2280 query_putrdataset(client, &sigrdataset);
2362 dns_rdataset_t *sigrdataset)
2368 sigrdataset->trust = dns_trust_secure;
2379 if (sigrdataset->ttl > ttl)
2380 sigrdataset->ttl = ttl;
2383 if (rdataset->ttl > sigrdataset->ttl)
2384 rdataset->ttl = sigrdataset->ttl;
2386 sigrdataset->ttl = rdataset->ttl;
2390 (void)dns_db_addrdataset(db, node, NULL, client->now, sigrdataset,
2478 dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset)
2486 if (sigrdataset == NULL || !dns_rdataset_isassociated(sigrdataset))
2489 for (result = dns_rdataset_first(sigrdataset);
2491 result = dns_rdataset_next(sigrdataset)) {
2494 dns_rdataset_current(sigrdataset, &rdata);
2513 rdataset, sigrdataset);
2529 dns_rdataset_t *rdataset, *sigrdataset, *zrdataset, *zsigrdataset;
2542 sigrdataset = NULL;
2576 sigrdataset = query_newrdataset(client);
2577 if (sigrdataset == NULL)
2588 rdataset, sigrdataset);
2598 zsigrdataset = sigrdataset;
2599 sigrdataset = NULL;
2611 rdataset, sigrdataset);
2643 if (sigrdataset != NULL)
2644 query_putrdataset(client, &sigrdataset);
2647 sigrdataset = zsigrdataset;
2655 (sigrdataset != NULL && DNS_TRUST_PENDING(sigrdataset->trust)))
2656 && !validate(client, db, fname, rdataset, sigrdataset) &&
2661 (sigrdataset != NULL && DNS_TRUST_GLUE(sigrdataset->trust))) &&
2662 !validate(client, db, fname, rdataset, sigrdataset) &&
2671 (sigrdataset != NULL && sigrdataset->trust != dns_trust_secure)))
2675 * If the client doesn't want DNSSEC we can discard the sigrdataset
2679 query_putrdataset(client, &sigrdataset);
2680 query_addrrset(client, &fname, &rdataset, &sigrdataset, dbuf,
2686 if (sigrdataset != NULL)
2687 query_putrdataset(client, &sigrdataset);
2733 dns_rdataset_t *rdataset, *sigrdataset;
2741 sigrdataset = NULL;
2747 sigrdataset = query_newrdataset(client);
2748 if (rdataset == NULL || sigrdataset == NULL)
2755 client->now, rdataset, sigrdataset);
2762 rdataset, sigrdataset);
2766 !dns_rdataset_isassociated(sigrdataset))
2786 ISC_LIST_APPEND(rname->list, sigrdataset, link);
2788 sigrdataset = NULL;
2804 if (dns_rdataset_isassociated(sigrdataset))
2805 dns_rdataset_disassociate(sigrdataset);
2807 sigrdataset, fname, ISC_TRUE,
2811 query_addrrset(client, &fname, &rdataset, &sigrdataset, dbuf,
2824 fixrdataset(client, &sigrdataset);
2825 if (fname == NULL || rdataset == NULL || sigrdataset == NULL)
2828 client, rdataset, sigrdataset, fname,
2832 query_addrrset(client, &fname, &rdataset, &sigrdataset, dbuf,
2839 if (sigrdataset != NULL)
2840 query_putrdataset(client, &sigrdataset);
2852 dns_rdataset_t *rdataset, *sigrdataset;
2869 sigrdataset = NULL;
2927 sigrdataset = query_newrdataset(client);
2928 if (fname == NULL || rdataset == NULL || sigrdataset == NULL)
2932 0, &node, fname, rdataset, sigrdataset);
2963 sigrdataset, fname, ISC_TRUE, cname);
2967 query_addrrset(client, &fname, &rdataset, &sigrdataset,
2985 if (sigrdataset == NULL)
2986 sigrdataset = query_newrdataset(client);
2987 else if (dns_rdataset_isassociated(sigrdataset))
2988 dns_rdataset_disassociate(sigrdataset);
2990 if (fname == NULL || rdataset == NULL || sigrdataset == NULL)
3002 sigrdataset, fname, ISC_FALSE, NULL);
3005 query_addrrset(client, &fname, &rdataset, &sigrdataset,
3026 if (sigrdataset == NULL)
3027 sigrdataset = query_newrdataset(client);
3028 else if (dns_rdataset_isassociated(sigrdataset))
3029 dns_rdataset_disassociate(sigrdataset);
3031 if (fname == NULL || rdataset == NULL || sigrdataset == NULL)
3042 sigrdataset, fname, nodata, NULL);
3045 query_addrrset(client, &fname, &rdataset, &sigrdataset,
3078 query_addrrset(client, &fname, &rdataset, &sigrdataset,
3083 if (sigrdataset != NULL)
3084 query_putrdataset(client, &sigrdataset);
3097 if (sigrdataset != NULL)
3098 query_putrdataset(client, &sigrdataset);
3109 dns_rdataset_t *sigrdataset;
3127 sigrdataset = *sigrdatasetp;
3128 if (sigrdataset == NULL || !dns_rdataset_isassociated(sigrdataset))
3130 result = dns_rdataset_first(sigrdataset);
3134 dns_rdataset_current(sigrdataset, &sigrdata);
3223 if (devent->sigrdataset != NULL)
3224 query_putrdataset(client, &devent->sigrdataset);
3258 dns_rdataset_t *rdataset, *sigrdataset;
3332 sigrdataset = query_newrdataset(client);
3333 if (sigrdataset == NULL) {
3338 sigrdataset = NULL;
3353 rdataset, sigrdataset,
3364 if (sigrdataset != NULL)
3365 query_putrdataset(client, &sigrdataset);
3670 dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset,
3714 NULL, fname, rdataset, sigrdataset);
3730 if (dns_rdataset_isassociated(sigrdataset))
3731 dns_rdataset_disassociate(sigrdataset);
3774 dns_rdataset_t *sigrdataset, *zrdataset, *zsigrdataset;
3811 sigrdataset = NULL;
3842 sigrdataset = event->sigrdataset;
4003 sigrdataset = query_newrdataset(client);
4004 if (sigrdataset == NULL) {
4015 &node, fname, rdataset, sigrdataset);
4050 rdataset, sigrdataset);
4058 if (sigrdataset != NULL &&
4059 dns_rdataset_isassociated(sigrdataset))
4060 dns_rdataset_disassociate(sigrdataset);
4110 if (sigrdataset != NULL)
4112 &sigrdataset);
4168 if (sigrdataset != NULL)
4169 sigrdatasetp = &sigrdataset;
4183 * values of fname, rdataset, and sigrdataset.
4194 zsigrdataset = sigrdataset;
4195 sigrdataset = NULL;
4224 if (sigrdataset != NULL)
4226 &sigrdataset);
4229 sigrdataset = zsigrdataset;
4278 if (sigrdataset != NULL)
4279 sigrdatasetp = &sigrdataset;
4314 sigrdataset, fname,
4334 &rdataset, &sigrdataset,
4348 fixrdataset(client, &sigrdataset);
4351 sigrdataset == NULL) {
4363 sigrdataset,
4406 &sigrdataset);
4459 &sigrdataset,
4514 if (sigrdataset != NULL)
4515 sigrdatasetp = &sigrdataset;
4590 if (sigrdataset != NULL)
4591 sigrdatasetp = &sigrdataset;
4825 if (sigrdataset != NULL)
4826 sigrdatasetp = &sigrdataset;
4886 if (sigrdataset != NULL)
4887 query_putrdataset(client, &sigrdataset);