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

Go to the source code of this file.

Data Structures

struct  Tmqh_
 

Typedefs

typedef struct Tmqh_ Tmqh
 

Enumerations

enum  {
  TMQH_NOT_SET, TMQH_SIMPLE, TMQH_PACKETPOOL, TMQH_FLOW,
  TMQH_SIZE
}
 

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

Typedef Documentation

◆ Tmqh

typedef struct Tmqh_ Tmqh

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TMQH_NOT_SET 
TMQH_SIMPLE 
TMQH_PACKETPOOL 
TMQH_FLOW 
TMQH_SIZE 

Definition at line 27 of file tm-queuehandlers.h.

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().

Here is the call graph for this function:

Variable Documentation

◆ tmqh_table