1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 11:01:50 +00:00
openmptcprouter-feeds/xtables-addons/patches/201-fix-lua-packetscript.patch

13 lines
621 B
Diff
Raw Normal View History

2024-09-30 07:07:58 +00:00
--- a/extensions/LUA/controller.h 2024-09-26 16:49:17.099012595 +0200
+++ b/extensions/LUA/controller.h 2024-09-26 16:49:39.098706793 +0200
@@ -244,6 +244,9 @@
int get_string_generic(lua_State *L);
int get_byte_generic_str(lua_State *L);
struct field_changes * get_allocated_field_changes(lua_State *L, int nr_of_fields);
+int32_t get_header_size(struct protocol_buf * prot_buf);
+struct field_changes * tftp_get_field_changes(lua_State *L, lua_packet_segment * seg);
+void free_dynamic_prot_buf(struct protocol_buf * prot_buf);
/* only used by the dynamic prot buf subsystem */
#define MAX_NR_OF_DYN_PROT_BUFS 16