aboutsummaryrefslogtreecommitdiff
path: root/util/data/msgparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/data/msgparse.h')
-rw-r--r--util/data/msgparse.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/data/msgparse.h b/util/data/msgparse.h
index fd04f9f6f071..d2fd9c806657 100644
--- a/util/data/msgparse.h
+++ b/util/data/msgparse.h
@@ -87,6 +87,8 @@ extern time_t SERVE_EXPIRED_TTL;
extern time_t SERVE_EXPIRED_REPLY_TTL;
/** Negative cache time (for entries without any RRs.) */
#define NORR_TTL 5 /* seconds */
+/** If we serve the original TTL or decrementing TTLs */
+extern int SERVE_ORIGINAL_TTL;
/**
* Data stored in scratch pad memory during parsing.
@@ -225,6 +227,8 @@ struct edns_data {
uint16_t udp_size;
/** rdata element list, or NULL if none */
struct edns_option* opt_list;
+ /** block size to pad */
+ uint16_t padding_block_size;
};
/**