Lines Matching refs:answer
56 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;
85 answer = dns_answer_new(1);
86 if (!answer)
89 r = dns_answer_add(answer, rr, 0, DNS_ANSWER_AUTHENTICATED);
93 r = hashmap_put(d->positive_by_key, rr->key, answer);
97 answer = NULL;
193 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL;
341 answer = dns_answer_ref(old_answer);
343 r = dns_answer_add_extend(&answer, rr, 0, DNS_ANSWER_AUTHENTICATED);
347 r = hashmap_replace(d->positive_by_key, rr->key, answer);
349 return log_error_errno(r, "Failed to add answer to trust anchor: %m");
352 answer = NULL;