aboutsummaryrefslogtreecommitdiff
path: root/util/data/msgparse.h
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-02-09 20:59:02 +0000
committerCy Schubert <cy@FreeBSD.org>2021-02-09 20:59:02 +0000
commitd60fa10fd872db7e3d8cb1e161cfdae026c43b14 (patch)
treee19b79c68276ce72fabece9595abbdd5e6378eb0 /util/data/msgparse.h
parent072fbfa38b24d202f4eac875ad2f93531dad7f7e (diff)
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;
};
/**