suricata
suricata-plugin.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include "conf.h"
Include dependency graph for suricata-plugin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SCPlugin_
 
struct  SCEveFileType_
 
struct  SCCapturePlugin_
 

Macros

#define PLUGIN_VAR_SIZE   64
 

Typedefs

typedef struct SCPlugin_ SCPlugin
 
typedef SCPlugin *(* SCPluginRegisterFunc) (void)
 
typedef struct SCEveFileType_ SCEveFileType
 
typedef struct SCCapturePlugin_ SCCapturePlugin
 

Functions

bool SCRegisterEveFileType (SCEveFileType *)
 
int SCPluginRegisterCapture (SCCapturePlugin *)
 

Macro Definition Documentation

◆ PLUGIN_VAR_SIZE

#define PLUGIN_VAR_SIZE   64

The size of the data chunk inside each packet structure a plugin has for private data (Packet->plugin_v).

Definition at line 31 of file suricata-plugin.h.

Typedef Documentation

◆ SCCapturePlugin

◆ SCEveFileType

typedef struct SCEveFileType_ SCEveFileType

Structure used to define an Eve output file type plugin.

◆ SCPlugin

typedef struct SCPlugin_ SCPlugin

Structure to define a Suricata plugin.

◆ SCPluginRegisterFunc

typedef SCPlugin*(* SCPluginRegisterFunc) (void)

Definition at line 42 of file suricata-plugin.h.

Function Documentation

◆ SCPluginRegisterCapture()

int SCPluginRegisterCapture ( SCCapturePlugin )

◆ SCRegisterEveFileType()

bool SCRegisterEveFileType ( SCEveFileType )