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)
 

Detailed Description

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

Definition in file runmode-netmap.h.

Function Documentation

◆ RunModeIdsNetmapAutoFp()

int RunModeIdsNetmapAutoFp ( void  )

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

References FatalError, SCEnter, and SCReturnInt.

◆ RunModeIdsNetmapRegister()

void RunModeIdsNetmapRegister ( void  )

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

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

Here is the call graph for this function:

◆ RunModeIdsNetmapSingle()

int RunModeIdsNetmapSingle ( void  )

Single thread version of the netmap processing.

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

References FatalError, 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 484 of file runmode-netmap.c.

References FatalError, SCEnter, and SCReturnInt.

◆ RunModeNetmapGetDefaultMode()

const char* RunModeNetmapGetDefaultMode ( void  )

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