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

int NetmapRunModeIsIPS ( void  )

Referenced by PostRunDeinit(), and RunModeIdsNetmapRegister().

Here is the caller graph for this function:

int RunModeIdsNetmapAutoFp ( void  )

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

References ConfGet(), RunModeInitialize(), RunModeSetLiveCaptureAutoFp(), SC_ERR_RUNMODE, SCEnter, SCLogDebug, SCLogError, SCReturnInt, thread_name_autofp, and TimeModeSetLive().

Referenced by RunModeIdsNetmapRegister().

Here is the call graph for this function:

Here is the caller graph for this function:

int RunModeIdsNetmapSingle ( void  )

Single thread version of the netmap processing.

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

References ConfGet(), RunModeInitialize(), RunModeSetLiveCaptureSingle(), SC_ERR_RUNMODE, SCEnter, SCLogDebug, SCLogError, SCReturnInt, thread_name_single, and TimeModeSetLive().

Referenced by RunModeIdsNetmapRegister().

Here is the call graph for this function:

Here is the caller graph for this function:

int RunModeIdsNetmapWorkers ( void  )

Workers version of the netmap processing.

Start N threads with each thread doing all the work.

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

References ConfGet(), RunModeInitialize(), RunModeSetLiveCaptureWorkers(), SC_ERR_RUNMODE, SCEnter, SCLogDebug, SCLogError, SCReturnInt, thread_name_workers, and TimeModeSetLive().

Referenced by RunModeIdsNetmapRegister().

Here is the call graph for this function:

Here is the caller graph for this function:

const char* RunModeNetmapGetDefaultMode ( void  )

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

Referenced by RunModeDispatch().

Here is the caller graph for this function: