Lines Matching refs:dclass
80 uint16_t type, uint16_t dclass, hashvalue_type hash, in new_rrset() argument
98 p->rrset_class = dclass; in new_rrset()
170 uint16_t dclass, uint32_t rrset_flags) in pkt_hash_rrset() argument
177 h = hashlittle(&dclass, sizeof(dclass), h); /* netw order */ in pkt_hash_rrset()
196 pkt_hash_rrset_rest(hashvalue_type dname_h, uint16_t type, uint16_t dclass, in pkt_hash_rrset_rest() argument
203 h = hashlittle(&dclass, sizeof(dclass), h); /* netw order */ in pkt_hash_rrset_rest()
212 uint16_t type, uint16_t dclass) in rrset_parse_equals() argument
215 p->rrset_class == dclass && p->flags == rrset_flags && in rrset_parse_equals()
225 size_t dnamelen, uint16_t type, uint16_t dclass) in msgparse_hashtable_lookup() argument
230 type, dclass)) in msgparse_hashtable_lookup()
464 size_t dnamelen, uint16_t type, uint16_t dclass, hashvalue_type* hash, in find_rrset() argument
475 if(type == *prev_type && dclass == *prev_dclass && in find_rrset()
485 if(type == LDNS_RR_TYPE_RRSIG && dclass == *prev_dclass && in find_rrset()
501 *hash = pkt_hash_rrset_rest(dname_h, covtype, dclass, in find_rrset()
504 *rrset_flags, dname, dnamelen, covtype, dclass); in find_rrset()
508 *hash = pkt_hash_rrset_rest(dname_h, covtype, dclass, in find_rrset()
512 dclass); in find_rrset()
519 *hash = pkt_hash_rrset_rest(dname_h, covtype, dclass, in find_rrset()
523 dclass); in find_rrset()
532 *prev_dclass = dclass; in find_rrset()
540 dclass, 0); in find_rrset()
543 dclass); in find_rrset()
551 *prev_dclass = dclass; in find_rrset()
560 *hash = pkt_hash_rrset_rest(dname_h, type, dclass, *rrset_flags); in find_rrset()
562 dname, dnamelen, type, dclass); in find_rrset()
569 *prev_dclass = dclass; in find_rrset()
831 uint16_t dclass, prev_dclass = 0; in parse_section() local
849 sldns_buffer_read(pkt, &dclass, sizeof(dclass)); in parse_section()
870 (int)ntohs(dclass))?sldns_lookup_by_id( in parse_section()
871 sldns_rr_classes, (int)ntohs(dclass))->name: in parse_section()
872 "??", (int)ntohs(dclass)); in parse_section()
878 if(!find_rrset(msg, pkt, dname, dnamelen, type, dclass, &hash, in parse_section()
886 rrset = new_rrset(msg, dname, dnamelen, type, dclass, in parse_section()