Lines Matching refs:class
34 DnsResourceKey* dns_resource_key_new(uint16_t class, uint16_t type, const char *name) {
46 k->class = class;
63 return dns_resource_key_new(key->class, key->type, cname->cname.name);
74 k = dns_resource_key_new_consume(key->class, key->type, destination);
102 new_key = dns_resource_key_new_consume(key->class, key->type, joined);
112 DnsResourceKey* dns_resource_key_new_consume(uint16_t class, uint16_t type, char *name) {
122 k->class = class;
165 return key->class == DNS_CLASS_IN && IN_SET(key->type, DNS_TYPE_A, DNS_TYPE_AAAA);
178 if (a->class != b->class)
200 if (rr->key->class != key->class && key->class != DNS_CLASS_ANY)
229 if (cname->class != key->class && key->class != DNS_CLASS_ANY)
264 if (soa->class != key->class)
279 siphash24_compress(&k->class, sizeof(k->class), state);
296 if (x->class < y->class)
298 if (x->class > y->class)
317 c = dns_class_to_string(key->class);
319 sprintf(cbuf, "CLASS%u", key->class);
392 DnsResourceRecord* dns_resource_record_new_full(uint16_t class, uint16_t type, const char *name) {
395 key = dns_resource_key_new(class, type, name);