Go to the documentation of this file.
24 #ifndef SURICATA_DETECT_LUA_H
25 #define SURICATA_DETECT_LUA_H
35 #define DETECT_LUA_MAX_FLOWVARS 15
36 #define DETECT_LUA_MAX_FLOWINTS 15
37 #define DETECT_LUA_MAX_BYTEVARS 15
60 const uint8_t *buffer, uint32_t buffer_len, uint32_t
offset,
int allow_restricted_functions
#define DETECT_LUA_MAX_FLOWVARS
struct DetectLuaData DetectLuaData
uint32_t flowvar[DETECT_LUA_MAX_FLOWVARS]
struct lua_State lua_State
int DetectLuaMatchBuffer(DetectEngineThreadCtx *det_ctx, const Signature *s, const SigMatchData *smd, const uint8_t *buffer, uint32_t buffer_len, uint32_t offset, Flow *f)
uint64_t instruction_limit
#define DETECT_LUA_MAX_BYTEVARS
#define DETECT_LUA_MAX_FLOWINTS
uint32_t bytevar[DETECT_LUA_MAX_BYTEVARS]
uint32_t flowint[DETECT_LUA_MAX_FLOWINTS]
void LuaDumpStack(lua_State *state, const char *prefix)
dump stack from lua state to screen
struct DetectLuaThreadData DetectLuaThreadData
void DetectLuaRegister(void)
Registration function for keyword: lua.