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
65 const uint8_t *buffer, uint32_t buffer_len, uint32_t
offset,
#define DETECT_LUA_MAX_FLOWINTS
struct DetectLuaDataBytevarEntry_ DetectLuaDataBytevarEntry
#define DETECT_LUA_MAX_FLOWVARS
int DetectLuaMatchBuffer(DetectEngineThreadCtx *det_ctx, const Signature *s, const SigMatchData *smd, const uint8_t *buffer, uint32_t buffer_len, uint32_t offset, Flow *f)
void LuaDumpStack(lua_State *state, const char *prefix)
dump stack from lua state to screen
void DetectLuaRegister(void)
Registration function for keyword: lua.
#define DETECT_LUA_MAX_BYTEVARS
uint64_t instruction_limit
uint32_t flowint[DETECT_LUA_MAX_FLOWINTS]
int allow_restricted_functions
uint32_t flowvar[DETECT_LUA_MAX_FLOWVARS]
DetectLuaDataBytevarEntry bytevar[DETECT_LUA_MAX_BYTEVARS]
struct lua_State lua_State