suricata
detect-lua-extensions.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "detect.h"
#include "flow.h"
#include "flow-var.h"
#include "util-debug.h"
#include "detect-lua.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"
Include dependency graph for detect-lua-extensions.c:

Go to the source code of this file.

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...
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Functions to expose to the lua scripts.

Definition in file detect-lua-extensions.c.

Function Documentation

◆ LuaExtensionsMatchSetup()

void LuaExtensionsMatchSetup ( lua_State lua_state,
DetectLuaData ld,
DetectEngineThreadCtx det_ctx,
Flow f,
Packet p,
const Signature s,
uint8_t  flags 
)

Definition at line 478 of file detect-lua-extensions.c.

References SCLogDebug.

Referenced by DetectLuaMatchBuffer().

Here is the caller graph for this function:

◆ LuaRegisterExtensions()

int LuaRegisterExtensions ( lua_State lua_state)

Register Suricata Lua functions.

Definition at line 511 of file detect-lua-extensions.c.