/freebsd/contrib/unbound/validator/ |
H A D | val_kentry.c | 114 newk = regional_alloc_init(region, kkey, sizeof(*kkey)); in key_entry_copy_toregion() 117 newk->name = regional_alloc_init(region, kkey->name, kkey->namelen); in key_entry_copy_toregion() 126 newd = regional_alloc_init(region, d, sizeof(*d)); in key_entry_copy_toregion() 131 newd->rrset_data = regional_alloc_init(region, in key_entry_copy_toregion() 268 (*k)->name = regional_alloc_init(region, name, namelen); in key_entry_setup() 322 d->rrset_data = (struct packed_rrset_data*)regional_alloc_init(region, in key_entry_create_rrset() 369 rrk->rk.dname = regional_alloc_init(region, kkey->name, kkey->namelen); in key_entry_get_rrset() 376 rrd = regional_alloc_init(region, d->rrset_data, in key_entry_get_rrset()
|
H A D | validator.c | 270 vq->chase_reply = regional_alloc_init(qstate->region, in val_new_getmsg() 526 if(!(keytagdname = (uint8_t*)regional_alloc_init(qstate->region, in generate_keytag_query() 606 vq->trust_anchor_name = regional_alloc_init(qstate->region, in prime_trust_anchor() 3136 vq->empty_DS_name = regional_alloc_init(qstate->region, in process_ds_response()
|
H A D | val_nsec3.c | 648 c->b32 = regional_alloc_init(region, sldns_buffer_begin(buf), in nsec3_calc_b32()
|
H A D | val_sigcrypt.c | 1324 k->rk.dname = regional_alloc_init(qstate->region, can_owner, in rrset_canonical()
|
H A D | autotrust.c | 2364 qinfo.qname = regional_alloc_init(env->scratch, tp->name, tp->namelen); in probe_anchor()
|
/freebsd/contrib/unbound/util/ |
H A D | regional.c | 185 regional_alloc_init(struct regional* r, const void *init, size_t size) in regional_alloc_init() function 205 return (char*)regional_alloc_init(r, string, strlen(string)+1); in regional_strdup()
|
H A D | regional.h | 137 void *regional_alloc_init(struct regional* r, const void *init, size_t size);
|
H A D | edns.c | 90 esa->string = regional_alloc_init(edns_strings->region, string, in edns_strings_client_insert()
|
/freebsd/contrib/unbound/daemon/ |
H A D | cachedump.c | 232 *d = (struct reply_info*)regional_alloc_init(region, e->data, in copy_msg() 241 *k = (struct query_info*)regional_alloc_init(region, in copy_msg() 245 (*k)->qname = regional_alloc_init(region, in copy_msg() 358 d->rr_data[i] = (uint8_t*)regional_alloc_init(region, in load_rr() 370 rk->rk.dname = regional_alloc_init(region, rr, dname_len); in load_rr() 570 qinfo->qname = (uint8_t*)regional_alloc_init(region, rr, dname_len); in load_qinfo()
|
H A D | acl_list.c | 239 node->taglist = regional_alloc_init(acl->region, bitmap, bitmaplen); in acl_list_tags_cfg()
|
/freebsd/contrib/unbound/util/data/ |
H A D | msgreply.c | 775 dk->rk.dname = (uint8_t*)regional_alloc_init(region, in repinfo_copy_rrsets() 784 dd = (struct packed_rrset_data*)regional_alloc_init( in repinfo_copy_rrsets() 1162 opt->opt_data = regional_alloc_init(region, data, len); in edns_opt_list_append() 1327 s = regional_alloc_init(region, list, sizeof(*list)); in edns_opt_copy_region() 1333 s->opt_data = regional_alloc_init(region, s->opt_data, in edns_opt_copy_region() 1362 s = regional_alloc_init(region, list, sizeof(*list)); in edns_opt_copy_filter_region() 1368 s->opt_data = regional_alloc_init(region, s->opt_data, in edns_opt_copy_filter_region()
|
H A D | packed_rrset.c | 350 ck->rk.dname = regional_alloc_init(region, key->rk.dname, in packed_rrset_copy_region() 355 d = (struct packed_rrset_data*)regional_alloc_init(region, data, dsize); in packed_rrset_copy_region()
|
/freebsd/contrib/unbound/edns-subnet/ |
H A D | subnet-whitelist.c | 148 nmr = (uint8_t*)regional_alloc_init(whitelist->region, nm, in read_names()
|
/freebsd/contrib/unbound/dns64/ |
H A D | dns64.c | 793 dk->rk.dname = (uint8_t*)regional_alloc_init(region, in dns64_synth_aaaa_data() 887 dk->rk.dname = (uint8_t*)regional_alloc_init(super->region, in dns64_adjust_a() 894 dd = (struct packed_rrset_data*)regional_alloc_init( in dns64_adjust_a()
|
/freebsd/contrib/unbound/iterator/ |
H A D | iter_priv.c | 126 nmr = (uint8_t*)regional_alloc_init(priv->region, nm, nm_len); in read_names()
|
H A D | iter_utils.c | 685 if(!(m->qinfo.qname = regional_alloc_init(region, from->qinfo.qname, in dns_copy_msg() 1044 sorted_p = (struct ub_packed_rrset_key**)regional_alloc_init( in reply_equal() 1054 sorted_q = (struct ub_packed_rrset_key**)regional_alloc_init( in reply_equal() 1190 neg->rk.dname = regional_alloc_init(env->scratch, qinfo->qname, in iter_store_parentside_neg()
|
H A D | iter_delegpt.c | 101 dp->name = regional_alloc_init(region, name, dp->namelen); in delegpt_set_name() 124 ns->name = regional_alloc_init(region, name, ns->namelen); in delegpt_add_ns()
|
H A D | iterator.c | 1133 dp->name = regional_alloc_init(qstate->region, in auth_zone_delegpt()
|
/freebsd/contrib/unbound/services/ |
H A D | mesh.c | 904 mstate->s.qinfo.qname = regional_alloc_init(region, qinfo->qname, in mesh_state_create() 911 mstate->s.client_info = regional_alloc_init(region, cinfo, in mesh_state_create() 1738 r->qname = regional_alloc_init(s->s.region, qinfo->qname, in mesh_state_add_reply() 1757 r->local_alias->rrset = regional_alloc_init(s->s.region, in mesh_state_add_reply() 1773 r->local_alias->rrset->rk.dname = regional_alloc_init( in mesh_state_add_reply() 1805 qinfo = regional_alloc_init(region, &mstate->s.qinfo, sizeof(*qinfo)); in mesh_copy_qinfo() 1808 qinfo->qname = regional_alloc_init(region, qinfo->qname, in mesh_copy_qinfo()
|
H A D | localzone.c | 429 pd->rr_data[0] = regional_alloc_init(region, rdata, rdata_len); in rrset_insert_rr() 485 ld->name = regional_alloc_init(z->region, nm, nmlen); in lz_find_create_node() 1435 d->rr_data[d->count] = regional_alloc_init(temp, in local_data_find_tag_datas() 1463 regional_alloc_init(temp, r, sizeof(*r)); in find_tag_datas() 1529 qinfo->local_alias->rrset = regional_alloc_init( in local_data_answer()
|
H A D | outside_network.c | 2631 sq->qbuf = regional_alloc_init(region, sldns_buffer_begin(buff), 2639 sq->zone = regional_alloc_init(region, zone, zonelen); 3044 backup_p = regional_alloc_init(sq->region,
|
H A D | authzone.c | 120 msg->qinfo.qname = regional_alloc_init(region, qinfo->qname, in msg_create() 2703 (*cname)->rk.dname = regional_alloc_init(region, qname, qname_len); in create_synth_cname()
|
/freebsd/contrib/unbound/respip/ |
H A D | respip.c | 170 node->taglist = regional_alloc_init(set->region, taglist, taglen); in respip_tag_cfg() 507 ck->rk.dname = regional_alloc_init(region, key->rk.dname, in respip_copy_rrset() 1111 regional_alloc_init(qstate->region, in respip_operate()
|
/freebsd/contrib/unbound/services/cache/ |
H A D | dns.c | 474 msg->qinfo.qname = regional_alloc_init(region, qname, qnamelen); in dns_msg_create() 580 msg->qinfo.qname = regional_alloc_init(region, q->qname, q->qname_len); in gen_dns_msg() 792 ck->rk.dname = regional_alloc_init(region, q->qname, q->qname_len); in synth_dname_msg()
|
/freebsd/contrib/unbound/doc/ |
H A D | Changelog | 918 - Fix regional_alloc_init for potential unaligned source of the copy.
|