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 440 of file runmode-netmap.c.

References FatalError, SCEnter, and SCReturnInt.

◆ RunModeIdsNetmapRegister()

void RunModeIdsNetmapRegister ( void  )

Definition at line 127 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 450 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 463 of file runmode-netmap.c.

References FatalError, SCEnter, and SCReturnInt.

◆ RunModeNetmapGetDefaultMode()

const char* RunModeNetmapGetDefaultMode ( void  )

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