aboutsummaryrefslogtreecommitdiff
path: root/iterator/iter_scrub.h
diff options
context:
space:
mode:
Diffstat (limited to 'iterator/iter_scrub.h')
-rw-r--r--iterator/iter_scrub.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/iterator/iter_scrub.h b/iterator/iter_scrub.h
index 4d6ce7166516..6b40e6c574c9 100644
--- a/iterator/iter_scrub.h
+++ b/iterator/iter_scrub.h
@@ -62,11 +62,16 @@ struct module_qstate;
* @param env: module environment with config settings and cache.
* @param qstate: for setting errinf for EDE error messages.
* @param ie: iterator module environment data.
+ * @param msg_lame_empty: returned true if the empty packet is lame.
+ * @param msg_lame_referral: returned true if the reply has a referral before
+ * scrub.
+ * @param rdset: if RD bit was sent in query sent by unbound.
* @return: false if the message is total waste. true if scrubbed with success.
*/
int scrub_message(struct sldns_buffer* pkt, struct msg_parse* msg,
struct query_info* qinfo, uint8_t* zonename, struct regional* regional,
struct module_env* env, struct module_qstate* qstate,
- struct iter_env* ie);
+ struct iter_env* ie, int* msg_lame_empty, int* msg_lame_referral,
+ int rdset);
#endif /* ITERATOR_ITER_SCRUB_H */