summaryrefslogtreecommitdiffstats
path: root/daemon/lua
diff options
context:
space:
mode:
authorLukáš Ondráček <lukas.ondracek@nic.cz>2024-03-27 11:45:30 +0100
committerLukáš Ondráček <lukas.ondracek@nic.cz>2024-03-27 19:08:44 +0100
commit451dff832d55020564a18b846a3e9fedd50996f6 (patch)
tree6fc763848009a0e597db8e3fdc50bf71799e5069 /daemon/lua
parentrrl: check and log chosen impl. (generic vs AVX2) (diff)
downloadknot-resolver-451dff832d55020564a18b846a3e9fedd50996f6.tar.xz
knot-resolver-451dff832d55020564a18b846a3e9fedd50996f6.zip
rrl: configurable limits in yaml, deinit
Diffstat (limited to 'daemon/lua')
-rw-r--r--daemon/lua/kres-gen-30.lua1
-rw-r--r--daemon/lua/kres-gen-31.lua1
-rw-r--r--daemon/lua/kres-gen-32.lua1
-rwxr-xr-xdaemon/lua/kres-gen.sh1
4 files changed, 4 insertions, 0 deletions
diff --git a/daemon/lua/kres-gen-30.lua b/daemon/lua/kres-gen-30.lua
index 65c6ac5a..937453e9 100644
--- a/daemon/lua/kres-gen-30.lua
+++ b/daemon/lua/kres-gen-30.lua
@@ -580,6 +580,7 @@ knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct
struct qr_task *worker_resolve_start(knot_pkt_t *, struct kr_qflags);
int zi_zone_import(const zi_config_t);
_Bool kr_rrl_request_begin(struct kr_request *);
+void kr_rrl_init(const char *, size_t, uint32_t, uint32_t);
struct engine {
char _stub[];
};
diff --git a/daemon/lua/kres-gen-31.lua b/daemon/lua/kres-gen-31.lua
index cb96adf1..a8e17938 100644
--- a/daemon/lua/kres-gen-31.lua
+++ b/daemon/lua/kres-gen-31.lua
@@ -580,6 +580,7 @@ knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct
struct qr_task *worker_resolve_start(knot_pkt_t *, struct kr_qflags);
int zi_zone_import(const zi_config_t);
_Bool kr_rrl_request_begin(struct kr_request *);
+void kr_rrl_init(const char *, size_t, uint32_t, uint32_t);
struct engine {
char _stub[];
};
diff --git a/daemon/lua/kres-gen-32.lua b/daemon/lua/kres-gen-32.lua
index 7a416079..54be1b0b 100644
--- a/daemon/lua/kres-gen-32.lua
+++ b/daemon/lua/kres-gen-32.lua
@@ -581,6 +581,7 @@ knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct
struct qr_task *worker_resolve_start(knot_pkt_t *, struct kr_qflags);
int zi_zone_import(const zi_config_t);
_Bool kr_rrl_request_begin(struct kr_request *);
+void kr_rrl_init(const char *, size_t, uint32_t, uint32_t);
struct engine {
char _stub[];
};
diff --git a/daemon/lua/kres-gen.sh b/daemon/lua/kres-gen.sh
index 75294497..8860ef40 100755
--- a/daemon/lua/kres-gen.sh
+++ b/daemon/lua/kres-gen.sh
@@ -335,6 +335,7 @@ ${CDEFS} ${KRESD} functions <<-EOF
worker_resolve_start
zi_zone_import
kr_rrl_request_begin
+ kr_rrl_initialize
EOF
echo "struct engine" | ${CDEFS} ${KRESD} types | sed '/module_array_t/,$ d'