suricata
|
Go to the source code of this file.
Data Structures | |
struct | PfringIfaceConfig_ |
struct | PfringPacketVars_ |
per packet Pfring vars More... | |
Macros | |
#define | PFRING_IFACE_NAME_LENGTH 48 |
#define | PFRING_CONF_FLAGS_CLUSTER (1 << 0) |
#define | PFRING_CONF_FLAGS_BYPASS (1 << 1) |
#define | CLUSTER_FLOW 0 |
#define | CLUSTER_ROUND_ROBIN 1 |
#define | CLUSTER_FLOW_5_TUPLE 4 |
Typedefs | |
typedef struct PfringThreadVars_ | PfringThreadVars |
typedef struct PfringIfaceConfig_ | PfringIfaceConfig |
typedef struct PfringPacketVars_ | PfringPacketVars |
per packet Pfring vars More... | |
Functions | |
void | TmModuleReceivePfringRegister (void) |
Registration Function for RecievePfring. More... | |
void | TmModuleDecodePfringRegister (void) |
Registration Function for DecodePfring. More... | |
int | PfringConfGetThreads (void) |
void | PfringLoadConfig (void) |
Definition in file source-pfring.h.
#define CLUSTER_FLOW 0 |
Definition at line 74 of file source-pfring.h.
#define CLUSTER_FLOW_5_TUPLE 4 |
Definition at line 76 of file source-pfring.h.
#define CLUSTER_ROUND_ROBIN 1 |
Definition at line 75 of file source-pfring.h.
#define PFRING_CONF_FLAGS_BYPASS (1 << 1) |
Definition at line 34 of file source-pfring.h.
#define PFRING_CONF_FLAGS_CLUSTER (1 << 0) |
Definition at line 33 of file source-pfring.h.
#define PFRING_IFACE_NAME_LENGTH 48 |
Definition at line 28 of file source-pfring.h.
typedef struct PfringIfaceConfig_ PfringIfaceConfig |
typedef struct PfringPacketVars_ PfringPacketVars |
per packet Pfring vars
This structure is used to pass packet metadata in callbacks.
typedef struct PfringThreadVars_ PfringThreadVars |
Definition at line 1 of file source-pfring.h.
int PfringConfGetThreads | ( | void | ) |
void PfringLoadConfig | ( | void | ) |
void TmModuleDecodePfringRegister | ( | void | ) |
Registration Function for DecodePfring.
Definition at line 179 of file source-pfring.c.
References DecodePfring(), DecodePfringThreadDeinit(), DecodePfringThreadInit(), TmModule_::flags, TmModule_::Func, TmModule_::name, TmModule_::ThreadDeinit, TmModule_::ThreadExitPrintStats, TmModule_::ThreadInit, TM_FLAG_DECODE_TM, TMM_DECODEPFRING, and tmm_modules.
Referenced by RegisterAllModules().
void TmModuleReceivePfringRegister | ( | void | ) |
Registration Function for RecievePfring.
Definition at line 163 of file source-pfring.c.
References TmModule_::flags, TmModule_::Func, TmModule_::name, PfringBreakLoop(), TmModule_::PktAcqBreakLoop, TmModule_::PktAcqLoop, ReceivePfringLoop(), ReceivePfringThreadDeinit(), ReceivePfringThreadExitStats(), ReceivePfringThreadInit(), TmModule_::ThreadDeinit, TmModule_::ThreadExitPrintStats, TmModule_::ThreadInit, TM_FLAG_RECEIVE_TM, tmm_modules, and TMM_RECEIVEPFRING.
Referenced by RegisterAllModules().