suricata
|
#include "suricata-common.h"
#include "output-filestore.h"
#include "stream-tcp.h"
#include "feature.h"
#include "output.h"
#include "output-json-file.h"
#include "util-conf.h"
#include "util-misc.h"
#include "util-path.h"
#include "util-print.h"
Go to the source code of this file.
Data Structures | |
struct | OutputFilestoreCtx_ |
struct | OutputFilestoreLogThread_ |
Macros | |
#define | MODULE_NAME "OutputFilestore" |
#define | SHA256_STRING_LEN (SC_SHA256_LEN * 2) |
#define | LEAF_DIR_MAX_LEN 4 |
#define | FILESTORE_PREFIX_MAX (PATH_MAX - SHA256_STRING_LEN - LEAF_DIR_MAX_LEN) |
#define | WARN_ONCE(wot_type, ...) |
Typedefs | |
typedef struct OutputFilestoreCtx_ | OutputFilestoreCtx |
typedef struct OutputFilestoreLogThread_ | OutputFilestoreLogThread |
Enumerations | |
enum | WarnOnceTypes { WOT_OPEN, WOT_WRITE, WOT_UNLINK, WOT_RENAME, WOT_SNPRINTF, WOT_MAX } |
Functions | |
void | OutputFilestoreRegister (void) |
void | OutputFilestoreRegisterGlobalCounters (void) |
#define FILESTORE_PREFIX_MAX (PATH_MAX - SHA256_STRING_LEN - LEAF_DIR_MAX_LEN) |
Definition at line 40 of file output-filestore.c.
#define LEAF_DIR_MAX_LEN 4 |
Definition at line 39 of file output-filestore.c.
#define MODULE_NAME "OutputFilestore" |
Definition at line 34 of file output-filestore.c.
#define SHA256_STRING_LEN (SC_SHA256_LEN * 2) |
Definition at line 38 of file output-filestore.c.
#define WARN_ONCE | ( | wot_type, | |
... | |||
) |
Definition at line 76 of file output-filestore.c.
typedef struct OutputFilestoreCtx_ OutputFilestoreCtx |
typedef struct OutputFilestoreLogThread_ OutputFilestoreLogThread |
enum WarnOnceTypes |
Enumerator | |
---|---|
WOT_OPEN | |
WOT_WRITE | |
WOT_UNLINK | |
WOT_RENAME | |
WOT_SNPRINTF | |
WOT_MAX |
Definition at line 61 of file output-filestore.c.
void OutputFilestoreRegister | ( | void | ) |
Definition at line 506 of file output-filestore.c.
References LOGGER_FILE_STORE, MODULE_NAME, and OutputRegisterFiledataModule().
void OutputFilestoreRegisterGlobalCounters | ( | void | ) |
Definition at line 516 of file output-filestore.c.
References StatsRegisterGlobalCounter().
Referenced by PreRunInit().