Lines Matching refs:ck
96 struct ub_packed_rrset_key* ck; in store_rrsets() local
101 ck = NULL; in store_rrsets()
102 else ck = packed_rrset_copy_region( in store_rrsets()
105 if(ck) { in store_rrsets()
107 qrep->rrsets[i] = ck; in store_rrsets()
734 struct ub_packed_rrset_key* ck; in synth_dname_msg() local
782 ck = (struct ub_packed_rrset_key*)regional_alloc(region, in synth_dname_msg()
784 if(!ck) in synth_dname_msg()
786 memset(&ck->entry, 0, sizeof(ck->entry)); in synth_dname_msg()
787 msg->rep->rrsets[1] = ck; in synth_dname_msg()
788 ck->entry.key = ck; in synth_dname_msg()
789 ck->rk.type = htons(LDNS_RR_TYPE_CNAME); in synth_dname_msg()
790 ck->rk.rrset_class = rrset->rk.rrset_class; in synth_dname_msg()
791 ck->rk.flags = 0; in synth_dname_msg()
792 ck->rk.dname = regional_alloc_init(region, q->qname, q->qname_len); in synth_dname_msg()
793 if(!ck->rk.dname) in synth_dname_msg()
795 ck->rk.dname_len = q->qname_len; in synth_dname_msg()
796 ck->entry.hash = rrset_key_hash(&ck->rk); in synth_dname_msg()
803 ck->entry.data = newd; in synth_dname_msg()