suricata
output-tx.h File Reference
#include "decode.h"
Include dependency graph for output-tx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int(* TxLogger) (ThreadVars *, void *thread_data, const Packet *, Flow *f, void *state, void *tx, uint64_t tx_id)
 
typedef int(* TxLoggerCondition) (ThreadVars *, const Packet *, void *state, void *tx, uint64_t tx_id)
 

Functions

int OutputRegisterTxLogger (LoggerId id, const char *name, AppProto alproto, TxLogger LogFunc, OutputCtx *, int tc_log_progress, int ts_log_progress, TxLoggerCondition LogCondition, ThreadInitFunc, ThreadDeinitFunc, void(*ThreadExitPrintStats)(ThreadVars *, void *))
 
void OutputTxLoggerRegister (void)
 
void OutputTxShutdown (void)
 

Detailed Description

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

AppLayer TX Logger Output registration functions

Definition in file output-tx.h.

Typedef Documentation

◆ TxLogger

typedef int(* TxLogger) (ThreadVars *, void *thread_data, const Packet *, Flow *f, void *state, void *tx, uint64_t tx_id)

packet logger function pointer type

Definition at line 32 of file output-tx.h.

◆ TxLoggerCondition

typedef int(* TxLoggerCondition) (ThreadVars *, const Packet *, void *state, void *tx, uint64_t tx_id)

packet logger condition function pointer type, must return true for packets that should be logged

Definition at line 37 of file output-tx.h.

Function Documentation

◆ OutputRegisterTxLogger()

◆ OutputTxLoggerRegister()

void OutputTxLoggerRegister ( void  )

Definition at line 448 of file output-tx.c.

References OutputRegisterRootLogger().

Referenced by OutputRegisterRootLoggers().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OutputTxShutdown()

void OutputTxShutdown ( void  )

Definition at line 454 of file output-tx.c.

References OutputTxLogger_::alproto, and ALPROTO_MAX.