suricata
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.

Typedefs

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

Functions

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

Detailed Description

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

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: