Home
last modified time | relevance | path

Searched refs:reply_info (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/unbound/util/data/
H A Dmsgreply.h127 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);
349 void reply_info_parsedelete(struct reply_info* rep, struct alloc_cache* alloc);
384 struct reply_info* r, hashvalue_type h);
397 struct reply_info* reply_info_copy(struct reply_info* rep,
[all …]
H A Dmsgreply.c98 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()
191 int reply_info_could_use_expired(struct reply_info* rep, time_t timenow) in reply_info_could_use_expired()
204 struct reply_info *
[all …]
H A Dmsgencode.h47 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 Dmsgencode.c557 insert_section(struct reply_info* rep, size_t num_rrsets, uint16_t* num_rrs, in insert_section()
636 positive_answer(struct reply_info* rep, uint16_t qtype) { in positive_answer()
664 negative_answer(struct reply_info* rep) { in negative_answer()
686 reply_info_encode(struct query_info* qinfo, struct reply_info* rep, in reply_info_encode()
732 struct reply_info arep; in reply_info_encode()
997 reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep, in reply_info_answer_encode()
/freebsd/contrib/unbound/validator/
H A Dval_utils.h48 struct reply_info;
97 struct reply_info* rep, size_t skip);
114 struct query_info* qinf, struct reply_info* rep,
297 int val_chase_cname(struct query_info* qchase, struct reply_info* rep,
314 void val_fill_reply(struct reply_info* chase, struct reply_info* orig,
322 void val_reply_remove_auth(struct reply_info* rep, size_t index);
332 void val_check_nonsecure(struct module_env* env, struct reply_info* rep);
342 void val_mark_indeterminate(struct reply_info* rep,
354 void val_mark_insecure(struct reply_info* rep, uint8_t* kname,
364 size_t val_next_unchecked(struct reply_info* rep, size_t skip);
[all …]
H A Dval_neg.h52 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 Dval_nsec.h52 struct reply_info;
81 struct reply_info* rep, struct key_entry_key* kkey,
H A Dval_utils.c67 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()
970 val_chase_cname(struct query_info* qchase, struct reply_info* rep, in val_chase_cname()
1012 val_fill_reply(struct reply_info* chase, struct reply_info* orig, in val_fill_reply()
1080 void val_reply_remove_auth(struct reply_info* rep, size_t index) in val_reply_remove_auth()
1093 val_check_nonsecure(struct module_env* env, struct reply_info* rep) in val_check_nonsecure()
1177 val_mark_indeterminate(struct reply_info* rep, struct val_anchors* anchors, in val_mark_indeterminate()
1197 val_mark_insecure(struct reply_info* rep, uint8_t* kname, in val_mark_insecure()
1214 val_next_unchecked(struct reply_info* rep, size_t skip) in val_next_unchecked()
[all …]
H A Dvalidator.c82 update_reason_bogus(struct reply_info* rep, sldns_ede_code reason_bogus) in update_reason_bogus()
256 vq->orig_msg->rep = (struct reply_info*)regional_alloc( in val_new_getmsg()
257 qstate->region, sizeof(struct reply_info)); in val_new_getmsg()
260 memset(vq->orig_msg->rep, 0, sizeof(struct reply_info)); in val_new_getmsg()
272 sizeof(struct reply_info) - sizeof(struct rrset_ref)); in val_new_getmsg()
642 struct reply_info* chase_reply, struct key_entry_key* key_entry, in validate_msg_signatures()
873 detect_wrongly_truncated(struct reply_info* rep) in detect_wrongly_truncated()
910 remove_spurious_authority(struct reply_info* chase_reply, in remove_spurious_authority()
911 struct reply_info* orig_reply) in remove_spurious_authority()
970 struct query_info* qchase, struct reply_info* chase_reply, in validate_positive_response()
[all …]
H A Dvalidator.h177 struct reply_info* chase_reply;
/freebsd/contrib/unbound/iterator/
H A Diter_utils.h58 struct reply_info;
152 struct reply_info* rep, int is_referral, time_t leeway, int pside,
258 int reply_equal(struct reply_info* p, struct reply_info* q, struct regional* region);
267 void caps_strip_reply(struct reply_info* rep);
275 int caps_failed_rcode(struct reply_info* rep);
294 void iter_store_parentside_NS(struct module_env* env, struct reply_info* rep);
305 struct query_info* qinfo, struct reply_info* rep);
H A Diter_utils.c695 struct reply_info* msgrep, int is_referral, time_t leeway, int pside, in iter_dns_store()
1024 reply_equal(struct reply_info* p, struct reply_info* q, struct regional* region) in reply_equal()
1082 caps_strip_reply(struct reply_info* rep) in caps_strip_reply()
1117 int caps_failed_rcode(struct reply_info* rep) in caps_failed_rcode()
1143 reply_get_NS_rrset(struct reply_info* rep) in reply_get_NS_rrset()
1155 iter_store_parentside_NS(struct module_env* env, struct reply_info* rep) in iter_store_parentside_NS()
1165 struct query_info* qinfo, struct reply_info* rep) in iter_store_parentside_neg()
/freebsd/contrib/unbound/services/cache/
H A Ddns.h48 struct reply_info;
65 struct reply_info *rep;
96 struct reply_info* rep, int is_referral, time_t leeway, int pside,
122 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside,
123 struct reply_info* qrep, uint32_t flags, struct regional* region,
164 struct reply_info* r, struct regional* region, time_t now,
H A Ddns.c78 store_rrsets(struct module_env* env, struct reply_info* rep, time_t now, in store_rrsets()
79 time_t leeway, int pside, struct reply_info* qrep, in store_rrsets()
156 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside, in dns_cache_store_msg()
157 struct reply_info* qrep, uint32_t flags, struct regional* region, in dns_cache_store_msg()
298 if( now > ((struct reply_info*)e->data)->ttl ) { in msg_cache_lookup()
482 msg->rep = (struct reply_info*)regional_alloc_zero(region, in dns_msg_create()
483 sizeof(struct reply_info)-sizeof(struct rrset_ref)); in dns_msg_create()
584 msg->rep = (struct reply_info*)regional_alloc(region, in gen_dns_msg()
585 sizeof(struct reply_info) - sizeof(struct rrset_ref)); in gen_dns_msg()
601 tomsg(struct module_env* env, struct query_info* q, struct reply_info* r, in tomsg()
[all …]
/freebsd/contrib/unbound/respip/
H A Drespip.h154 int respip_merge_cname(struct reply_info* base_rep,
155 const struct query_info* qinfo, const struct reply_info* tgt_rep,
157 struct reply_info** new_repp, struct regional* region,
185 const struct reply_info *rep, struct reply_info** new_repp,
H A Drespip.c605 respip_addr_lookup(const struct reply_info *rep, struct respip_set* rs, in respip_addr_lookup()
666 uint16_t qtype, const struct reply_info* rep, in respip_data_answer()
667 size_t rrset_id, struct reply_info** new_repp, int tag, in respip_data_answer()
673 struct reply_info* new_rep; in respip_data_answer()
754 const struct reply_info *rep, size_t rrset_id, in respip_nodata_answer()
755 struct reply_info** new_repp, struct regional* region) in respip_nodata_answer()
757 struct reply_info* new_rep; in respip_nodata_answer()
867 const struct respip_client_info* cinfo, const struct reply_info* rep, in respip_rewrite_reply()
868 struct reply_info** new_repp, struct respip_action_info* actinfo, in respip_rewrite_reply()
1095 struct reply_info* new_rep = qstate->return_msg->rep; in respip_operate()
[all …]
/freebsd/contrib/unbound/util/
H A Dtube.h271 struct comm_reply* reply_info);
275 struct comm_reply* reply_info);
H A Dtube.c150 struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_listen() argument
226 struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_write() argument
717 int ATTR_UNUSED(error), struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_listen() argument
725 int ATTR_UNUSED(error), struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_write() argument
/freebsd/contrib/unbound/libunbound/
H A Dworker.h85 struct comm_reply* reply_info);
157 struct comm_reply* reply_info);
H A Dlibworker.c435 uint8_t* finalcname, struct query_info* rq, struct reply_info* rep) in fill_res()
515 struct reply_info* rep; in libworker_enter_result()
900 struct comm_reply* reply_info) in libworker_handle_service_reply() argument
906 mesh_report_reply(lw->env->mesh, e, reply_info, error); in libworker_handle_service_reply()
916 mesh_report_reply(lw->env->mesh, e, reply_info, in libworker_handle_service_reply()
920 mesh_report_reply(lw->env->mesh, e, reply_info, NETEVENT_NOERROR); in libworker_handle_service_reply()
942 struct comm_reply* ATTR_UNUSED(reply_info)) in worker_handle_service_reply() argument
/freebsd/contrib/unbound/dynlibmod/examples/
H A Dhelloworld.c33 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 Dcachedump.c169 dump_msg(RES* ssl, struct query_info* k, struct reply_info* d, time_t now) in dump_msg()
227 struct query_info** k, struct reply_info** d) in copy_msg()
229 struct reply_info* rep = (struct reply_info*)e->data; in copy_msg()
232 *d = (struct reply_info*)regional_alloc_init(region, e->data, in copy_msg()
233 sizeof(struct reply_info) + in copy_msg()
256 struct reply_info* d; in dump_msg_lruhash()
631 struct reply_info rep; in load_msg()
H A Dworker.c245 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()
265 mesh_report_reply(worker->env.mesh, e, reply_info, in worker_handle_service_reply()
270 mesh_report_reply(worker->env.mesh, e, reply_info, NETEVENT_NOERROR); in worker_handle_service_reply()
417 check_delegation_secure(struct reply_info *rep) in check_delegation_secure()
443 deleg_remove_nonsecure_additional(struct reply_info* rep) in deleg_remove_nonsecure_additional()
589 struct respip_client_info* cinfo, struct reply_info* rep, in apply_respip_action()
592 struct reply_info** encode_repp, struct auth_zones* az) in apply_respip_action()
647 struct reply_info** partial_repp, in answer_from_cache()
648 struct reply_info* rep, uint16_t id, uint16_t flags, in answer_from_cache()
[all …]
/freebsd/contrib/unbound/edns-subnet/
H A Dsubnetmod.c308 struct reply_info *elem = (struct reply_info *)elemptr; in delfunc()
315 struct reply_info *elem = (struct reply_info *)elemptr; in sizefunc()
316 size_t s = sizeof (struct reply_info) - sizeof (struct rrset_ref) in sizefunc()
360 struct reply_info *rep; in update_cache()
486 (struct reply_info *)node->elem, qstate->region, *env->now, 0, in lookup_and_reply()
504 if (prefetch && *qstate->env->now >= ((struct reply_info *)node->elem)->prefetch_ttl) { in lookup_and_reply()
/freebsd/contrib/unbound/smallapp/
H A Dworker_cb.c70 struct comm_reply* ATTR_UNUSED(reply_info)) in worker_handle_service_reply() argument
147 struct comm_reply* ATTR_UNUSED(reply_info)) in libworker_handle_service_reply() argument

12