suricata
output-packet.h File Reference
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 bool(* PacketLogCondition) (ThreadVars *, void *thread_data, 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

◆ 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()