/freebsd/contrib/unbound/util/data/ |
H A D | packed_rrset.c | 73 struct packed_rrset_data* d = (struct packed_rrset_data*)data; in ub_rrset_sizefunc() 80 packed_rrset_sizeof(struct packed_rrset_data* d) in packed_rrset_sizeof() 141 struct packed_rrset_data* d = (struct packed_rrset_data*)data; in rrset_data_delete() 146 rrsetdata_equal(struct packed_rrset_data* d1, struct packed_rrset_data* d2) in rrsetdata_equal() 178 packed_rrset_ptr_fixup(struct packed_rrset_data* data) in packed_rrset_ptr_fixup() 185 sizeof(struct packed_rrset_data)); in packed_rrset_ptr_fixup() 199 struct packed_rrset_data* d; in get_cname_target() 204 d = (struct packed_rrset_data*)rrset->entry.data; in get_cname_target() 219 packed_rrset_ttl_add(struct packed_rrset_data* data, time_t add) in packed_rrset_ttl_add() 275 struct packed_rrset_data* d = (struct packed_rrset_data*)rrset-> in packed_rr_to_string() [all …]
|
H A D | packed_rrset.h | 246 struct packed_rrset_data { struct 284 struct packed_rrset_data* d; argument 311 size_t packed_rrset_sizeof(struct packed_rrset_data* data); 343 int rrsetdata_equal(struct packed_rrset_data* d1, struct packed_rrset_data* d2); 373 void packed_rrset_ptr_fixup(struct packed_rrset_data* data); 380 void packed_rrset_ttl_add(struct packed_rrset_data* data, time_t add); 473 packed_rrset_find_rr(struct packed_rrset_data* d, uint8_t* rdata, size_t len,
|
H A D | msgreply.c | 245 rdata_copy(sldns_buffer* pkt, struct packed_rrset_data* data, uint8_t* to, in rdata_copy() 344 struct packed_rrset_data* data) in parse_rr_copy() 357 sizeof(struct packed_rrset_data)); in parse_rr_copy() 387 struct packed_rrset_data** data, struct regional* region) in parse_create_rrset() 394 s = sizeof(struct packed_rrset_data) + in parse_create_rrset() 457 struct packed_rrset_data* data; in parse_copy_decompress_rrset() 501 struct packed_rrset_data* data; in parse_copy_decompress() 512 data = (struct packed_rrset_data*)rep->rrsets[i]->entry.data; in parse_copy_decompress() 608 struct packed_rrset_data* data = (struct packed_rrset_data*) in reply_info_set_ttls() 765 struct packed_rrset_data* fd, *dd; in repinfo_copy_rrsets() [all …]
|
/freebsd/contrib/unbound/services/cache/ |
H A D | rrset.c | 129 struct packed_rrset_data* newd = (struct packed_rrset_data*)nd; in need_to_update_rrset() 130 struct packed_rrset_data* cached = (struct packed_rrset_data*)cd; in need_to_update_rrset() 211 equal = rrsetdata_equal((struct packed_rrset_data*)k->entry. in rrset_cache_update() 212 data, (struct packed_rrset_data*)e->data); in rrset_cache_update() 299 struct packed_rrset_data* data = in rrset_cache_lookup() 300 (struct packed_rrset_data*)e->data; in rrset_cache_lookup() 320 ((struct packed_rrset_data*)(ref[i].key->entry.data)) in rrset_array_lock() 374 struct packed_rrset_data* updata = in rrset_update_sec_status() 375 (struct packed_rrset_data*)rrset->entry.data; in rrset_update_sec_status() 377 struct packed_rrset_data* cachedata; in rrset_update_sec_status() [all …]
|
H A D | dns.c | 123 ttl = ((struct packed_rrset_data*) in store_rrsets() 529 struct packed_rrset_data* nsdata; in dns_cache_find_delegation() 536 nsdata = (struct packed_rrset_data*)nskey->entry.data; in dns_cache_find_delegation() 702 struct packed_rrset_data* d = (struct packed_rrset_data*) in rrset_msg() 735 struct packed_rrset_data* newd, *d = (struct packed_rrset_data*) in synth_dname_msg() 797 newd = (struct packed_rrset_data*)regional_alloc_zero(region, in synth_dname_msg() 798 sizeof(struct packed_rrset_data) + sizeof(size_t) + in synth_dname_msg() 809 sizeof(struct packed_rrset_data)); in synth_dname_msg() 855 struct packed_rrset_data *d; in fill_any() 860 d = (struct packed_rrset_data*)rrset->entry.data; in fill_any() [all …]
|
/freebsd/contrib/unbound/validator/ |
H A D | val_utils.c | 190 struct packed_rrset_data* d = (struct packed_rrset_data*) in val_find_rrset_signer() 217 struct packed_rrset_data* d = (struct packed_rrset_data*) in val_find_best_signer() 388 struct packed_rrset_data* d = (struct packed_rrset_data*) in rrset_get_count() 398 struct packed_rrset_data* d = (struct packed_rrset_data*) in rrset_get_ttl() 412 struct packed_rrset_data* d = (struct packed_rrset_data*)rrset-> in val_verify_rrset() 921 rrsig_get_labcount(struct packed_rrset_data* d, size_t sig) in rrsig_get_labcount() 932 struct packed_rrset_data* d = (struct packed_rrset_data*)rrset-> in val_rrset_wildcard() 994 struct packed_rrset_data* d = (struct packed_rrset_data*)rrset-> in rrset_has_signer() 1039 && ((struct packed_rrset_data*)orig->rrsets[i]-> in val_fill_reply() 1098 if(((struct packed_rrset_data*)rep->rrsets[i]->entry.data) in val_check_nonsecure() [all …]
|
H A D | val_sigcrypt.c | 89 struct packed_rrset_data* d = (struct packed_rrset_data*) in rrset_get_count() 101 struct packed_rrset_data* d = (struct packed_rrset_data*)k->entry.data; in rrset_get_sigcount() 115 struct packed_rrset_data* d = (struct packed_rrset_data*)k->entry.data; in rrset_get_sig_keytag() 132 struct packed_rrset_data* d = (struct packed_rrset_data*)k->entry.data; in rrset_get_sig_algo() 144 struct packed_rrset_data* d = (struct packed_rrset_data*)k->entry.data; in rrset_get_rdata() 789 canonical_compare_byfield(struct packed_rrset_data* d, in canonical_compare_byfield() 932 struct packed_rrset_data* d = (struct packed_rrset_data*) in canonical_compare() 1030 canonical_sort(struct ub_packed_rrset_key* rrset, struct packed_rrset_data* d, in canonical_sort() 1191 struct packed_rrset_data* d1=(struct packed_rrset_data*)k1->entry.data; in rrset_canonical_equal() 1192 struct packed_rrset_data* d2=(struct packed_rrset_data*)k2->entry.data; in rrset_canonical_equal() [all …]
|
H A D | val_nsec.c | 56 struct packed_rrset_data* d = (struct packed_rrset_data*)k->entry.data; in rrset_get_ttl() 99 struct packed_rrset_data* d = (struct packed_rrset_data*)nsec-> in nsec_has_type() 122 struct packed_rrset_data* d = (struct packed_rrset_data*)nsec-> in nsec_get_next() 182 struct packed_rrset_data* d = (struct packed_rrset_data*) in nsec_verify_rrset()
|
H A D | val_nsec3.c | 127 struct packed_rrset_data* d = (struct packed_rrset_data*) in rrset_get_count() 137 struct packed_rrset_data* d = (struct packed_rrset_data*) in nsec3_unknown_flags() 148 struct packed_rrset_data* d = (struct packed_rrset_data*) in nsec3_has_optout() 160 struct packed_rrset_data* d = (struct packed_rrset_data*) in nsec3_get_algo() 172 struct packed_rrset_data* d = (struct packed_rrset_data*) in nsec3_known_algo() 189 struct packed_rrset_data* d = (struct packed_rrset_data*) in nsec3_get_iter() 204 struct packed_rrset_data* d = (struct packed_rrset_data*) in nsec3_get_salt() 239 struct packed_rrset_data* d = (struct packed_rrset_data*) in nsec3_get_nextowner() 300 struct packed_rrset_data* d = (struct packed_rrset_data*) in nsec3_has_type() 1452 struct packed_rrset_data* d; in list_is_secure() [all …]
|
H A D | val_kentry.c | 311 struct packed_rrset_data* rd = (struct packed_rrset_data*) in key_entry_create_rrset() 322 d->rrset_data = (struct packed_rrset_data*)regional_alloc_init(region, in key_entry_create_rrset() 362 struct packed_rrset_data* rrd; in key_entry_get_rrset() 387 dnskey_get_keysize(struct packed_rrset_data* data, size_t idx) in dnskey_get_keysize() 402 kd_get_flags(struct packed_rrset_data* data, size_t idx) in kd_get_flags() 415 struct packed_rrset_data* d; in key_entry_keysize()
|
H A D | val_kentry.h | 44 struct packed_rrset_data; 81 struct packed_rrset_data* rrset_data;
|
H A D | val_neg.c | 580 struct packed_rrset_data* d; in reply_has_nsec() 585 d = (struct packed_rrset_data*)rep->rrsets[i]-> in reply_has_nsec() 676 struct packed_rrset_data* d = (struct packed_rrset_data*)nsec-> in wipeout() 751 struct packed_rrset_data* d; in neg_insert_data() 758 d = (struct packed_rrset_data*)nsec->entry.data; in neg_insert_data() 857 struct packed_rrset_data* d; in reply_nsec_signer() 862 d = (struct packed_rrset_data*)rep->rrsets[i]-> in reply_nsec_signer() 1035 int count = (int)((struct packed_rrset_data*)k->entry.data)->count; in nsec3_no_type() 1067 struct packed_rrset_data* d; in grab_nsec() 1069 d = (struct packed_rrset_data*)k->entry.data; in grab_nsec() [all …]
|
H A D | val_anchor.c | 103 struct packed_rrset_data* pd = (struct packed_rrset_data*) in assembled_rrset_delete() 860 struct packed_rrset_data* pd; in assemble_it() 877 pd = (struct packed_rrset_data*)malloc(sizeof(*pd)); in assemble_it() 1266 struct packed_rrset_data* d=(struct packed_rrset_data*) in anchor_list_keytags() 1274 struct packed_rrset_data* d=(struct packed_rrset_data*) in anchor_list_keytags()
|
H A D | autotrust.c | 658 static struct packed_rrset_data* 664 struct packed_rrset_data* data; in packed_rrset_heap_data() 687 data = (struct packed_rrset_data*)calloc(1, len); in packed_rrset_heap_data() 696 sizeof(struct packed_rrset_data)); in packed_rrset_heap_data() 1292 min_expiry(struct module_env* env, struct packed_rrset_data* dd) in min_expiry() 1474 struct packed_rrset_data* d = (struct packed_rrset_data*)k->entry.data; in key_ttl() 1538 struct packed_rrset_data* dd = (struct packed_rrset_data*) in check_contains_revoked() 1585 struct packed_rrset_data* dd = (struct packed_rrset_data*) in key_matches_a_ds() 1630 struct packed_rrset_data* dd = (struct packed_rrset_data*) in update_events()
|
/freebsd/contrib/unbound/ipsecmod/ |
H A D | ipsecmod.c | 256 struct packed_rrset_data* rrset_data; in call_hook() 291 rrset_data = (struct packed_rrset_data*)iq->ipseckey_rrset->entry.data; in call_hook() 306 rrset_data = (struct packed_rrset_data*)rrset_key->entry.data; in call_hook() 339 rrset_data = (struct packed_rrset_data*)iq->ipseckey_rrset->entry.data; in call_hook() 390 struct packed_rrset_data* rrset_data; in ipsecmod_handle_query() 416 rrset_data = (struct packed_rrset_data*)iq->ipseckey_rrset->entry.data; in ipsecmod_handle_query() 438 rrset_data = (struct packed_rrset_data*)rrset_key->entry.data; in ipsecmod_handle_query()
|
/freebsd/contrib/unbound/daemon/ |
H A D | cachedump.c | 79 struct packed_rrset_data* d, time_t now) in dump_rrset() 112 (struct packed_rrset_data*)e->data, now)) { in dump_rrset_lruhash() 325 struct ub_packed_rrset_key* rk, struct packed_rrset_data* d, in load_rr() 383 struct packed_rrset_data* d, struct worker* worker) in move_into_cache() 386 struct packed_rrset_data* ad; in move_into_cache() 409 ad = (struct packed_rrset_data*)malloc(s); in move_into_cache() 447 struct packed_rrset_data* d; in load_rrset() 456 d = (struct packed_rrset_data*)regional_alloc_zero(region, sizeof(*d)); in load_rrset() 812 struct packed_rrset_data* d = in print_dp_main() 813 (struct packed_rrset_data*)k->entry.data; in print_dp_main()
|
/freebsd/contrib/unbound/dns64/ |
H A D | dns64.c | 725 const struct packed_rrset_data* fd, in dns64_synth_aaaa_data() 727 struct packed_rrset_data **dd_out, struct regional *region, in dns64_synth_aaaa_data() 730 struct packed_rrset_data *dd; in dns64_synth_aaaa_data() 742 sizeof(struct packed_rrset_data) in dns64_synth_aaaa_data() 760 (size_t*)((uint8_t*)dd + sizeof(struct packed_rrset_data)); in dns64_synth_aaaa_data() 824 struct packed_rrset_data* fd, *dd; in dns64_adjust_a() 865 fd = (struct packed_rrset_data*)fk->entry.data; in dns64_adjust_a() 894 dd = (struct packed_rrset_data*)regional_alloc_init( in dns64_adjust_a()
|
/freebsd/contrib/unbound/services/ |
H A D | localzone.c | 348 rr_is_duplicate(struct packed_rrset_data* pd, uint8_t* rdata, size_t rdata_len) in rr_is_duplicate() 364 struct packed_rrset_data* pd; in new_local_rrset() 380 pd = (struct packed_rrset_data*)regional_alloc_zero(region, in new_local_rrset() 398 rrset_insert_rr(struct regional* region, struct packed_rrset_data* pd, in rrset_insert_rr() 440 local_rrset_remove_rr(struct packed_rrset_data* pd, size_t index) in local_rrset_remove_rr() 515 struct packed_rrset_data* pd = (struct packed_rrset_data*) in lz_mark_soa_for_zone() 555 struct packed_rrset_data* pd; in local_zone_enter_rr() 593 pd = (struct packed_rrset_data*)rrset->rrset->entry.data; in local_zone_enter_rr() 1369 struct packed_rrset_data* d; in local_data_find_tag_datas() 1396 d = (struct packed_rrset_data*)regional_alloc_zero( in local_data_find_tag_datas() [all …]
|
H A D | localzone.h | 50 struct packed_rrset_data; 526 int rrset_insert_rr(struct regional* region, struct packed_rrset_data* pd, 536 local_rrset_remove_rr(struct packed_rrset_data* pd, size_t index);
|
H A D | authzone.c | 166 struct packed_rrset_data* d = (struct packed_rrset_data*) in get_rrset_ttl() 688 az_rrset_find_rrsig(struct packed_rrset_data* d, uint8_t* rdata, size_t len, in az_rrset_find_rrsig() 705 rdata_duplicate(struct packed_rrset_data* d, uint8_t* rdata, size_t len) in rdata_duplicate() 735 struct packed_rrset_data* d, *old = rrset->data; in rrset_remove_rr() 739 d = (struct packed_rrset_data*)calloc(1, packed_rrset_sizeof(old) - ( in rrset_remove_rr() 756 sizeof(struct packed_rrset_data)); in rrset_remove_rr() 798 struct packed_rrset_data* d, *old = rrset->data; in rrset_add_rr() 801 d = (struct packed_rrset_data*)calloc(1, packed_rrset_sizeof(old) in rrset_add_rr() 809 memcpy(d, old, sizeof(struct packed_rrset_data)); in rrset_add_rr() 819 sizeof(struct packed_rrset_data)); in rrset_add_rr() [all …]
|
H A D | rpz.c | 452 struct packed_rrset_data* pd; in new_cname_override() 461 pd = (struct packed_rrset_data*)regional_alloc_zero(region, sizeof(*pd)); in new_cname_override() 909 struct packed_rrset_data* pd; in rpz_clientip_new_rrset() 925 pd = (struct packed_rrset_data*)regional_alloc_zero(region, sizeof(*pd)); in rpz_clientip_new_rrset() 1292 struct packed_rrset_data* d; in rpz_data_delete_rr() 1304 d = (struct packed_rrset_data*)p->rrset->entry.data; in rpz_data_delete_rr() 1335 struct packed_rrset_data* d; in rpz_rrset_delete_rr() 1456 struct packed_rrset_data* d; in rpz_remove_clientip_rr() 1461 d = (struct packed_rrset_data*)rrset->rrset->entry.data; in rpz_remove_clientip_rr() 1790 rep.ttl = ((struct packed_rrset_data*)rrset->entry.data)->rr_ttl[0]; in rpz_local_encode() [all …]
|
/freebsd/contrib/unbound/iterator/ |
H A D | iter_utils.c | 906 if(((struct packed_rrset_data*)msg->rep->rrsets[i]-> in iter_msg_has_dnssec() 971 struct packed_rrset_data* d1 = (struct packed_rrset_data*) in rrset_equal() 973 struct packed_rrset_data* d2 = (struct packed_rrset_data*) in rrset_equal() 1172 struct packed_rrset_data* newd; in iter_store_parentside_neg() 1198 newd = (struct packed_rrset_data*)regional_alloc_zero(env->scratch, in iter_store_parentside_neg() 1199 sizeof(struct packed_rrset_data) + sizeof(size_t) + in iter_store_parentside_neg() 1213 sizeof(struct packed_rrset_data)); in iter_store_parentside_neg() 1580 struct packed_rrset_data* soadata = (struct packed_rrset_data*)s->entry.data; in limit_nsec_ttl() 1592 struct packed_rrset_data* data = (struct packed_rrset_data*)s->entry.data; in limit_nsec_ttl()
|
H A D | iter_delegpt.c | 465 struct packed_rrset_data* nsdata = (struct packed_rrset_data*) in delegpt_rrset_add_ns() 488 struct packed_rrset_data* d=(struct packed_rrset_data*)ak->entry.data; in delegpt_add_rrset_A() 511 struct packed_rrset_data* d=(struct packed_rrset_data*)ak->entry.data; in delegpt_add_rrset_AAAA()
|
/freebsd/contrib/unbound/respip/ |
H A D | respip.c | 226 struct packed_rrset_data* pd; in new_rrset() 260 struct packed_rrset_data* pd; in respip_enter_rr() 492 struct packed_rrset_data* d; in respip_copy_rrset() 493 struct packed_rrset_data* data = key->entry.data; in respip_copy_rrset() 519 dsize = sizeof(struct packed_rrset_data) + data->count * in respip_copy_rrset() 535 d->rr_len = (size_t*)((uint8_t*)d + sizeof(struct packed_rrset_data)); in respip_copy_rrset() 567 rdata2sockaddr(const struct packed_rrset_data* rd, uint16_t rtype, size_t i, in rdata2sockaddr() 616 const struct packed_rrset_data* rd; in respip_addr_lookup()
|
/freebsd/contrib/unbound/ipset/ |
H A D | ipset.c | 184 struct packed_rrset_data *d, const char* setname, int af, in ipset_add_rrset_data() 234 struct packed_rrset_data *d; in ipset_check_zones_for_rrset() 264 d = (struct packed_rrset_data*)rrset->entry.data; in ipset_check_zones_for_rrset()
|