suricata
|
#include "suricata-common.h"
#include "output.h"
#include "output-packet.h"
#include "util-profiling.h"
#include "util-validate.h"
Go to the source code of this file.
Data Structures | |
struct | OutputPacketLoggerThreadData_ |
struct | OutputPacketLogger_ |
Typedefs | |
typedef struct OutputPacketLoggerThreadData_ | OutputPacketLoggerThreadData |
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) |
Packet Logger Output registration functions
Definition in file output-packet.c.
typedef struct OutputPacketLogger_ OutputPacketLogger |
typedef struct OutputPacketLoggerThreadData_ OutputPacketLoggerThreadData |
per thread data for this module, contains a list of per thread data for the packet loggers.
void OutputPacketLoggerRegister | ( | void | ) |
Definition at line 216 of file output-packet.c.
References OutputRegisterRootLogger().
Referenced by OutputRegisterRootLoggers().
void OutputPacketShutdown | ( | void | ) |
Definition at line 223 of file output-packet.c.
int OutputRegisterPacketLogger | ( | LoggerId | logger_id, |
const char * | name, | ||
PacketLogger | LogFunc, | ||
PacketLogCondition | ConditionFunc, | ||
OutputCtx * | output_ctx, | ||
ThreadInitFunc | ThreadInit, | ||
ThreadDeinitFunc | ThreadDeinit, | ||
ThreadExitPrintStatsFunc | ThreadExitPrintStats | ||
) |
Definition at line 55 of file output-packet.c.
References OutputPacketLogger_::ConditionFunc, OutputPacketLogger_::LogFunc, OutputPacketLogger_::logger_id, OutputPacketLogger_::name, OutputPacketLogger_::output_ctx, SCMalloc, OutputPacketLogger_::ThreadDeinit, OutputPacketLogger_::ThreadExitPrintStats, and OutputPacketLogger_::ThreadInit.