suricata
runmode-ipfw.c File Reference
#include "suricata-common.h"
#include "tm-threads.h"
#include "conf.h"
#include "runmodes.h"
#include "runmode-ipfw.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 "source-ipfw.h"
#include "util-device.h"
Include dependency graph for runmode-ipfw.c:

Go to the source code of this file.

Functions

const char * RunModeIpsIPFWGetDefaultMode (void)
 
void RunModeIpsIPFWRegister (void)
 
int RunModeIpsIPFWAutoFp (void)
 
int RunModeIpsIPFWWorker (void)
 

Detailed Description

Author
Anoop Saldanha anoop.nosp@m.sald.nosp@m.anha@.nosp@m.gmai.nosp@m.l.com
Eric Leblond eric@.nosp@m.regi.nosp@m.t.org

Handling of ipfw runmodes.

Definition in file runmode-ipfw.c.

Function Documentation

◆ RunModeIpsIPFWAutoFp()

int RunModeIpsIPFWAutoFp ( void  )

Definition at line 60 of file runmode-ipfw.c.

References IPFWGetThread(), LiveDeviceHasNoStats(), RunModeSetIPSAutoFp(), SCEnter, and TimeModeSetLive().

Referenced by RunModeIpsIPFWRegister().

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

◆ RunModeIpsIPFWGetDefaultMode()

const char* RunModeIpsIPFWGetDefaultMode ( void  )

Definition at line 44 of file runmode-ipfw.c.

◆ RunModeIpsIPFWRegister()

void RunModeIpsIPFWRegister ( void  )

Definition at line 49 of file runmode-ipfw.c.

References RUNMODE_IPFW, RunModeIpsIPFWAutoFp(), RunModeIpsIPFWWorker(), and RunModeRegisterNewRunMode().

Here is the call graph for this function:

◆ RunModeIpsIPFWWorker()

int RunModeIpsIPFWWorker ( void  )

Definition at line 78 of file runmode-ipfw.c.

References IPFWGetThread(), LiveDeviceHasNoStats(), RunModeSetIPSWorker(), SCEnter, and TimeModeSetLive().

Referenced by RunModeIpsIPFWRegister().

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