| /freebsd/contrib/unbound/util/data/ |
| H A D | msgreply.h | 127 struct reply_info { struct 269 struct reply_info* 303 struct query_info* qinf, struct reply_info** rep, 323 struct reply_info** rep, struct regional* region); 326 struct reply_info* parse_reply_in_temp_region(struct sldns_buffer* pkt, 333 void reply_info_sortref(struct reply_info* rep); 341 void reply_info_set_ttls(struct reply_info* rep, time_t timenow); 350 void reply_info_absolute_ttls(struct reply_info* rep, time_t ttl, time_t ttl_add); 358 void reply_info_parsedelete(struct reply_info* rep, struct alloc_cache* alloc); 393 struct reply_info* r, hashvalue_type h); [all …]
|
| H A D | msgreply.c | 98 struct reply_info* 104 struct reply_info* rep; in construct_reply_info_base() 106 size_t s = sizeof(struct reply_info) - sizeof(struct rrset_ref) + in construct_reply_info_base() 110 rep = (struct reply_info*)regional_alloc(region, s); in construct_reply_info_base() 111 else rep = (struct reply_info*)malloc(s + in construct_reply_info_base() 143 parse_create_repinfo(struct msg_parse* msg, struct reply_info** rep, in parse_create_repinfo() 155 reply_info_alloc_rrset_keys(struct reply_info* rep, struct alloc_cache* alloc, in reply_info_alloc_rrset_keys() 179 reply_info_can_answer_expired(struct reply_info* rep, time_t timenow) in reply_info_can_answer_expired() 192 reply_info_could_use_expired(struct reply_info* rep, time_t timenow) in reply_info_could_use_expired() 205 struct reply_info * [all …]
|
| H A D | msgencode.h | 47 struct reply_info; 69 int reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep, 93 int reply_info_encode(struct query_info* qinfo, struct reply_info* rep,
|
| H A D | msgencode.c | 573 insert_section(struct reply_info* rep, size_t num_rrsets, uint16_t* num_rrs, in insert_section() 652 positive_answer(struct reply_info* rep, uint16_t qtype) { in positive_answer() 680 negative_answer(struct reply_info* rep) { in negative_answer() 702 reply_info_encode(struct query_info* qinfo, struct reply_info* rep, in reply_info_encode() 748 struct reply_info arep; in reply_info_encode() 1023 reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep, in reply_info_answer_encode()
|
| /freebsd/contrib/unbound/validator/ |
| H A D | val_utils.h | 48 struct reply_info; 102 struct reply_info* rep, size_t skip); 119 struct query_info* qinf, struct reply_info* rep, 308 int val_chase_cname(struct query_info* qchase, struct reply_info* rep, 325 void val_fill_reply(struct reply_info* chase, struct reply_info* orig, 335 void val_reply_remove_answers(struct reply_info* rep, size_t index, 343 void val_reply_remove_auth(struct reply_info* rep, size_t index); 353 void val_check_nonsecure(struct module_env* env, struct reply_info* rep); 363 void val_mark_indeterminate(struct reply_info* rep, 375 void val_mark_insecure(struct reply_info* rep, uint8_t* kname, [all …]
|
| H A D | val_neg.h | 52 struct reply_info; 209 void val_neg_addreply(struct val_neg_cache* neg, struct reply_info* rep); 218 void val_neg_addreferral(struct val_neg_cache* neg, struct reply_info* rep,
|
| H A D | val_nsec.h | 52 struct reply_info; 83 struct reply_info* rep, struct key_entry_key* kkey,
|
| H A D | val_utils.c | 67 struct query_info* qinf, struct reply_info* rep, size_t skip) in val_classify_response() 247 cname_under_previous_dname(struct reply_info* rep, size_t cname_idx, in cname_under_previous_dname() 265 struct reply_info* rep, size_t skip, uint8_t** signer_name, in val_find_signer() 1046 val_chase_cname(struct query_info* qchase, struct reply_info* rep, in val_chase_cname() 1088 val_fill_reply(struct reply_info* chase, struct reply_info* orig, in val_fill_reply() 1156 void val_reply_remove_answers(struct reply_info* rep, size_t index, in val_reply_remove_answers() 1173 void val_reply_remove_auth(struct reply_info* rep, size_t index) in val_reply_remove_auth() 1186 val_check_nonsecure(struct module_env* env, struct reply_info* rep) in val_check_nonsecure() 1270 val_mark_indeterminate(struct reply_info* rep, struct val_anchors* anchors, in val_mark_indeterminate() 1290 val_mark_insecure(struct reply_info* rep, uint8_t* kname, in val_mark_insecure() [all …]
|
| H A D | validator.c | 85 update_reason_bogus(struct reply_info* rep, sldns_ede_code reason_bogus) in update_reason_bogus() 297 vq->orig_msg->rep = (struct reply_info*)regional_alloc( in val_new_getmsg() 298 qstate->region, sizeof(struct reply_info)); in val_new_getmsg() 301 memset(vq->orig_msg->rep, 0, sizeof(struct reply_info)); in val_new_getmsg() 313 sizeof(struct reply_info) - sizeof(struct rrset_ref)); in val_new_getmsg() 713 struct reply_info* chase_reply, struct key_entry_key* key_entry, in validate_msg_signatures() 975 detect_wrongly_truncated(struct reply_info* rep) in detect_wrongly_truncated() 1012 remove_spurious_authority(struct reply_info* chase_reply, in remove_spurious_authority() 1013 struct reply_info* orig_reply) in remove_spurious_authority() 1065 shorten_answer_any(struct reply_info* chase_reply, in shorten_answer_any() [all …]
|
| /freebsd/contrib/unbound/iterator/ |
| H A D | iter_utils.h | 58 struct reply_info; 155 struct reply_info* rep, int is_referral, time_t leeway, int pside, 262 int reply_equal(struct reply_info* p, struct reply_info* q, struct regional* region); 271 void caps_strip_reply(struct reply_info* rep); 279 int caps_failed_rcode(struct reply_info* rep); 298 void iter_store_parentside_NS(struct module_env* env, struct reply_info* rep); 309 struct query_info* qinfo, struct reply_info* rep); 484 void iter_make_minimal(struct reply_info* rep);
|
| H A D | iter_utils.c | 775 struct reply_info* msgrep, int is_referral, time_t leeway, int pside, in iter_dns_store() 1105 reply_equal(struct reply_info* p, struct reply_info* q, struct regional* region) in reply_equal() 1163 caps_strip_reply(struct reply_info* rep) in caps_strip_reply() 1198 int caps_failed_rcode(struct reply_info* rep) in caps_failed_rcode() 1224 reply_get_NS_rrset(struct reply_info* rep) in reply_get_NS_rrset() 1236 iter_store_parentside_NS(struct module_env* env, struct reply_info* rep) in iter_store_parentside_NS() 1246 struct query_info* qinfo, struct reply_info* rep) in iter_store_parentside_neg() 1700 iter_make_minimal(struct reply_info* rep) in iter_make_minimal()
|
| /freebsd/contrib/unbound/services/cache/ |
| H A D | dns.h | 48 struct reply_info; 65 struct reply_info *rep; 98 struct reply_info* rep, int is_referral, time_t leeway, int pside, 125 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside, 126 struct reply_info* qrep, uint32_t flags, struct regional* region, 167 struct reply_info* r, struct regional* region, time_t now,
|
| H A D | dns.c | 79 store_rrsets(struct module_env* env, struct reply_info* rep, time_t now, in store_rrsets() 80 time_t leeway, int pside, struct reply_info* qrep, in store_rrsets() 166 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside, in dns_cache_store_msg() 167 struct reply_info* qrep, uint32_t flags, struct regional* region, in dns_cache_store_msg() 321 if( now > ((struct reply_info*)e->data)->ttl ) { in msg_cache_lookup() 507 msg->rep = (struct reply_info*)regional_alloc_zero(region, in dns_msg_create() 508 sizeof(struct reply_info)-sizeof(struct rrset_ref)); in dns_msg_create() 619 msg->rep = (struct reply_info*)regional_alloc(region, in gen_dns_msg() 620 sizeof(struct reply_info) - sizeof(struct rrset_ref)); in gen_dns_msg() 637 tomsg(struct module_env* env, struct query_info* q, struct reply_info* r, in tomsg() [all …]
|
| /freebsd/contrib/unbound/respip/ |
| H A D | respip.h | 160 int respip_merge_cname(struct reply_info* base_rep, 161 const struct query_info* qinfo, const struct reply_info* tgt_rep, 163 struct reply_info** new_repp, struct regional* region, 194 const struct reply_info *rep, struct reply_info** new_repp,
|
| H A D | respip.c | 612 respip_addr_lookup(const struct reply_info *rep, struct respip_set* rs, in respip_addr_lookup() 674 uint16_t qtype, const struct reply_info* rep, in respip_data_answer() 675 size_t rrset_id, struct reply_info** new_repp, int tag, in respip_data_answer() 681 struct reply_info* new_rep; in respip_data_answer() 762 const struct reply_info *rep, size_t rrset_id, in respip_nodata_answer() 763 struct reply_info** new_repp, struct regional* region) in respip_nodata_answer() 765 struct reply_info* new_rep; in respip_nodata_answer() 875 const struct respip_client_info* cinfo, const struct reply_info* rep, in respip_rewrite_reply() 876 struct reply_info** new_repp, struct respip_action_info* actinfo, in respip_rewrite_reply() 1131 struct reply_info* new_rep = qstate->return_msg->rep; in respip_operate() [all …]
|
| /freebsd/contrib/unbound/util/ |
| H A D | tube.h | 271 struct comm_reply* reply_info); 275 struct comm_reply* reply_info);
|
| H A D | tube.c | 164 struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_listen() argument 243 struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_write() argument 740 int ATTR_UNUSED(error), struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_listen() argument 748 int ATTR_UNUSED(error), struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_write() argument
|
| /freebsd/contrib/unbound/libunbound/ |
| H A D | worker.h | 88 struct comm_reply* reply_info); 163 struct comm_reply* reply_info);
|
| H A D | libworker.c | 444 uint8_t* finalcname, struct query_info* rq, struct reply_info* rep) in fill_res() 524 struct reply_info* rep; in libworker_enter_result() 916 struct comm_reply* reply_info) in libworker_handle_service_reply() argument 922 mesh_report_reply(lw->env->mesh, e, reply_info, error); in libworker_handle_service_reply() 932 mesh_report_reply(lw->env->mesh, e, reply_info, in libworker_handle_service_reply() 936 mesh_report_reply(lw->env->mesh, e, reply_info, NETEVENT_NOERROR); in libworker_handle_service_reply() 958 struct comm_reply* ATTR_UNUSED(reply_info)) in worker_handle_service_reply() argument
|
| /freebsd/contrib/unbound/dynlibmod/examples/ |
| H A D | helloworld.c | 33 struct module_qstate* qstate, struct reply_info* rep, int rcode, 119 struct module_qstate* qstate, struct reply_info* rep, int rcode, in reply_callback()
|
| /freebsd/contrib/unbound/daemon/ |
| H A D | cachedump.c | 311 struct reply_info* d, time_t now) in dump_msg() 359 struct query_info** k, struct reply_info** d) in copy_msg() 361 struct reply_info* rep = (struct reply_info*)e->data; in copy_msg() 364 *d = (struct reply_info*)regional_alloc_init(region, e->data, in copy_msg() 365 sizeof(struct reply_info) + in copy_msg() 389 struct reply_info* d; in dump_msg_entry() 754 struct reply_info rep; in load_msg()
|
| H A D | worker.c | 245 struct comm_reply* reply_info) in worker_handle_service_reply() argument 253 mesh_report_reply(worker->env.mesh, e, reply_info, error); in worker_handle_service_reply() 266 mesh_report_reply(worker->env.mesh, e, reply_info, in worker_handle_service_reply() 271 mesh_report_reply(worker->env.mesh, e, reply_info, NETEVENT_NOERROR); in worker_handle_service_reply() 544 check_delegation_secure(struct reply_info *rep) in check_delegation_secure() 570 deleg_remove_nonsecure_additional(struct reply_info* rep) in deleg_remove_nonsecure_additional() 716 struct respip_client_info* cinfo, struct reply_info* rep, in apply_respip_action() 719 struct reply_info** encode_repp, struct auth_zones* az, in apply_respip_action() 776 struct reply_info** partial_repp, in answer_from_cache() 777 struct reply_info* rep, uint16_t id, uint16_t flags, in answer_from_cache() [all …]
|
| /freebsd/contrib/unbound/edns-subnet/ |
| H A D | subnetmod.c | 341 struct reply_info *elem = (struct reply_info *)elemptr; in delfunc() 348 struct reply_info *elem = (struct reply_info *)elemptr; in sizefunc() 349 size_t s = sizeof (struct reply_info) - sizeof (struct rrset_ref) in sizefunc() 393 struct reply_info *rep; in update_cache() 573 (struct reply_info *)node->elem, qstate->region, *env->now, 0, in lookup_and_reply() 603 if (prefetch && *qstate->env->now >= ((struct reply_info *)node->elem)->prefetch_ttl) { in lookup_and_reply()
|
| /freebsd/contrib/unbound/smallapp/ |
| H A D | worker_cb.c | 71 struct comm_reply* ATTR_UNUSED(reply_info)) in worker_handle_service_reply() argument 154 struct comm_reply* ATTR_UNUSED(reply_info)) in libworker_handle_service_reply() argument
|
| /freebsd/contrib/unbound/dynlibmod/ |
| H A D | dynlibmod.h | 71 struct module_qstate* qstate, struct reply_info* rep, int rcode,
|