suricata
runmode-netmap.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int RunModeIdsNetmapSingle (void)
 Single thread version of the netmap processing. More...
 
int RunModeIdsNetmapAutoFp (void)
 
int RunModeIdsNetmapWorkers (void)
 Workers version of the netmap processing. More...
 
void RunModeIdsNetmapRegister (void)
 
const char * RunModeNetmapGetDefaultMode (void)
 
int NetmapRunModeIsIPS (void)
 

Detailed Description

Author
Aleksey Katargin guree.nosp@m.do@g.nosp@m.mail..nosp@m.com

Definition in file runmode-netmap.h.

Function Documentation

◆ NetmapRunModeIsIPS()

int NetmapRunModeIsIPS ( void  )

◆ RunModeIdsNetmapAutoFp()

int RunModeIdsNetmapAutoFp ( void  )

Definition at line 467 of file runmode-netmap.c.

References FatalError, SC_ERR_FATAL, SCEnter, and SCReturnInt.

Referenced by RunModeIdsNetmapRegister().

Here is the caller graph for this function:

◆ RunModeIdsNetmapRegister()

void RunModeIdsNetmapRegister ( void  )

Definition at line 55 of file runmode-netmap.c.

References RUNMODE_NETMAP, RunModeIdsNetmapAutoFp(), RunModeIdsNetmapSingle(), RunModeIdsNetmapWorkers(), and RunModeRegisterNewRunMode().

Here is the call graph for this function:

◆ RunModeIdsNetmapSingle()

int RunModeIdsNetmapSingle ( void  )

Single thread version of the netmap processing.

Definition at line 477 of file runmode-netmap.c.

References FatalError, SC_ERR_FATAL, SCEnter, and SCReturnInt.

Referenced by RunModeIdsNetmapRegister().

Here is the caller graph for this function:

◆ RunModeIdsNetmapWorkers()

int RunModeIdsNetmapWorkers ( void  )

Workers version of the netmap processing.

Start N threads with each thread doing all the work.

Definition at line 490 of file runmode-netmap.c.

References FatalError, SC_ERR_FATAL, SCEnter, and SCReturnInt.

Referenced by RunModeIdsNetmapRegister().

Here is the caller graph for this function:

◆ RunModeNetmapGetDefaultMode()

const char* RunModeNetmapGetDefaultMode ( void  )

Definition at line 50 of file runmode-netmap.c.

Referenced by RunModeDispatch().

Here is the caller graph for this function: