output-packet.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


typedef int(* PacketLogger) (ThreadVars *, void *thread_data, const Packet *)
typedef bool(* PacketLogCondition) (ThreadVars *, void *thread_data, const Packet *)


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

Detailed Description

Victor Julien

Packet Logger Output registration functions

Definition in file output-packet.h.

Typedef Documentation

◆ PacketLogCondition

typedef bool(* PacketLogCondition) (ThreadVars *, void *thread_data, const Packet *)

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

Definition at line 35 of file output-packet.h.

◆ PacketLogger

typedef int(* PacketLogger) (ThreadVars *, void *thread_data, const Packet *)

packet logger function pointer type

Definition at line 30 of file output-packet.h.

Function Documentation

◆ OutputPacketLoggerRegister()

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:

◆ OutputPacketShutdown()

void OutputPacketShutdown ( void  )

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

◆ OutputRegisterPacketLogger()