suricata
|
Go to the source code of this file.
Macros | |
#define | OUTPUT_STREAMING_FLAG_OPEN 0x01 |
#define | OUTPUT_STREAMING_FLAG_CLOSE 0x02 |
#define | OUTPUT_STREAMING_FLAG_TOSERVER 0x04 |
#define | OUTPUT_STREAMING_FLAG_TOCLIENT 0x08 |
#define | OUTPUT_STREAMING_FLAG_TRANSACTION 0x10 |
Typedefs | |
typedef int(* | StreamingLogger) (ThreadVars *, void *thread_data, const Flow *f, const uint8_t *data, uint32_t data_len, uint64_t tx_id, uint8_t flags) |
Enumerations | |
enum | OutputStreamingType { STREAMING_TCP_DATA, STREAMING_HTTP_BODIES } |
Functions | |
int | OutputRegisterStreamingLogger (LoggerId id, const char *name, StreamingLogger LogFunc, OutputCtx *, enum OutputStreamingType, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats) |
void | OutputStreamingLoggerRegister (void) |
void | OutputStreamingShutdown (void) |
Streaming Logger Output registration functions
Definition in file output-streaming.h.
#define OUTPUT_STREAMING_FLAG_CLOSE 0x02 |
Definition at line 32 of file output-streaming.h.
#define OUTPUT_STREAMING_FLAG_OPEN 0x01 |
Definition at line 31 of file output-streaming.h.
#define OUTPUT_STREAMING_FLAG_TOCLIENT 0x08 |
Definition at line 34 of file output-streaming.h.
#define OUTPUT_STREAMING_FLAG_TOSERVER 0x04 |
Definition at line 33 of file output-streaming.h.
#define OUTPUT_STREAMING_FLAG_TRANSACTION 0x10 |
Definition at line 35 of file output-streaming.h.
typedef int(* StreamingLogger) (ThreadVars *, void *thread_data, const Flow *f, const uint8_t *data, uint32_t data_len, uint64_t tx_id, uint8_t flags) |
streaming logger function pointer type
Definition at line 42 of file output-streaming.h.
enum OutputStreamingType |
Enumerator | |
---|---|
STREAMING_TCP_DATA | |
STREAMING_HTTP_BODIES |
Definition at line 36 of file output-streaming.h.
int OutputRegisterStreamingLogger | ( | LoggerId | id, |
const char * | name, | ||
StreamingLogger | LogFunc, | ||
OutputCtx * | , | ||
enum | OutputStreamingType, | ||
ThreadInitFunc | ThreadInit, | ||
ThreadDeinitFunc | ThreadDeinit, | ||
ThreadExitPrintStatsFunc | ThreadExitPrintStats | ||
) |
Definition at line 64 of file output-streaming.c.
References OutputStreamingLogger_::LogFunc, OutputStreamingLogger_::logger_id, OutputStreamingLogger_::name, OutputStreamingLogger_::output_ctx, SCMalloc, OutputStreamingLogger_::ThreadDeinit, OutputStreamingLogger_::ThreadExitPrintStats, OutputStreamingLogger_::ThreadInit, type, and OutputStreamingLogger_::type.
void OutputStreamingLoggerRegister | ( | void | ) |
Definition at line 456 of file output-streaming.c.
References OutputRegisterRootLogger().
Referenced by OutputRegisterRootLoggers().
void OutputStreamingShutdown | ( | void | ) |
Definition at line 462 of file output-streaming.c.