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  SCPluginFileType_
struct  SCCapturePlugin_


#define PLUGIN_VAR_SIZE   64


typedef struct SCPlugin_ SCPlugin
typedef struct SCPluginFileType_ SCPluginFileType
typedef struct SCCapturePlugin_ SCCapturePlugin


bool SCPluginRegisterFileType (SCPluginFileType *)
int SCPluginRegisterCapture (SCCapturePlugin *)

Macro Definition Documentation


#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

◆ SCPlugin

typedef struct SCPlugin_ SCPlugin

Structure to define a Suricata plugin.

◆ SCPluginFileType

Structure used to define a file type plugin.

Currently only used by the Eve output type.

name – The plugin name. This name is used to identify the plugin: eve-log.filetype and in the plugins: section

Function Documentation

◆ SCPluginRegisterCapture()

int SCPluginRegisterCapture ( SCCapturePlugin )

◆ SCPluginRegisterFileType()

bool SCPluginRegisterFileType ( SCPluginFileType )