suricata-plugin.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include "queue.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  SCCapturePlugin_


#define PLUGIN_VAR_SIZE   64


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


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.

◆ SCPluginRegisterFunc

typedef SCPlugin*(* SCPluginRegisterFunc) (void)

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

Function Documentation

◆ SCPluginRegisterCapture()

int SCPluginRegisterCapture ( SCCapturePlugin )