summaryrefslogtreecommitdiffstats
path: root/lib/cache/util.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/cache/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/cache/util.h b/lib/cache/util.h
new file mode 100644
index 0000000..0a2f329
--- /dev/null
+++ b/lib/cache/util.h
@@ -0,0 +1,4 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+#include <libknot/packet/pkt.h>
+
+uint32_t packet_ttl(const knot_pkt_t *pkt, bool is_negative);