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

#define PFRING_CONF_V1   1

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

Referenced by RunModeIdsPfringRegister().

#define PFRING_CONF_V2   2

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

Referenced by RunModeIdsPfringRegister().

Function Documentation

int RunModeIdsPfringAutoFp ( void  )

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

References RunModeInitialize(), RunModeSetLiveCaptureAutoFp(), SC_ERR_MISSING_CONFIG_PARAM, SC_ERR_RUNMODE, SCEnter, SCLogError, SCLogInfo, thread_name_autofp, and TimeModeSetLive().

Referenced by RunModeIdsPfringRegister().

Here is the call graph for this function:

Here is the caller graph for this function:

const char* RunModeIdsPfringGetDefaultMode ( void  )

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

Referenced by RunModeDispatch().

Here is the caller graph for this function:

int RunModeIdsPfringSingle ( void  )

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

References RunModeInitialize(), RunModeSetLiveCaptureSingle(), SC_ERR_MISSING_CONFIG_PARAM, SC_ERR_RUNMODE, SCEnter, SCLogError, SCLogInfo, thread_name_single, and TimeModeSetLive().

Referenced by RunModeIdsPfringRegister().

Here is the call graph for this function:

Here is the caller graph for this function:

int RunModeIdsPfringWorkers ( void  )

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

References RunModeInitialize(), RunModeSetLiveCaptureWorkers(), SC_ERR_MISSING_CONFIG_PARAM, SC_ERR_RUNMODE, SCEnter, SCLogError, SCLogInfo, thread_name_workers, and TimeModeSetLive().

Referenced by RunModeIdsPfringRegister().

Here is the call graph for this function:

Here is the caller graph for this function: