Lines Matching refs:class

19 DnsResourceKey* dns_resource_key_new(uint16_t class, uint16_t type, const char *name) {  in dns_resource_key_new()  argument
31 k->class = class; in dns_resource_key_new()
48 return dns_resource_key_new(key->class, key->type, cname->cname.name); in dns_resource_key_new_redirect()
59 k = dns_resource_key_new_consume(key->class, key->type, destination); in dns_resource_key_new_redirect()
86 new_key = dns_resource_key_new_consume(key->class, key->type, joined); in dns_resource_key_new_append_suffix()
96 DnsResourceKey* dns_resource_key_new_consume(uint16_t class, uint16_t type, char *name) { in dns_resource_key_new_consume() argument
107 .class = class, in dns_resource_key_new_consume()
168 return key->class == DNS_CLASS_IN && IN_SET(key->type, DNS_TYPE_A, DNS_TYPE_AAAA); in dns_resource_key_is_address()
194 if (a->class != b->class) in dns_resource_key_equal()
216 if (rr->key->class != key->class && key->class != DNS_CLASS_ANY) in dns_resource_key_match_rr()
245 if (cname->class != key->class && key->class != DNS_CLASS_ANY) in dns_resource_key_match_cname_or_dname()
283 if (soa->class != key->class) in dns_resource_key_match_soa()
296 siphash24_compress(&k->class, sizeof(k->class), state); in dns_resource_key_hash_func()
311 return CMP(x->class, y->class); in dns_resource_key_compare_func()
323 c = dns_class_to_string(key->class); in dns_resource_key_to_string()
328 strempty(c), c ? "" : "CLASS", c ? 0 : key->class, in dns_resource_key_to_string()
389 DnsResourceRecord* dns_resource_record_new_full(uint16_t class, uint16_t type, const char *name) { in dns_resource_record_new_full() argument
392 key = dns_resource_key_new(class, type, name); in dns_resource_record_new_full()
1715 if (rr->key->class != DNS_CLASS_IN) in dns_resource_record_is_link_local_address()
1737 if (key->class != cname->key->class && key->class != DNS_CLASS_ANY) in dns_resource_record_get_cname_target()