suricata
runmode-pfring.c File Reference
#include "suricata-common.h"
#include "tm-threads.h"
#include "conf.h"
#include "runmodes.h"
#include "runmode-pfring.h"
#include "source-pfring.h"
#include "output.h"
#include "util-debug.h"
#include "util-time.h"
#include "util-cpu.h"
#include "util-affinity.h"
#include "util-runmodes.h"
#include "util-device.h"
#include "util-ioctl.h"
#include "util-byte.h"
#include <pfring.h>
Include dependency graph for runmode-pfring.c:

Go to the source code of this file.

Macros

#define PFRING_CONF_V1   1
 
#define PFRING_CONF_V2   2
 

Functions

const char * RunModeIdsPfringGetDefaultMode (void)
 
void RunModeIdsPfringRegister (void)
 
int RunModeIdsPfringAutoFp (void)
 
int RunModeIdsPfringSingle (void)
 
int RunModeIdsPfringWorkers (void)
 

Macro Definition Documentation

◆ PFRING_CONF_V1

#define PFRING_CONF_V1   1

Definition at line 40 of file runmode-pfring.c.

◆ PFRING_CONF_V2

#define PFRING_CONF_V2   2

Definition at line 41 of file runmode-pfring.c.

Function Documentation

◆ RunModeIdsPfringAutoFp()

int RunModeIdsPfringAutoFp ( void  )

Definition at line 457 of file runmode-pfring.c.

References RunModeInitialize(), SCEnter, and TimeModeSetLive().

Referenced by RunModeIdsPfringRegister().

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

◆ RunModeIdsPfringGetDefaultMode()

const char* RunModeIdsPfringGetDefaultMode ( void  )

Definition at line 42 of file runmode-pfring.c.

Referenced by RunModeDispatch().

Here is the caller graph for this function:

◆ RunModeIdsPfringRegister()

void RunModeIdsPfringRegister ( void  )

Definition at line 51 of file runmode-pfring.c.

References RUNMODE_PFRING, RunModeIdsPfringAutoFp(), RunModeIdsPfringSingle(), RunModeIdsPfringWorkers(), and RunModeRegisterNewRunMode().

Here is the call graph for this function:

◆ RunModeIdsPfringSingle()

int RunModeIdsPfringSingle ( void  )

Definition at line 494 of file runmode-pfring.c.

References RunModeInitialize(), SCEnter, and TimeModeSetLive().

Referenced by RunModeIdsPfringRegister().

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

◆ RunModeIdsPfringWorkers()

int RunModeIdsPfringWorkers ( void  )

Definition at line 531 of file runmode-pfring.c.

References RunModeInitialize(), SCEnter, and TimeModeSetLive().

Referenced by RunModeIdsPfringRegister().

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