suricata
tm-queuehandlers.c File Reference
#include "suricata-common.h"
#include "packet-queue.h"
#include "decode.h"
#include "threads.h"
#include "threadvars.h"
#include "tm-queuehandlers.h"
#include "tmqh-simple.h"
#include "tmqh-packetpool.h"
#include "tmqh-flow.h"
Include dependency graph for tm-queuehandlers.c:

Go to the source code of this file.

Functions

void TmqhSetup (void)
 
void TmqhCleanup (void)
 Clean up registration time allocs. More...
 
int TmqhNameToID (const char *name)
 
TmqhTmqhGetQueueHandlerByName (const char *name)
 
TmqhTmqhGetQueueHandlerByID (const int id)
 

Variables

Tmqh tmqh_table [TMQH_SIZE]
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Master Queue Handler

Definition in file tm-queuehandlers.c.

Function Documentation

◆ TmqhCleanup()

void TmqhCleanup ( void  )

Clean up registration time allocs.

Definition at line 49 of file tm-queuehandlers.c.

Referenced by GlobalsDestroy().

Here is the caller graph for this function:

◆ TmqhGetQueueHandlerByID()

Tmqh* TmqhGetQueueHandlerByID ( const int  id)

Definition at line 77 of file tm-queuehandlers.c.

References TMQH_SIZE, and tmqh_table.

◆ TmqhGetQueueHandlerByName()

Tmqh* TmqhGetQueueHandlerByName ( const char *  name)

Definition at line 65 of file tm-queuehandlers.c.

References TMQH_SIZE, and tmqh_table.

Referenced by TmThreadCreate().

Here is the caller graph for this function:

◆ TmqhNameToID()

int TmqhNameToID ( const char *  name)

Definition at line 53 of file tm-queuehandlers.c.

References TMQH_SIZE, and tmqh_table.

Referenced by TmThreadCreate().

Here is the caller graph for this function:

◆ TmqhSetup()

void TmqhSetup ( void  )

Definition at line 39 of file tm-queuehandlers.c.

References tmqh_table, TmqhFlowRegister(), TmqhPacketpoolRegister(), and TmqhSimpleRegister().

Referenced by RunUnittests().

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

Variable Documentation

◆ tmqh_table