suricata
|
#include "suricata-common.h"
#include "output.h"
#include "output-tx.h"
#include "stream.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "util-profiling.h"
#include "util-validate.h"
Go to the source code of this file.
Data Structures | |
struct | OutputTxLoggerThreadData_ |
struct | OutputTxLogger_ |
struct | Ctx |
Typedefs | |
typedef struct OutputTxLoggerThreadData_ | OutputTxLoggerThreadData |
typedef struct OutputTxLogger_ | OutputTxLogger |
Functions | |
int | OutputRegisterTxLogger (LoggerId id, const char *name, AppProto alproto, TxLogger LogFunc, OutputCtx *output_ctx, int tc_log_progress, int ts_log_progress, TxLoggerCondition LogCondition, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, void(*ThreadExitPrintStats)(ThreadVars *, void *)) |
void | OutputTxLoggerRegister (void) |
void | OutputTxShutdown (void) |
Variables | |
bool | g_file_logger_enabled |
bool | g_filedata_logger_enabled |
AppLayer TX Logger Output registration functions
Definition in file output-tx.c.
typedef struct OutputTxLogger_ OutputTxLogger |
typedef struct OutputTxLoggerThreadData_ OutputTxLoggerThreadData |
per thread data for this module, contains a list of per thread data for the packet loggers.
int OutputRegisterTxLogger | ( | LoggerId | id, |
const char * | name, | ||
AppProto | alproto, | ||
TxLogger | LogFunc, | ||
OutputCtx * | output_ctx, | ||
int | tc_log_progress, | ||
int | ts_log_progress, | ||
TxLoggerCondition | LogCondition, | ||
ThreadInitFunc | ThreadInit, | ||
ThreadDeinitFunc | ThreadDeinit, | ||
void(*)(ThreadVars *, void *) | ThreadExitPrintStats | ||
) |
Definition at line 67 of file output-tx.c.
References OutputTxLogger_::alproto, ALPROTO_UNKNOWN, AppLayerParserGetStateProgressCompletionStatus(), AppLayerParserIsEnabled(), AppProtoToString(), OutputTxLogger_::id, OutputTxLogger_::LogCondition, OutputTxLogger_::LogFunc, OutputTxLogger_::logger_id, OutputTxLogger_::name, OutputTxLogger_::output_ctx, SCLogDebug, SCMalloc, OutputTxLogger_::tc_log_progress, OutputTxLogger_::ThreadDeinit, OutputTxLogger_::ThreadExitPrintStats, OutputTxLogger_::ThreadInit, and OutputTxLogger_::ts_log_progress.
void OutputTxLoggerRegister | ( | void | ) |
Definition at line 670 of file output-tx.c.
References OutputRegisterRootLogger().
Referenced by OutputRegisterRootLoggers().
void OutputTxShutdown | ( | void | ) |
Definition at line 676 of file output-tx.c.
References ALPROTO_MAX.
bool g_file_logger_enabled |
Definition at line 39 of file output-file.c.
bool g_filedata_logger_enabled |
Definition at line 37 of file output-filedata.c.