suricata
output-packet.c File Reference
#include "suricata-common.h"
#include "tm-modules.h"
#include "output.h"
#include "output-packet.h"
#include "util-profiling.h"
#include "util-validate.h"
Include dependency graph for output-packet.c:

Go to the source code of this file.

Data Structures

struct  OutputLoggerThreadStore_
 
struct  OutputLoggerThreadData_
 
struct  OutputPacketLogger_
 

Typedefs

typedef struct OutputLoggerThreadStore_ OutputLoggerThreadStore
 
typedef struct OutputLoggerThreadData_ OutputLoggerThreadData
 
typedef struct OutputPacketLogger_ OutputPacketLogger
 

Functions

int OutputRegisterPacketLogger (LoggerId logger_id, const char *name, PacketLogger LogFunc, PacketLogCondition ConditionFunc, OutputCtx *output_ctx, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
 
void OutputPacketLoggerRegister (void)
 
void OutputPacketShutdown (void)
 

Detailed Description

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

Packet Logger Output registration functions

Definition in file output-packet.c.

Typedef Documentation

per thread data for this module, contains a list of per thread data for the packet loggers.

Function Documentation

void OutputPacketLoggerRegister ( void  )

Definition at line 213 of file output-packet.c.

References OutputRegisterRootLogger().

Referenced by OutputRegisterRootLoggers().

Here is the call graph for this function:

Here is the caller graph for this function:

void OutputPacketShutdown ( void  )

Definition at line 220 of file output-packet.c.

References OutputPacketLogger_::next, and SCFree.

Referenced by RunModeShutDown().

Here is the caller graph for this function: