/freebsd/contrib/unbound/validator/ |
H A D | val_sigcrypt.h | 52 struct ub_packed_rrset_key; 83 struct ub_packed_rrset_key* dnskey, uint8_t* sigalg); 100 void algo_needs_init_ds(struct algo_needs* n, struct ub_packed_rrset_key* ds, 157 struct ub_packed_rrset_key* dnskey_rrset, size_t dnskey_idx, 158 struct ub_packed_rrset_key* ds_rrset, size_t ds_idx); 166 uint16_t dnskey_calc_keytag(struct ub_packed_rrset_key* dnskey_rrset, 175 uint16_t ds_get_keytag(struct ub_packed_rrset_key* ds_rrset, size_t ds_idx); 183 int dnskey_algo_is_supported(struct ub_packed_rrset_key* dnskey_rrset, 192 int dnskey_size_is_supported(struct ub_packed_rrset_key* dnskey_rrset, 201 int dnskeyset_size_is_supported(struct ub_packed_rrset_key* dnskey_rrset); [all …]
|
H A D | val_utils.h | 52 struct ub_packed_rrset_key; 133 struct val_env* ve, struct ub_packed_rrset_key* rrset, 158 struct val_env* ve, struct ub_packed_rrset_key* dnskey_rrset, 159 struct ub_packed_rrset_key* ds_rrset, uint8_t* sigalg, char** reason, 184 struct val_env* ve, struct ub_packed_rrset_key* dnskey_rrset, 185 struct ub_packed_rrset_key* ta_ds, 186 struct ub_packed_rrset_key* ta_dnskey, uint8_t* sigalg, char** reason, 219 struct ub_packed_rrset_key* dnskey_rrset, 220 struct ub_packed_rrset_key* ds_rrset, int downprot, char** reason, 252 struct ub_packed_rrset_key* dnskey_rrset, [all …]
|
H A D | val_nsec3.h | 76 struct ub_packed_rrset_key; 131 struct ub_packed_rrset_key** list, size_t num, 169 struct ub_packed_rrset_key** list, size_t num, 194 struct ub_packed_rrset_key** list, size_t num, 224 struct ub_packed_rrset_key** list, size_t num, 249 struct ub_packed_rrset_key** list, size_t num, 263 struct ub_packed_rrset_key* nsec3; 318 struct sldns_buffer* buf, struct ub_packed_rrset_key* nsec3, int rr, 331 size_t nsec3_get_nextowner_b32(struct ub_packed_rrset_key* rrset, int r, 359 int nsec3_get_params(struct ub_packed_rrset_key* rrset, int r, [all …]
|
H A D | val_nsec.h | 51 struct ub_packed_rrset_key; 103 int nsec_has_type(struct ub_packed_rrset_key* nsec, uint16_t type); 120 int nsec_proves_nodata(struct ub_packed_rrset_key* nsec, 131 int val_nsec_proves_name_error(struct ub_packed_rrset_key* nsec, 141 int val_nsec_proves_positive_wildcard(struct ub_packed_rrset_key* nsec, 153 struct ub_packed_rrset_key* nsec); 163 int val_nsec_proves_no_wc(struct ub_packed_rrset_key* nsec, uint8_t* qname, 173 int val_nsec_proves_insecuredelegation(struct ub_packed_rrset_key* nsec,
|
H A D | val_sigcrypt.c | 87 rrset_get_count(struct ub_packed_rrset_key* rrset) in rrset_get_count() 99 rrset_get_sigcount(struct ub_packed_rrset_key* k) in rrset_get_sigcount() 112 rrset_get_sig_keytag(struct ub_packed_rrset_key* k, size_t sig_idx) in rrset_get_sig_keytag() 130 rrset_get_sig_algo(struct ub_packed_rrset_key* k, size_t sig_idx) in rrset_get_sig_algo() 141 rrset_get_rdata(struct ub_packed_rrset_key* k, size_t idx, uint8_t** rdata, in rrset_get_rdata() 151 dnskey_get_flags(struct ub_packed_rrset_key* k, size_t idx) in dnskey_get_flags() 171 dnskey_get_protocol(struct ub_packed_rrset_key* k, size_t idx) in dnskey_get_protocol() 182 dnskey_get_algo(struct ub_packed_rrset_key* k, size_t idx) in dnskey_get_algo() 194 dnskey_get_pubkey(struct ub_packed_rrset_key* k, size_t idx, in dnskey_get_pubkey() 210 ds_get_key_algo(struct ub_packed_rrset_key* k, size_t idx) in ds_get_key_algo() [all …]
|
H A D | val_nsec.c | 54 rrset_get_ttl(struct ub_packed_rrset_key* k) in rrset_get_ttl() 97 nsec_has_type(struct ub_packed_rrset_key* nsec, uint16_t type) in nsec_has_type() 120 nsec_get_next(struct ub_packed_rrset_key* nsec, uint8_t** nm, size_t* ln) in nsec_get_next() 149 val_nsec_proves_no_ds(struct ub_packed_rrset_key* nsec, in val_nsec_proves_no_ds() 178 struct ub_packed_rrset_key* nsec, struct key_entry_key* kkey, in nsec_verify_rrset() 208 struct ub_packed_rrset_key* nsec = reply_find_rrset_section_ns( in val_nsec_prove_nodata_dsreply() 215 struct ub_packed_rrset_key* wc_nsec = NULL; in val_nsec_prove_nodata_dsreply() 298 int nsec_proves_nodata(struct ub_packed_rrset_key* nsec, in nsec_proves_nodata() 413 val_nsec_proves_name_error(struct ub_packed_rrset_key* nsec, uint8_t* qname) in val_nsec_proves_name_error() 462 int val_nsec_proves_insecuredelegation(struct ub_packed_rrset_key* nsec, in val_nsec_proves_insecuredelegation() [all …]
|
H A D | val_nsec3.c | 97 struct ub_packed_rrset_key* ce_rrset; 101 struct ub_packed_rrset_key* nc_rrset; 116 struct ub_packed_rrset_key** list; 125 rrset_get_count(struct ub_packed_rrset_key* rrset) in rrset_get_count() 135 nsec3_unknown_flags(struct ub_packed_rrset_key* rrset, int r) in nsec3_unknown_flags() 146 nsec3_has_optout(struct ub_packed_rrset_key* rrset, int r) in nsec3_has_optout() 158 nsec3_get_algo(struct ub_packed_rrset_key* rrset, int r) in nsec3_get_algo() 170 nsec3_known_algo(struct ub_packed_rrset_key* rrset, int r) in nsec3_known_algo() 186 nsec3_get_iter(struct ub_packed_rrset_key* rrset, int r) in nsec3_get_iter() 201 nsec3_get_salt(struct ub_packed_rrset_key* rrset, int r, in nsec3_get_salt() [all …]
|
H A D | val_utils.c | 187 val_find_rrset_signer(struct ub_packed_rrset_key* rrset, uint8_t** sname, in val_find_rrset_signer() 213 val_find_best_signer(struct ub_packed_rrset_key* rrset, in val_find_best_signer() 386 rrset_get_count(struct ub_packed_rrset_key* rrset) in rrset_get_count() 396 rrset_get_ttl(struct ub_packed_rrset_key* rrset) in rrset_get_ttl() 406 struct ub_packed_rrset_key* rrset, struct ub_packed_rrset_key* keys, in val_verify_rrset() 466 struct ub_packed_rrset_key* rrset, struct key_entry_key* kkey, in val_verify_rrset_entry() 472 struct ub_packed_rrset_key dnskey; in val_verify_rrset_entry() 490 struct ub_packed_rrset_key* dnskey_rrset, in verify_dnskeys_with_ds_rr() 491 struct ub_packed_rrset_key* ds_rrset, size_t ds_idx, char** reason, in verify_dnskeys_with_ds_rr() 558 int val_favorite_ds_algo(struct ub_packed_rrset_key* ds_rrset) in val_favorite_ds_algo() [all …]
|
H A D | val_kentry.h | 46 struct ub_packed_rrset_key; 197 struct ub_packed_rrset_key* rrset, uint8_t* sigalg, 224 struct ub_packed_rrset_key* key_entry_get_rrset(struct key_entry_key* kkey,
|
H A D | val_anchor.h | 48 struct ub_packed_rrset_key; 116 struct ub_packed_rrset_key* ds_rrset; 118 struct ub_packed_rrset_key* dnskey_rrset;
|
H A D | val_neg.c | 566 static struct ub_packed_rrset_key* reply_find_soa(struct reply_info* rep) in reply_find_soa() 674 struct val_neg_data* el, struct ub_packed_rrset_key* nsec) in wipeout() 749 struct val_neg_zone* zone, struct ub_packed_rrset_key* nsec) in neg_insert_data() 882 struct ub_packed_rrset_key* soa; in val_neg_addreply() 1033 static int nsec3_no_type(struct ub_packed_rrset_key* k, uint16_t t) in nsec3_no_type() 1059 static struct ub_packed_rrset_key* 1065 struct ub_packed_rrset_key* r, *k = rrset_cache_lookup(rrset_cache, in grab_nsec() 1108 static struct ub_packed_rrset_key* 1117 struct ub_packed_rrset_key* nsec; in neg_find_nsec() 1201 neg_params_ok(struct val_neg_zone* zone, struct ub_packed_rrset_key* rrset) in neg_params_ok() [all …]
|
/freebsd/contrib/unbound/util/data/ |
H A D | packed_rrset.h | 118 struct ub_packed_rrset_key { struct 303 void ub_packed_rrset_parsedelete(struct ub_packed_rrset_key* pkey, 318 time_t ub_packed_rrset_ttl(struct ub_packed_rrset_key* key); 393 void get_cname_target(struct ub_packed_rrset_key* rrset, uint8_t** dname, 417 struct ub_packed_rrset_key* rrset); 428 int packed_rr_to_string(struct ub_packed_rrset_key* rrset, size_t i, 438 struct ub_packed_rrset_key* rrset); 448 struct ub_packed_rrset_key* packed_rrset_copy_region( 449 struct ub_packed_rrset_key* key, struct regional* region, 459 struct ub_packed_rrset_key* packed_rrset_copy_alloc( [all …]
|
H A D | packed_rrset.c | 56 ub_packed_rrset_parsedelete(struct ub_packed_rrset_key* pkey, in ub_packed_rrset_parsedelete() 72 struct ub_packed_rrset_key* k = (struct ub_packed_rrset_key*)key; in ub_rrset_sizefunc() 74 size_t s = sizeof(struct ub_packed_rrset_key) + k->rk.dname_len; in ub_rrset_sizefunc() 97 struct ub_packed_rrset_key* key1 = (struct ub_packed_rrset_key*)k1; in ub_rrset_compare() 98 struct ub_packed_rrset_key* key2 = (struct ub_packed_rrset_key*)k2; in ub_rrset_compare() 130 struct ub_packed_rrset_key* k = (struct ub_packed_rrset_key*)key; in ub_rrset_key_delete() 196 get_cname_target(struct ub_packed_rrset_key* rrset, uint8_t** dname, in get_cname_target() 265 struct ub_packed_rrset_key* rrset) in log_rrset_key() 272 int packed_rr_to_string(struct ub_packed_rrset_key* rrset, size_t i, in packed_rr_to_string() 307 struct ub_packed_rrset_key* rrset) in log_packed_rrset() [all …]
|
H A D | msgreply.h | 108 struct ub_packed_rrset_key* key; 220 struct ub_packed_rrset_key** rrsets; 461 struct ub_packed_rrset_key* pk); 495 struct ub_packed_rrset_key* reply_find_answer_rrset(struct query_info* qinfo, 507 struct ub_packed_rrset_key* reply_find_rrset_section_an(struct reply_info* rep, 519 struct ub_packed_rrset_key* reply_find_rrset_section_ns(struct reply_info* rep, 531 struct ub_packed_rrset_key* reply_find_rrset(struct reply_info* rep,
|
H A D | msgreply.c | 107 sizeof(struct ub_packed_rrset_key*) * total; in construct_reply_info_base() 132 rep->rrsets = (struct ub_packed_rrset_key**)&(rep->ref[0]); in construct_reply_info_base() 133 else rep->rrsets = (struct ub_packed_rrset_key**)&(rep->ref[total]); in construct_reply_info_base() 135 memset( rep->rrsets, 0, sizeof(struct ub_packed_rrset_key*) * total); in construct_reply_info_base() 161 rep->rrsets[i] = (struct ub_packed_rrset_key*) in reply_info_alloc_rrset_keys() 163 sizeof(struct ub_packed_rrset_key)); in reply_info_alloc_rrset_keys() 166 sizeof(struct ub_packed_rrset_key)); in reply_info_alloc_rrset_keys() 455 struct ub_packed_rrset_key* pk) in parse_copy_decompress_rrset() 698 s += r->rrset_count * sizeof(struct ub_packed_rrset_key*); in msgreply_sizefunc() 766 struct ub_packed_rrset_key* fk, *dk; in repinfo_copy_rrsets() [all …]
|
/freebsd/contrib/unbound/services/cache/ |
H A D | rrset.h | 104 void rrset_cache_touch(struct rrset_cache* r, struct ub_packed_rrset_key* key, 151 struct ub_packed_rrset_key* rrset, uint8_t* ce, size_t ce_len, 168 struct ub_packed_rrset_key* rrset_cache_lookup(struct rrset_cache* r, 220 struct ub_packed_rrset_key* rrset, time_t now); 232 struct ub_packed_rrset_key* rrset, time_t now);
|
H A D | rrset.c | 57 struct ub_packed_rrset_key* r = (struct ub_packed_rrset_key*)key; in rrset_markdel() 96 rrset_cache_touch(struct rrset_cache* r, struct ub_packed_rrset_key* key, in rrset_cache_touch() 194 struct ub_packed_rrset_key* k = ref->key; in rrset_cache_update() 209 ref->key = (struct ub_packed_rrset_key*)e->key; in rrset_cache_update() 247 struct ub_packed_rrset_key* rrset, uint8_t* ce, size_t ce_len, in rrset_cache_update_wildcard() 279 struct ub_packed_rrset_key* 285 struct ub_packed_rrset_key key; in rrset_cache_lookup() 306 return (struct ub_packed_rrset_key*)e->key; in rrset_cache_lookup() 372 struct ub_packed_rrset_key* rrset, time_t now) in rrset_update_sec_status() 412 struct ub_packed_rrset_key* rrset, time_t now) in rrset_check_sec_status() [all …]
|
H A D | dns.c | 96 struct ub_packed_rrset_key* ck; in store_rrsets() 207 static struct ub_packed_rrset_key* 212 struct ub_packed_rrset_key *rrset; in find_closest_of_type() 270 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region, in addr_to_additional() 313 struct ub_packed_rrset_key* akey; in find_add_addrs() 373 struct ub_packed_rrset_key* akey; in cache_fill_missing() 438 struct ub_packed_rrset_key* rrset = rrset_cache_lookup( in find_add_ds() 491 msg->rep->rrsets = (struct ub_packed_rrset_key**) in dns_msg_create() 493 capacity*sizeof(struct ub_packed_rrset_key*)); in dns_msg_create() 501 struct ub_packed_rrset_key* rrset, time_t now) in dns_msg_authadd() [all …]
|
/freebsd/contrib/unbound/respip/ |
H A D | respip.h | 45 struct ub_packed_rrset_key* data; 187 struct ub_packed_rrset_key** alias_rrset, 230 struct ub_packed_rrset_key* resp_addr_get_rrset(struct resp_addr* addr); 303 struct ub_packed_rrset_key* 304 respip_copy_rrset(const struct ub_packed_rrset_key* key, struct regional* region);
|
H A D | respip.c | 223 static struct ub_packed_rrset_key* 227 struct ub_packed_rrset_key* rrset = regional_alloc_zero( in new_rrset() 487 struct ub_packed_rrset_key* 488 respip_copy_rrset(const struct ub_packed_rrset_key* key, struct regional* region) in respip_copy_rrset() 490 struct ub_packed_rrset_key* ck = regional_alloc(region, in respip_copy_rrset() 491 sizeof(struct ub_packed_rrset_key)); in respip_copy_rrset() 665 struct ub_packed_rrset_key* data, in respip_data_answer() 670 struct ub_packed_rrset_key** redirect_rrsetp, struct regional* region) in respip_data_answer() 672 struct ub_packed_rrset_key* rp = data; in respip_data_answer() 679 struct ub_packed_rrset_key r; in respip_data_answer() [all …]
|
/freebsd/contrib/unbound/iterator/ |
H A D | iter_utils.c | 934 struct ub_packed_rrset_key* s = msg->rep->rrsets[i]; in iter_msg_from_zone() 969 rrset_equal(struct ub_packed_rrset_key* k1, struct ub_packed_rrset_key* k2) in rrset_equal() 1005 struct ub_packed_rrset_key* rrx = *(struct ub_packed_rrset_key**)x; in rrset_canonical_sort_cmp() 1006 struct ub_packed_rrset_key* rry = *(struct ub_packed_rrset_key**)y; in rrset_canonical_sort_cmp() 1027 struct ub_packed_rrset_key** sorted_p, **sorted_q; in reply_equal() 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() 1101 struct ub_packed_rrset_key* s = rep->rrsets[i]; in caps_strip_reply() 1125 struct ub_packed_rrset_key* rrset) in iter_store_parentside_rrset() 1142 static struct ub_packed_rrset_key* [all …]
|
H A D | iter_delegpt.h | 50 struct ub_packed_rrset_key; 217 struct ub_packed_rrset_key* ns_rrset, uint8_t lame); 247 struct ub_packed_rrset_key* rrset, uint8_t lame, int* additions); 259 struct ub_packed_rrset_key* rrset, uint8_t lame, int* additions); 272 struct ub_packed_rrset_key* rrset, uint8_t lame, int* additions);
|
H A D | iter_utils.h | 61 struct ub_packed_rrset_key; 286 struct ub_packed_rrset_key* rrset); 353 void iter_scrub_ds(struct dns_msg* msg, struct ub_packed_rrset_key* ns,
|
/freebsd/contrib/unbound/daemon/ |
H A D | cachedump.c | 67 dump_rrset_line(RES* ssl, struct ub_packed_rrset_key* k, time_t now, size_t i) in dump_rrset_line() 78 dump_rrset(RES* ssl, struct ub_packed_rrset_key* k, in dump_rrset() 111 if(!dump_rrset(ssl, (struct ub_packed_rrset_key*)e->key, in dump_rrset_lruhash() 142 dump_msg_ref(RES* ssl, struct ub_packed_rrset_key* k) in dump_msg_ref() 235 sizeof(struct ub_packed_rrset_key*) * rep->rrset_count); in copy_msg() 238 (*d)->rrsets = (struct ub_packed_rrset_key**)(void *)( in copy_msg() 325 struct ub_packed_rrset_key* rk, struct packed_rrset_data* d, in load_rr() 382 move_into_cache(struct ub_packed_rrset_key* k, in move_into_cache() 385 struct ub_packed_rrset_key* ak; in move_into_cache() 446 struct ub_packed_rrset_key* rk; in load_rrset() [all …]
|
/freebsd/contrib/unbound/services/ |
H A D | localzone.h | 51 struct ub_packed_rrset_key; 164 struct ub_packed_rrset_key* soa; 168 struct ub_packed_rrset_key* soa_negative; 195 struct ub_packed_rrset_key* rrset; 464 struct config_strlist* list, struct ub_packed_rrset_key* r,
|