Searched refs:dns_msg (Results 1 - 20 of 20) sorted by relevance

/freebsd-11.0-release/contrib/unbound/iterator/
H A Diter_resptype.h45 struct dns_msg;
105 enum response_type response_type_from_cache(struct dns_msg* msg,
125 struct dns_msg* msg, struct query_info* request, struct delegpt* dp);
H A Diter_utils.h99 * Allocate dns_msg from parsed msg, in regional.
103 * @return newly allocated dns_msg, or NULL on memory error.
105 struct dns_msg* dns_alloc_msg(struct sldns_buffer* pkt, struct msg_parse* msg,
109 * Copy a dns_msg to this regional.
112 * @return newly allocated dns_msg, or NULL on memory error.
114 struct dns_msg* dns_copy_msg(struct dns_msg* from, struct regional* regional);
117 * Allocate a dns_msg with malloc/alloc structure and store in dns cache.
120 * @param rep: reply in dns_msg from dns_alloc_msg for example.
187 struct dns_msg* ms
[all...]
H A Diterator.h227 struct dns_msg* response;
268 struct dns_msg* caps_response;
271 struct dns_msg* deleg_msg;
H A Diter_utils.c438 struct dns_msg*
442 struct dns_msg* m = (struct dns_msg*)regional_alloc(region,
443 sizeof(struct dns_msg));
448 log_err("malloc failure: allocating incoming dns_msg");
454 struct dns_msg*
455 dns_copy_msg(struct dns_msg* from, struct regional* region)
457 struct dns_msg* m = (struct dns_msg*)regional_alloc(region,
458 sizeof(struct dns_msg));
[all...]
H A Diter_delegpt.h49 struct dns_msg;
332 struct delegpt* delegpt_from_message(struct dns_msg* msg,
H A Diter_resptype.c52 response_type_from_cache(struct dns_msg* msg,
108 struct dns_msg* msg, struct query_info* request, struct delegpt* dp)
H A Diterator.c335 /** prepend the prepend list in the answer and authority section of dns_msg */
337 iter_prepend(struct iter_qstate* iq, struct dns_msg* msg,
453 struct dns_msg* msg, uint8_t** mname, size_t* mname_len)
984 struct dns_msg* msg;
2059 struct dns_msg* msg = dns_cache_lookup(qstate->env,
2715 struct dns_msg* from = qstate->return_msg;
2737 struct dns_msg* to = foriq->response;
3106 /* allocate response dns_msg in region */
H A Diter_delegpt.c333 delegpt_from_message(struct dns_msg* msg, struct regional* region)
/freebsd-11.0-release/contrib/unbound/services/cache/
H A Ddns.h55 struct dns_msg { struct
63 * Allocate a dns_msg with malloc/alloc structure and store in dns cache.
69 * @param rep: reply in dns_msg from dns_alloc_msg for example.
127 struct regional* region, struct dns_msg** msg, time_t timenow);
143 struct dns_msg* dns_cache_lookup(struct module_env* env,
167 * @return new dns_msg struct or NULL on mem fail.
169 struct dns_msg* dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype,
173 * Add rrset to authority section in unpacked dns_msg message. Must have enough
181 int dns_msg_authadd(struct dns_msg* msg, struct regional* region,
H A Ddns.c175 struct dns_msg* msg, time_t now)
212 struct dns_msg** msg)
319 struct dns_msg* msg, struct delegpt* dp, time_t now)
350 struct dns_msg*
354 struct dns_msg* msg = (struct dns_msg*)regional_alloc(region,
355 sizeof(struct dns_msg));
382 dns_msg_authadd(struct dns_msg* msg, struct regional* region,
394 dns_msg_ansadd(struct dns_msg* msg, struct regional* region,
407 struct regional* region, struct dns_msg** ms
[all...]
/freebsd-11.0-release/contrib/unbound/validator/
H A Dval_neg.h56 struct dns_msg;
257 struct dns_msg* val_neg_getmsg(struct val_neg_cache* neg,
H A Dvalidator.h162 struct dns_msg* orig_msg;
H A Dval_utils.h405 * @return a dns_msg on success. NULL on failure.
407 struct dns_msg* val_find_DS(struct module_env* env, uint8_t* nm, size_t nmlen,
H A Dvalidator.c66 struct val_qstate* vq, int id, int rcode, struct dns_msg* msg,
206 vq->orig_msg = (struct dns_msg*)regional_alloc(qstate->region,
207 sizeof(struct dns_msg));
284 struct dns_msg* ret_msg)
338 already_validated(struct dns_msg* ret_msg)
1606 struct dns_msg* msg;
2439 int id, int rcode, struct dns_msg* msg, struct query_info* qinfo,
2657 int id, int rcode, struct dns_msg* msg, struct query_info* qinfo,
2730 int id, int rcode, struct dns_msg* msg, struct query_info* qinfo,
2826 int id, int rcode, struct dns_msg* ms
[all...]
H A Dval_neg.c1269 static struct dns_msg*
1274 struct dns_msg* msg;
1371 struct regional* region, struct dns_msg* msg, struct val_neg_zone* zone)
1399 struct dns_msg*
1404 struct dns_msg* msg;
H A Dval_utils.c1089 struct dns_msg*
1093 struct dns_msg* msg;
/freebsd-11.0-release/contrib/unbound/util/
H A Dmodule.h142 * the dns_msg entry contains a filled out message. This message may
146 * The rcode and dns_msg are used to pass the result from the the rightmost
410 struct dns_msg* return_msg;
/freebsd-11.0-release/contrib/unbound/dns64/
H A Ddns64.c689 super->return_msg = (struct dns_msg*)regional_alloc(
690 super->region, sizeof(struct dns_msg));
770 if (!(super->return_msg = (struct dns_msg*)regional_alloc(super->region,
771 sizeof(struct dns_msg))))
/freebsd-11.0-release/contrib/unbound/daemon/
H A Dcachedump.c786 print_dp_main(SSL* ssl, struct delegpt* dp, struct dns_msg* msg)
819 struct dns_msg* msg;
H A Dworker.c479 struct dns_msg *msg = NULL;

Completed in 187 milliseconds