output-packet.h File Reference
#include "decode.h"
#include "output.h"
Include dependency graph for output-packet.h:
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 int(* PacketLogCondition) (ThreadVars *, 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

typedef int(* PacketLogCondition) (ThreadVars *, const Packet *)

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

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

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

packet logger function pointer type

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

Function Documentation

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:

void OutputPacketShutdown ( void  )

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

References OutputPacketLogger_::next, and SCFree.

Referenced by RunModeShutDown().

Here is the caller graph for this function: