suricata
detect-transform-luaxform.c File Reference
#include "suricata-common.h"
#include "detect.h"
#include "detect-engine.h"
#include "detect-engine-buffer.h"
#include "detect-parse.h"
#include "detect-lua.h"
#include "detect-transform-luaxform.h"
#include "detect-lua-extensions.h"
#include "util-lua.h"
#include "util-lua-common.h"
#include "util-lua-builtins.h"
Include dependency graph for detect-transform-luaxform.c:

Go to the source code of this file.

Data Structures

struct  DetectLuaxformData
 
struct  DetectLuaxformThreadData
 

Macros

#define LUAXFORM_MAX_ARGS   10
 
#define LFLAG_ERROR_LOGGED   BIT_U32(27)
 
#define LFLAG_BLOCKED_FUNCTION_LOGGED   BIT_U32(28)
 
#define LFLAG_INSTRUCTION_LIMIT_LOGGED   BIT_U32(29)
 
#define LFLAG_MEMORY_LIMIT_LOGGED   BIT_U32(30)
 

Typedefs

typedef struct DetectLuaxformData DetectLuaxformData
 
typedef struct DetectLuaxformThreadData DetectLuaxformThreadData
 

Functions

void DetectTransformLuaxformRegister (void)
 

Detailed Description

Author
Jeff Lucovsky jluco.nosp@m.vsky.nosp@m.@oisf.nosp@m..net

Implements the luxaform transform keyword

Definition in file detect-transform-luaxform.c.

Macro Definition Documentation

◆ LFLAG_BLOCKED_FUNCTION_LOGGED

#define LFLAG_BLOCKED_FUNCTION_LOGGED   BIT_U32(28)

Definition at line 53 of file detect-transform-luaxform.c.

◆ LFLAG_ERROR_LOGGED

#define LFLAG_ERROR_LOGGED   BIT_U32(27)

Definition at line 52 of file detect-transform-luaxform.c.

◆ LFLAG_INSTRUCTION_LIMIT_LOGGED

#define LFLAG_INSTRUCTION_LIMIT_LOGGED   BIT_U32(29)

Definition at line 54 of file detect-transform-luaxform.c.

◆ LFLAG_MEMORY_LIMIT_LOGGED

#define LFLAG_MEMORY_LIMIT_LOGGED   BIT_U32(30)

Definition at line 55 of file detect-transform-luaxform.c.

◆ LUAXFORM_MAX_ARGS

#define LUAXFORM_MAX_ARGS   10

Definition at line 46 of file detect-transform-luaxform.c.

Typedef Documentation

◆ DetectLuaxformData

◆ DetectLuaxformThreadData

Function Documentation

◆ DetectTransformLuaxformRegister()

void DetectTransformLuaxformRegister ( void  )

Definition at line 461 of file detect-transform-luaxform.c.

References SigTableElmt_::desc, DETECT_TRANSFORM_LUAXFORM, SigTableElmt_::name, sigmatch_table, SigTableElmt_::Transform, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: