diff options
author | Lukáš Ondráček <lukas.ondracek@nic.cz> | 2024-05-28 16:47:17 +0200 |
---|---|---|
committer | Oto Šťáva <oto.stava@nic.cz> | 2024-06-04 17:40:55 +0200 |
commit | 8cc225605540d74860669cbd1baee7809dcae7d4 (patch) | |
tree | 36280acc8cd0b969876e71cb07a59d81b3675429 /daemon/lua | |
parent | Merge branch 'master' into 'rrl-wip' (diff) | |
download | knot-resolver-8cc225605540d74860669cbd1baee7809dcae7d4.tar.xz knot-resolver-8cc225605540d74860669cbd1baee7809dcae7d4.zip |
rrl: renaming, movements, create defer protolayer
Diffstat (limited to 'daemon/lua')
-rw-r--r-- | daemon/lua/kres-gen-30.lua | 4 | ||||
-rw-r--r-- | daemon/lua/kres-gen-31.lua | 4 | ||||
-rw-r--r-- | daemon/lua/kres-gen-32.lua | 4 | ||||
-rwxr-xr-x | daemon/lua/kres-gen.sh | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/daemon/lua/kres-gen-30.lua b/daemon/lua/kres-gen-30.lua index c09da754..c7df184c 100644 --- a/daemon/lua/kres-gen-30.lua +++ b/daemon/lua/kres-gen-30.lua @@ -580,8 +580,8 @@ int worker_resolve_exec(struct qr_task *, knot_pkt_t *); knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct kr_qflags *); 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, int); +_Bool ratelimiting_request_begin(struct kr_request *); +void ratelimiting_init(const char *, size_t, uint32_t, uint32_t, int); struct engine { char _stub[]; }; diff --git a/daemon/lua/kres-gen-31.lua b/daemon/lua/kres-gen-31.lua index 51587b7c..28c9c5a6 100644 --- a/daemon/lua/kres-gen-31.lua +++ b/daemon/lua/kres-gen-31.lua @@ -580,8 +580,8 @@ int worker_resolve_exec(struct qr_task *, knot_pkt_t *); knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct kr_qflags *); 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, int); +_Bool ratelimiting_request_begin(struct kr_request *); +void ratelimiting_init(const char *, size_t, uint32_t, uint32_t, int); struct engine { char _stub[]; }; diff --git a/daemon/lua/kres-gen-32.lua b/daemon/lua/kres-gen-32.lua index 0c91909a..cbf4b304 100644 --- a/daemon/lua/kres-gen-32.lua +++ b/daemon/lua/kres-gen-32.lua @@ -581,8 +581,8 @@ int worker_resolve_exec(struct qr_task *, knot_pkt_t *); knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct kr_qflags *); 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, int); +_Bool ratelimiting_request_begin(struct kr_request *); +void ratelimiting_init(const char *, size_t, uint32_t, uint32_t, int); struct engine { char _stub[]; }; diff --git a/daemon/lua/kres-gen.sh b/daemon/lua/kres-gen.sh index c14df875..beb4b7e8 100755 --- a/daemon/lua/kres-gen.sh +++ b/daemon/lua/kres-gen.sh @@ -337,8 +337,8 @@ ${CDEFS} ${KRESD} functions <<-EOF worker_resolve_mk_pkt worker_resolve_start zi_zone_import - kr_rrl_request_begin - kr_rrl_init + ratelimiting_request_begin + ratelimiting_init EOF echo "struct engine" | ${CDEFS} ${KRESD} types | sed '/module_array_t/,$ d' |