Searched defs:soa (Results 1 - 5 of 5) sorted by relevance

/systemd/src/resolve/
H A Dresolved-dns-answer.c189 _cleanup_(dns_resource_record_unrefp) DnsResourceRecord *soa = NULL;
191 soa = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_SOA, name);
192 if (!soa)
195 soa->ttl = ttl;
197 soa->soa.mname = strdup(name);
198 if (!soa->soa.mname)
201 soa->soa
349 DnsResourceRecord *rr, *soa = NULL; local
[all...]
H A Dresolved-dns-scope.c599 DnsAnswer *soa,
612 && (!soa || soa->n_rrs <= 0))
651 if (soa) {
652 for (i = 0; i < soa->n_rrs; i++) {
653 r = dns_packet_append_rr(p, soa->items[i].rr, NULL, NULL);
658 DNS_PACKET_HEADER(p)->arcount = htobe16(soa->n_rrs);
683 _cleanup_(dns_answer_unrefp) DnsAnswer *answer = NULL, *soa = NULL;
721 r = dns_zone_lookup(&s->zone, key, &answer, &soa, &tentative);
732 r = dns_scope_make_reply_packet(s, DNS_PACKET_ID(p), DNS_RCODE_SUCCESS, p->question, answer, soa, tentativ
593 dns_scope_make_reply_packet( DnsScope *s, uint16_t id, int rcode, DnsQuestion *q, DnsAnswer *answer, DnsAnswer *soa, bool tentative, DnsPacket **ret) argument
[all...]
H A Dresolved-dns-cache.c302 if (ttl > rr->soa.minimum)
303 ttl = rr->soa.minimum;
471 DnsResourceRecord *soa,
481 assert(soa);
492 if (nsec_ttl <= 0 || soa->soa.minimum <= 0 || soa->ttl <= 0) {
518 i->until = calculate_until(soa, nsec_ttl, timestamp, true);
620 DnsResourceRecord *soa = NULL, *rr; local
705 r = dns_answer_find_soa(answer, key, &soa,
464 dns_cache_put_negative( DnsCache *c, DnsResourceKey *key, int rcode, bool authenticated, uint32_t nsec_ttl, usec_t timestamp, DnsResourceRecord *soa, int owner_family, const union in_addr_union *owner_address) argument
[all...]
H A Dresolved-dns-rr.c258 int dns_resource_key_match_soa(const DnsResourceKey *key, const DnsResourceKey *soa) { argument
259 assert(soa);
262 /* Checks whether 'soa' is a SOA record for the specified key. */
264 if (soa->class != key->class)
267 if (soa->type != DNS_TYPE_SOA)
270 return dns_name_endswith(DNS_RESOURCE_KEY_NAME(key), DNS_RESOURCE_KEY_NAME(soa));
448 free(rr->soa.mname);
449 free(rr->soa.rname);
624 r = dns_name_equal(a->soa.mname, b->soa
[all...]
H A Dresolved-dns-rr.h169 } soa; member in union:DnsResourceRecord::__anon231
296 int dns_resource_key_match_soa(const DnsResourceKey *key, const DnsResourceKey *soa);

Completed in 17 milliseconds