suricata
|
#include "suricata-common.h"
#include "conf.h"
#include "threads.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-flowvar.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-state.h"
#include "flow.h"
#include "flow-var.h"
#include "flow-util.h"
#include "util-debug.h"
#include "util-spm-bm.h"
#include "util-print.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "app-layer.h"
#include "stream-tcp.h"
#include "detect-lua.h"
#include "queue.h"
#include "util-cpu.h"
#include "app-layer-parser.h"
#include "util-lua.h"
#include "util-lua-common.h"
#include "util-lua-http.h"
#include "util-lua-dns.h"
#include "util-lua-ja3.h"
#include "util-lua-tls.h"
#include "util-lua-ssh.h"
#include "util-lua-hassh.h"
#include "util-lua-smtp.h"
#include "util-lua-dnp3.h"
#include "detect-lua-extensions.h"
Go to the source code of this file.
Macros | |
#define | LUA_ERROR(msg) |
Functions | |
void | LuaExtensionsMatchSetup (lua_State *lua_state, DetectLuaData *ld, DetectEngineThreadCtx *det_ctx, Flow *f, Packet *p, const Signature *s, uint8_t flags) |
int | LuaRegisterExtensions (lua_State *lua_state) |
Register Suricata Lua functions. More... | |
Functions to expose to the lua scripts.
Definition in file detect-lua-extensions.c.
#define LUA_ERROR | ( | msg | ) |
Definition at line 80 of file detect-lua-extensions.c.
void LuaExtensionsMatchSetup | ( | lua_State * | lua_state, |
DetectLuaData * | ld, | ||
DetectEngineThreadCtx * | det_ctx, | ||
Flow * | f, | ||
Packet * | p, | ||
const Signature * | s, | ||
uint8_t | flags | ||
) |
Definition at line 507 of file detect-lua-extensions.c.
References SCLogDebug.
Referenced by DetectLuaMatchBuffer().
int LuaRegisterExtensions | ( | lua_State * | lua_state | ) |
Register Suricata Lua functions.
Definition at line 540 of file detect-lua-extensions.c.