Lines Matching full:rr

54 ldns_zone_push_rr(ldns_zone *z, ldns_rr *rr)  in ldns_zone_push_rr()  argument
56 return ldns_rr_list_push_rr(ldns_zone_rrs(z), rr); in ldns_zone_push_rr()
199 ldns_rr *rr, *prev_rr = NULL; in ldns_zone_new_frm_fp_l() local
240 s = _ldns_rr_new_frm_fp_l_internal(&rr, fp, &my_ttl, &my_origin, in ldns_zone_new_frm_fp_l()
250 my_ttl = ldns_rr_ttl(rr); in ldns_zone_new_frm_fp_l()
257 } else if (ldns_rr_get_type(rr) == LDNS_RR_TYPE_SIG in ldns_zone_new_frm_fp_l()
258 || ldns_rr_get_type(rr) == LDNS_RR_TYPE_RRSIG) { in ldns_zone_new_frm_fp_l()
259 if (ldns_rr_rd_count(rr) >= 4 in ldns_zone_new_frm_fp_l()
260 && ldns_rdf_get_type(ldns_rr_rdf(rr, 3)) == LDNS_RDF_TYPE_INT32) in ldns_zone_new_frm_fp_l()
270 ldns_rr_set_ttl(rr, in ldns_zone_new_frm_fp_l()
272 ldns_rr_rdf(rr, 3))); in ldns_zone_new_frm_fp_l()
275 && ldns_rr_get_type(prev_rr) == ldns_rr_get_type(rr) in ldns_zone_new_frm_fp_l()
277 , ldns_rr_owner(rr)) == 0) in ldns_zone_new_frm_fp_l()
282 ldns_rr_set_ttl(rr, ldns_rr_ttl(prev_rr)); in ldns_zone_new_frm_fp_l()
284 prev_rr = rr; in ldns_zone_new_frm_fp_l()
285 if (ldns_rr_get_type(rr) == LDNS_RR_TYPE_SOA) { in ldns_zone_new_frm_fp_l()
290 ldns_rr_free(rr); in ldns_zone_new_frm_fp_l()
294 ldns_zone_set_soa(newzone, rr); in ldns_zone_new_frm_fp_l()
297 my_origin = ldns_rdf_clone(ldns_rr_owner(rr)); in ldns_zone_new_frm_fp_l()
302 /* a normal RR - as sofar the DNS is normal */ in ldns_zone_new_frm_fp_l()
303 if (!ldns_zone_push_rr(newzone, rr)) { in ldns_zone_new_frm_fp_l()
304 ldns_rr_free(rr); in ldns_zone_new_frm_fp_l()