suricata
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...
 

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)
 

Detailed Description

Macro Definition Documentation

#define CLUSTER_FLOW   0

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

Referenced by ReceivePfringThreadInit(), and RunModeIdsPfringRegister().

#define CLUSTER_FLOW_5_TUPLE   4

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

Referenced by ReceivePfringThreadInit().

#define CLUSTER_ROUND_ROBIN   1

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

Referenced by RunModeIdsPfringRegister().

#define PFRING_CONF_FLAGS_BYPASS   (1 << 1)

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

Referenced by ReceivePfringThreadInit(), and RunModeIdsPfringRegister().

#define PFRING_CONF_FLAGS_CLUSTER   (1 << 0)

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

Referenced by ReceivePfringThreadInit(), and RunModeIdsPfringRegister().

#define PFRING_IFACE_NAME_LENGTH   48

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

Typedef Documentation

per packet Pfring vars

This structure is used to pass packet metadata in callbacks.

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

Function Documentation

int PfringConfGetThreads ( void  )
void PfringLoadConfig ( void  )
void TmModuleReceivePfringRegister ( void  )