Lines Matching refs:dclass
78 uint16_t type, uint16_t dclass, hashvalue_type hash, in new_rrset() argument
96 p->rrset_class = dclass; in new_rrset()
168 uint16_t dclass, uint32_t rrset_flags) in pkt_hash_rrset() argument
175 h = hashlittle(&dclass, sizeof(dclass), h); /* netw order */ in pkt_hash_rrset()
194 pkt_hash_rrset_rest(hashvalue_type dname_h, uint16_t type, uint16_t dclass, in pkt_hash_rrset_rest() argument
201 h = hashlittle(&dclass, sizeof(dclass), h); /* netw order */ in pkt_hash_rrset_rest()
210 uint16_t type, uint16_t dclass) in rrset_parse_equals() argument
213 p->rrset_class == dclass && p->flags == rrset_flags && in rrset_parse_equals()
223 size_t dnamelen, uint16_t type, uint16_t dclass) in msgparse_hashtable_lookup() argument
228 type, dclass)) in msgparse_hashtable_lookup()
462 size_t dnamelen, uint16_t type, uint16_t dclass, hashvalue_type* hash, in find_rrset() argument
473 if(type == *prev_type && dclass == *prev_dclass && in find_rrset()
483 if(type == LDNS_RR_TYPE_RRSIG && dclass == *prev_dclass && in find_rrset()
499 *hash = pkt_hash_rrset_rest(dname_h, covtype, dclass, in find_rrset()
502 *rrset_flags, dname, dnamelen, covtype, dclass); in find_rrset()
506 *hash = pkt_hash_rrset_rest(dname_h, covtype, dclass, in find_rrset()
510 dclass); in find_rrset()
517 *hash = pkt_hash_rrset_rest(dname_h, covtype, dclass, in find_rrset()
521 dclass); in find_rrset()
530 *prev_dclass = dclass; in find_rrset()
538 dclass, 0); in find_rrset()
541 dclass); in find_rrset()
549 *prev_dclass = dclass; in find_rrset()
558 *hash = pkt_hash_rrset_rest(dname_h, type, dclass, *rrset_flags); in find_rrset()
560 dname, dnamelen, type, dclass); in find_rrset()
567 *prev_dclass = dclass; in find_rrset()
829 uint16_t dclass, prev_dclass = 0; in parse_section() local
847 sldns_buffer_read(pkt, &dclass, sizeof(dclass)); in parse_section()
868 (int)ntohs(dclass))?sldns_lookup_by_id( in parse_section()
869 sldns_rr_classes, (int)ntohs(dclass))->name: in parse_section()
870 "??", (int)ntohs(dclass)); in parse_section()
876 if(!find_rrset(msg, pkt, dname, dnamelen, type, dclass, &hash, in parse_section()
884 rrset = new_rrset(msg, dname, dnamelen, type, dclass, in parse_section()