Lines Matching refs:soa
258 int dns_resource_key_match_soa(const DnsResourceKey *key, const DnsResourceKey *soa) {
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.mname);
627 r = dns_name_equal(a->soa.rname, b->soa.rname);
631 return a->soa.serial == b->soa.serial &&
632 a->soa.refresh == b->soa.refresh &&
633 a->soa.retry == b->soa.retry &&
634 a->soa.expire == b->soa.expire &&
635 a->soa.minimum == b->soa.minimum;
900 strna(rr->soa.mname),
901 strna(rr->soa.rname),
902 rr->soa.serial,
903 rr->soa.refresh,
904 rr->soa.retry,
905 rr->soa.expire,
906 rr->soa.minimum);
1354 dns_name_hash_func(rr->soa.mname, state);
1355 dns_name_hash_func(rr->soa.rname, state);
1356 siphash24_compress(&rr->soa.serial, sizeof(rr->soa.serial), state);
1357 siphash24_compress(&rr->soa.refresh, sizeof(rr->soa.refresh), state);
1358 siphash24_compress(&rr->soa.retry, sizeof(rr->soa.retry), state);
1359 siphash24_compress(&rr->soa.expire, sizeof(rr->soa.expire), state);
1360 siphash24_compress(&rr->soa.minimum, sizeof(rr->soa.minimum), state);