Searched refs:ta_rr (Results 1 – 2 of 2) sorted by relevance
/dports/dns/knot-resolver/knot-resolver-5.4.3/lib/dnssec/ |
H A D | ta.c | 85 knot_rrset_t *ta_rr = kr_ta_get(trust_anchors, name); in insert_ta() local 86 if (!ta_rr) { in insert_ta() 91 if (!ta_rr || (rdlen > 0 && knot_rrset_add_rdata(ta_rr, rdata, rdlen, NULL) != 0)) { in insert_ta() 92 knot_rrset_free(ta_rr, NULL); in insert_ta() 96 return map_set(trust_anchors, (const char *)name, ta_rr); in insert_ta() 129 knot_rrset_t *ta_rr = v; in del_record() local 130 if (ta_rr) { in del_record() 131 knot_rrset_free(ta_rr, NULL); in del_record() 138 knot_rrset_t *ta_rr = kr_ta_get(trust_anchors, name); in kr_ta_del() local 139 if (ta_rr) { in kr_ta_del() [all …]
|
/dports/dns/knot-resolver/knot-resolver-5.4.3/lib/ |
H A D | resolve.c | 1063 knot_rrset_t *ta_rr = kr_ta_get(trust_anchors, wanted_name); in forward_trust_chain_check() local 1064 if (!ta_rr) { in forward_trust_chain_check() 1066 ta_rr = kr_ta_get(trust_anchors, (knot_dname_t*)name); in forward_trust_chain_check() 1068 if (ta_rr) { in forward_trust_chain_check() 1069 qry->zone_cut.trust_anchor = knot_rrset_copy(ta_rr, qry->zone_cut.pool); in forward_trust_chain_check() 1124 knot_rrset_t *ta_rr = kr_ta_get(trust_anchors, qry->zone_cut.name); in trust_chain_check() local 1125 if (!has_cd && ta_rr) { in trust_chain_check() 1130 qry->zone_cut.trust_anchor = knot_rrset_copy(ta_rr, qry->zone_cut.pool); in trust_chain_check() 1133 KR_DNAME_GET_STR(qname_str, ta_rr->owner); in trust_chain_check()
|