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

Go to the source code of this file.

Functions

const char * RunModeIpsNFQGetDefaultMode (void)
 
void RunModeIpsNFQRegister (void)
 
int RunModeIpsNFQAutoFp (void)
 
int RunModeIpsNFQWorker (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 NFQ runmodes.

Definition in file runmode-nfq.c.

Function Documentation

◆ RunModeIpsNFQAutoFp()

int RunModeIpsNFQAutoFp ( void  )

Definition at line 56 of file runmode-nfq.c.

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

Referenced by RunModeIpsNFQRegister().

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

◆ RunModeIpsNFQGetDefaultMode()

const char* RunModeIpsNFQGetDefaultMode ( void  )

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

◆ RunModeIpsNFQRegister()

void RunModeIpsNFQRegister ( void  )

Definition at line 47 of file runmode-nfq.c.

References RUNMODE_NFQ, RunModeIpsNFQAutoFp(), RunModeIpsNFQWorker(), and RunModeRegisterNewRunMode().

Here is the call graph for this function:

◆ RunModeIpsNFQWorker()

int RunModeIpsNFQWorker ( void  )

Definition at line 74 of file runmode-nfq.c.

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

Referenced by RunModeIpsNFQRegister().

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