source-pfring.h File Reference
#include <config.h>
Include dependency graph for source-pfring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PfringIfaceConfig_
struct  PfringPacketVars_
 per packet Pfring vars More...


#define PFRING_CONF_FLAGS_CLUSTER   (1 << 0)
#define PFRING_CONF_FLAGS_BYPASS   (1 << 1)
#define CLUSTER_FLOW   0
#define CLUSTER_FLOW_5_TUPLE   4


typedef struct PfringThreadVars_ PfringThreadVars
typedef struct PfringIfaceConfig_ PfringIfaceConfig
typedef struct PfringPacketVars_ PfringPacketVars
 per packet Pfring vars More...


void TmModuleReceivePfringRegister (void)
 Registration Function for RecievePfring. More...
void TmModuleDecodePfringRegister (void)
 Registration Function for DecodePfring. More...
int PfringConfGetThreads (void)
void PfringLoadConfig (void)

Detailed Description

Macro Definition Documentation


#define CLUSTER_FLOW   0

Definition at line 76 of file source-pfring.h.


#define CLUSTER_FLOW_5_TUPLE   4

Definition at line 78 of file source-pfring.h.



Definition at line 77 of file source-pfring.h.


#define PFRING_CONF_FLAGS_BYPASS   (1 << 1)

Definition at line 36 of file source-pfring.h.


#define PFRING_CONF_FLAGS_CLUSTER   (1 << 0)

Definition at line 35 of file source-pfring.h.



Definition at line 28 of file source-pfring.h.

Typedef Documentation

◆ PfringIfaceConfig

◆ PfringPacketVars

per packet Pfring vars

This structure is used to pass packet metadata in callbacks.

◆ PfringThreadVars

Definition at line 1 of file source-pfring.h.

Function Documentation

◆ PfringConfGetThreads()

int PfringConfGetThreads ( void  )

◆ PfringLoadConfig()

void PfringLoadConfig ( void  )

◆ TmModuleDecodePfringRegister()

void TmModuleDecodePfringRegister ( void  )

Registration Function for DecodePfring.

Unit tests are needed for this module.

Definition at line 180 of file source-pfring.c.

References DecodePfring(), DecodePfringThreadDeinit(), DecodePfringThreadInit(), TmModule_::flags, TmModule_::Func, TmModule_::name, TmModule_::RegisterTests, TmModule_::ThreadDeinit, TmModule_::ThreadExitPrintStats, TmModule_::ThreadInit, TM_FLAG_DECODE_TM, TMM_DECODEPFRING, and tmm_modules.

Referenced by RegisterAllModules().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TmModuleReceivePfringRegister()

void TmModuleReceivePfringRegister ( void  )