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

Go to the source code of this file.

Macros

#define OUTPUT_STREAMING_FLAG_OPEN   0x01
 
#define OUTPUT_STREAMING_FLAG_CLOSE   0x02
 
#define OUTPUT_STREAMING_FLAG_TOSERVER   0x04
 
#define OUTPUT_STREAMING_FLAG_TOCLIENT   0x08
 
#define OUTPUT_STREAMING_FLAG_TRANSACTION   0x10
 

Typedefs

typedef int(* StreamingLogger) (ThreadVars *, void *thread_data, const Flow *f, const uint8_t *data, uint32_t data_len, uint64_t tx_id, uint8_t flags)
 

Enumerations

enum  OutputStreamingType { STREAMING_TCP_DATA, STREAMING_HTTP_BODIES }
 

Functions

int OutputRegisterStreamingLogger (LoggerId id, const char *name, StreamingLogger LogFunc, OutputCtx *, enum OutputStreamingType, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
 
void OutputStreamingLoggerRegister (void)
 
void OutputStreamingShutdown (void)
 

Detailed Description

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

AppLayer Filedata Logger Output registration functions

Definition in file output-streaming.h.

Macro Definition Documentation

#define OUTPUT_STREAMING_FLAG_CLOSE   0x02

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

#define OUTPUT_STREAMING_FLAG_OPEN   0x01

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

#define OUTPUT_STREAMING_FLAG_TOCLIENT   0x08

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

#define OUTPUT_STREAMING_FLAG_TOSERVER   0x04

Definition at line 34 of file output-streaming.h.

#define OUTPUT_STREAMING_FLAG_TRANSACTION   0x10

Definition at line 36 of file output-streaming.h.

Typedef Documentation

typedef int(* StreamingLogger) (ThreadVars *, void *thread_data, const Flow *f, const uint8_t *data, uint32_t data_len, uint64_t tx_id, uint8_t flags)

filedata logger function pointer type

Definition at line 44 of file output-streaming.h.

Enumeration Type Documentation

Enumerator
STREAMING_TCP_DATA 
STREAMING_HTTP_BODIES 

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

Function Documentation

void OutputStreamingLoggerRegister ( void  )

Definition at line 450 of file output-streaming.c.

References OutputRegisterRootLogger().

Referenced by OutputRegisterRootLoggers().

Here is the call graph for this function:

Here is the caller graph for this function:

void OutputStreamingShutdown ( void  )

Definition at line 456 of file output-streaming.c.

References OutputStreamingLogger_::next, and SCFree.

Referenced by RunModeShutDown().

Here is the caller graph for this function: