Lines Matching refs:rr_label

907         zdb_rr_label* rr_label = zdb_rr_label_find(zone->apex, name, (name_top - origin_top) - 1);  in zdb_query_rr_label_find_relative()  local
909 return rr_label; in zdb_query_rr_label_find_relative()
938 zdb_rr_label* rr_label = zdb_query_rr_label_find_relative(zone, dns_name); in zdb_query_ex_answer_append_ips() local
940 if(rr_label != NULL) in zdb_query_ex_answer_append_ips()
943 zdb_packed_ttlrdata* a = zdb_record_find(&rr_label->resource_record_set, TYPE_A); in zdb_query_ex_answer_append_ips()
953 zdb_query_ex_answer_append_type_rrsigs(rr_label, dns_name, TYPE_A, in zdb_query_ex_answer_append_ips()
960 zdb_packed_ttlrdata* aaaa = zdb_record_find(&rr_label->resource_record_set, TYPE_AAAA); in zdb_query_ex_answer_append_ips()
970 zdb_query_ex_answer_append_type_rrsigs(rr_label, dns_name, TYPE_AAAA, in zdb_query_ex_answer_append_ips()
1140 zdb_query_ex_append_nsec3_nodata(const zdb_zone *zone, const zdb_rr_label *rr_label, in zdb_query_ex_append_nsec3_nodata() argument
1158 if(!IS_WILD_LABEL(rr_label->name)) in zdb_query_ex_append_nsec3_nodata()
1162 nsec3_nodata_error(zone, rr_label, name, apex_index, in zdb_query_ex_append_nsec3_nodata()
1178 if((rr_label->nsec.dnssec != NULL)) // (7.2.3 a) in zdb_query_ex_append_nsec3_nodata()
1180 nsec3_zone_item *owner_nsec3 = nsec3_label_extension_self(rr_label->nsec.nsec3); in zdb_query_ex_append_nsec3_nodata()
1208 nsec3_nodata_error(zone, rr_label, name, apex_index, pool, in zdb_query_ex_append_nsec3_nodata()
1270 nsec3_wild_nodata_error(zone, rr_label, name, apex_index, pool, in zdb_query_ex_append_nsec3_nodata()
1306 bool delegation = zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_UNDERDELEGATION); in zdb_query_ex_append_nsec3_nodata()
1350 zdb_query_ex_append_wild_nsec3_data(const zdb_zone *zone, const zdb_rr_label *rr_label, in zdb_query_ex_append_wild_nsec3_data() argument
1355 yassert(IS_WILD_LABEL(rr_label->name)); in zdb_query_ex_append_wild_nsec3_data()
1377 nsec3_wild_nodata_error(zone, rr_label, name, apex_index, pool, in zdb_query_ex_append_wild_nsec3_data()
1494 zdb_query_ex_append_nsec_records(const zdb_rr_label *rr_label, const u8 * restrict qname, u32 min_t… in zdb_query_ex_append_nsec_records() argument
1500 …zdb_packed_ttlrdata *rr_label_nsec_record = zdb_record_find(&rr_label->resource_record_set, TYPE_N… in zdb_query_ex_append_nsec_records()
1507 zdb_query_ex_answer_append_type_rrsigs(rr_label, qname, TYPE_NSEC, in zdb_query_ex_append_nsec_records()
1560 zdb_rr_label *rr_label = rr_label_info->answer; in zdb_query_ex_record_not_found() local
1572 … if( ((type == TYPE_DS) && (zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_UNDERDELEGATION))) || in zdb_query_ex_record_not_found()
1573 …((type != TYPE_DS) && (zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL_UNDE… in zdb_query_ex_record_not_found()
1588 zdb_query_ex_answer_append_type_rrsigs(rr_label, auth_name, in zdb_query_ex_record_not_found()
1629 zdb_query_ex_append_nsec3_nodata(zone, rr_label, name, top, type, in zdb_query_ex_record_not_found()
1669 … ((type == TYPE_DS) && zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_UNDERDELEGATION)) || in zdb_query_ex_record_not_found()
1670 …((type != TYPE_DS) && zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL_UNDER… in zdb_query_ex_record_not_found()
1740 if(IS_WILD_LABEL(rr_label->name)) in zdb_query_ex_record_not_found()
1749 …zdb_packed_ttlrdata *rr_label_nsec_record = zdb_record_find(&rr_label->resource_record_set, TYPE_N… in zdb_query_ex_record_not_found()
1756 zdb_query_ex_answer_append_type_rrsigs(rr_label, wild_name, TYPE_NSEC, in zdb_query_ex_record_not_found()
1761 … zdb_query_ex_add_nsec_interval(zone, name, rr_label, &ans_auth_add->authority, pool); in zdb_query_ex_record_not_found()
1802 zdb_rr_label *rr_label = rr_label_info->answer; in zdb_query_ex_record_not_found_nttl() local
1813 … if( ((type == TYPE_DS) && (zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_UNDERDELEGATION))) || in zdb_query_ex_record_not_found_nttl()
1814 …((type != TYPE_DS) && (zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL_UNDE… in zdb_query_ex_record_not_found_nttl()
1829 zdb_query_ex_answer_append_type_rrsigs(rr_label, auth_name, in zdb_query_ex_record_not_found_nttl()
1870 zdb_query_ex_append_nsec3_nodata(zone, rr_label, name, top, type, in zdb_query_ex_record_not_found_nttl()
1910 … ((type == TYPE_DS) && zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_UNDERDELEGATION)) || in zdb_query_ex_record_not_found_nttl()
1911 …((type != TYPE_DS) && zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL_UNDER… in zdb_query_ex_record_not_found_nttl()
1981 if(IS_WILD_LABEL(rr_label->name)) in zdb_query_ex_record_not_found_nttl()
1990 …zdb_packed_ttlrdata *rr_label_nsec_record = zdb_record_find(&rr_label->resource_record_set, TYPE_N… in zdb_query_ex_record_not_found_nttl()
1997 zdb_query_ex_answer_append_type_rrsigs(rr_label, wild_name, TYPE_NSEC, in zdb_query_ex_record_not_found_nttl()
2002 … zdb_query_ex_add_nsec_interval(zone, name, rr_label, &ans_auth_add->authority, pool); in zdb_query_ex_record_not_found_nttl()
2239 …zdb_rr_label *rr_label = zdb_rr_label_find_ext(zone->apex, name.labels, name.size - sp, &rr_label_… in zdb_query_from_cname() local
2243 if(rr_label != NULL) in zdb_query_from_cname()
2263 …if(((zdb_rr_label_flag_get(rr_label) & (ZDB_RR_LABEL_HASCNAME|ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL… in zdb_query_from_cname()
2289 … if((answer = zdb_record_find(&rr_label->resource_record_set, TYPE_CNAME)) != NULL) in zdb_query_from_cname()
2331 … zdb_query_ex_answer_append_type_rrsigs(rr_label, cname_owner, TYPE_CNAME, in zdb_query_from_cname()
2363 … if(zdb_rr_label_flag_isclear(rr_label, ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL_UNDERDELEGATION)) in zdb_query_from_cname()
2381 if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION)) in zdb_query_from_cname()
2385 else if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_UNDERDELEGATION)) in zdb_query_from_cname()
2396 if(zdb_rr_label_flag_isclear(rr_label, ZDB_RR_LABEL_UNDERDELEGATION)) in zdb_query_from_cname()
2434 if((answer = zdb_record_find(&rr_label->resource_record_set, type)) != NULL) in zdb_query_from_cname()
2450 if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION)) in zdb_query_from_cname()
2475 zdb_query_ex_answer_append_type_rrsigs(rr_label, qname, TYPE_NS, in zdb_query_from_cname()
2479 if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION)) in zdb_query_from_cname()
2481 … zdb_packed_ttlrdata* label_ds = zdb_record_find(&rr_label->resource_record_set, TYPE_DS); in zdb_query_from_cname()
2488 … zdb_query_ex_answer_append_type_rrsigs(rr_label, qname, TYPE_DS, in zdb_query_from_cname()
2527 zdb_query_ex_append_nsec_records(rr_label, qname, min_ttl, in zdb_query_from_cname()
2571 zdb_query_ex_answer_append_type_rrsigs(rr_label, qname, type, in zdb_query_from_cname()
2575 if(IS_WILD_LABEL(rr_label->name)) in zdb_query_from_cname()
2698 … if(zdb_rr_label_flag_isclear(rr_label, ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL_UNDERDELEGATION)) in zdb_query_from_cname()
2703 … zdb_packed_ttlrdata *rrsig_list = zdb_record_find(&rr_label->resource_record_set, TYPE_RRSIG); in zdb_query_from_cname()
2711 btree_iterator_init(rr_label->resource_record_set, &iter); in zdb_query_from_cname()
2824 if(dnssec && IS_WILD_LABEL(rr_label->name)) in zdb_query_from_cname()
2845 zdb_query_ex_append_wild_nsec3_data(zone, rr_label, &name, top, in zdb_query_from_cname()
3524 …zdb_rr_label *rr_label = zdb_rr_label_find_ext(zone->apex, name.labels, name.size - sp, &rr_label_… in zdb_query_and_update() local
3528 if(rr_label != NULL) in zdb_query_and_update()
3547 …if(((zdb_rr_label_flag_get(rr_label) & (ZDB_RR_LABEL_HASCNAME|ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL… in zdb_query_and_update()
3577 … if((answer = zdb_record_find(&rr_label->resource_record_set, TYPE_CNAME)) != NULL) in zdb_query_and_update()
3624 … zdb_query_ex_answer_append_type_rrsigs(rr_label, cname_owner, TYPE_CNAME, in zdb_query_and_update()
3664 … if(zdb_rr_label_flag_isclear(rr_label, (ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL_UNDERDELEGATION) )) in zdb_query_and_update()
3683 if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION)) in zdb_query_and_update()
3687 else if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_UNDERDELEGATION)) in zdb_query_and_update()
3696 if(zdb_rr_label_flag_isclear(rr_label, ZDB_RR_LABEL_UNDERDELEGATION)) in zdb_query_and_update()
3734 if((answer = zdb_record_find(&rr_label->resource_record_set, type)) != NULL) in zdb_query_and_update()
3750 if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION)) in zdb_query_and_update()
3775 zdb_query_ex_answer_append_type_rrsigs(rr_label, qname, TYPE_NS, in zdb_query_and_update()
3779 if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION)) in zdb_query_and_update()
3781 … zdb_packed_ttlrdata* label_ds = zdb_record_find(&rr_label->resource_record_set, TYPE_DS); in zdb_query_and_update()
3788 … zdb_query_ex_answer_append_type_rrsigs(rr_label, qname, TYPE_DS, in zdb_query_and_update()
3825 zdb_query_ex_append_nsec_records(rr_label, qname, min_ttl, in zdb_query_and_update()
3869 zdb_query_ex_answer_append_type_rrsigs(rr_label, qname, type, in zdb_query_and_update()
3873 if(IS_WILD_LABEL(rr_label->name)) in zdb_query_and_update()
3893 … zdb_query_ex_append_wild_nsec3_data(zone, rr_label, &name, top, in zdb_query_and_update()
4021 … if(zdb_rr_label_flag_isclear(rr_label, (ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL_UNDERDELEGATION) )) in zdb_query_and_update()
4026 … zdb_packed_ttlrdata *rrsig_list = zdb_record_find(&rr_label->resource_record_set, TYPE_RRSIG); in zdb_query_and_update()
4034 btree_iterator_init(rr_label->resource_record_set, &iter); in zdb_query_and_update()
4147 if(dnssec && IS_WILD_LABEL(rr_label->name)) in zdb_query_and_update()
4168 zdb_query_ex_append_wild_nsec3_data(zone, rr_label, &name, top, in zdb_query_and_update()
4898 …zdb_rr_label *rr_label = zdb_rr_label_find_ext(zone->apex, name.labels, name.size - sp, &rr_label_… in zdb_query_and_update_with_rrl() local
4902 if(rr_label != NULL) in zdb_query_and_update_with_rrl()
4921 …if(((zdb_rr_label_flag_get(rr_label) & (ZDB_RR_LABEL_HASCNAME|ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL… in zdb_query_and_update_with_rrl()
4951 … if((answer = zdb_record_find(&rr_label->resource_record_set, TYPE_CNAME)) != NULL) in zdb_query_and_update_with_rrl()
4998 … zdb_query_ex_answer_append_type_rrsigs(rr_label, cname_owner, TYPE_CNAME, in zdb_query_and_update_with_rrl()
5041 … if(zdb_rr_label_flag_isclear(rr_label, (ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL_UNDERDELEGATION) )) in zdb_query_and_update_with_rrl()
5060 if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION)) in zdb_query_and_update_with_rrl()
5064 else if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_UNDERDELEGATION)) in zdb_query_and_update_with_rrl()
5073 if(zdb_rr_label_flag_isclear(rr_label, ZDB_RR_LABEL_UNDERDELEGATION)) in zdb_query_and_update_with_rrl()
5111 if((answer = zdb_record_find(&rr_label->resource_record_set, type)) != NULL) in zdb_query_and_update_with_rrl()
5127 if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION)) in zdb_query_and_update_with_rrl()
5152 zdb_query_ex_answer_append_type_rrsigs(rr_label, qname, TYPE_NS, in zdb_query_and_update_with_rrl()
5156 if(zdb_rr_label_flag_isset(rr_label, ZDB_RR_LABEL_DELEGATION)) in zdb_query_and_update_with_rrl()
5158 … zdb_packed_ttlrdata* label_ds = zdb_record_find(&rr_label->resource_record_set, TYPE_DS); in zdb_query_and_update_with_rrl()
5165 … zdb_query_ex_answer_append_type_rrsigs(rr_label, qname, TYPE_DS, in zdb_query_and_update_with_rrl()
5202 zdb_query_ex_append_nsec_records(rr_label, qname, min_ttl, in zdb_query_and_update_with_rrl()
5246 zdb_query_ex_answer_append_type_rrsigs(rr_label, qname, type, in zdb_query_and_update_with_rrl()
5250 if(IS_WILD_LABEL(rr_label->name)) in zdb_query_and_update_with_rrl()
5270 … zdb_query_ex_append_wild_nsec3_data(zone, rr_label, &name, top, in zdb_query_and_update_with_rrl()
5399 … if(zdb_rr_label_flag_isclear(rr_label, (ZDB_RR_LABEL_DELEGATION|ZDB_RR_LABEL_UNDERDELEGATION) )) in zdb_query_and_update_with_rrl()
5404 … zdb_packed_ttlrdata *rrsig_list = zdb_record_find(&rr_label->resource_record_set, TYPE_RRSIG); in zdb_query_and_update_with_rrl()
5412 btree_iterator_init(rr_label->resource_record_set, &iter); in zdb_query_and_update_with_rrl()
5525 if(dnssec && IS_WILD_LABEL(rr_label->name)) in zdb_query_and_update_with_rrl()
5546 zdb_query_ex_append_wild_nsec3_data(zone, rr_label, &name, top, in zdb_query_and_update_with_rrl()