suricata
runmode-pfring.c File Reference
#include "suricata-common.h"
#include "runmode-pfring.h"
#include "tm-threads.h"
#include "conf.h"
#include "runmodes.h"
#include "source-pfring.h"
#include "suricata.h"
#include "util-bpf.h"
#include "util-debug.h"
#include "util-time.h"
#include "util-cpu.h"
#include "util-runmodes.h"
#include "util-device.h"
#include "util-ioctl.h"
#include "util-byte.h"
#include "util-conf.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 446 of file runmode-pfring.c.

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

◆ 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 475 of file runmode-pfring.c.

References 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 507 of file runmode-pfring.c.

References SCEnter, and TimeModeSetLive().

Referenced by RunModeIdsPfringRegister().

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