suricata
output-json-drop.c File Reference
#include "suricata-common.h"
#include "packet.h"
#include "detect.h"
#include "flow.h"
#include "conf.h"
#include "threads.h"
#include "tm-threads.h"
#include "threadvars.h"
#include "util-debug.h"
#include "decode-ipv4.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-reference.h"
#include "output.h"
#include "output-json.h"
#include "output-json-alert.h"
#include "output-json-drop.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-classification-config.h"
#include "util-privs.h"
#include "util-print.h"
#include "util-proto-name.h"
#include "util-logopenfile.h"
#include "util-time.h"
#include "util-buffer.h"
#include "action-globals.h"
Include dependency graph for output-json-drop.c:

Go to the source code of this file.

Data Structures

struct  JsonDropOutputCtx_
 
struct  JsonDropLogThread_
 

Macros

#define MODULE_NAME   "JsonDropLog"
 
#define LOG_DROP_ALERTS   BIT_U8(1)
 
#define LOG_DROP_VERDICT   BIT_U8(2)
 

Typedefs

typedef struct JsonDropOutputCtx_ JsonDropOutputCtx
 
typedef struct JsonDropLogThread_ JsonDropLogThread
 

Functions

void JsonDropLogRegister (void)
 

Detailed Description

Author
Tom DeCanio td@np.nosp@m.ulse.nosp@m.tech..nosp@m.com

JSON Drop log module to log the dropped packet information

Definition in file output-json-drop.c.

Macro Definition Documentation

◆ LOG_DROP_ALERTS

#define LOG_DROP_ALERTS   BIT_U8(1)

Definition at line 64 of file output-json-drop.c.

◆ LOG_DROP_VERDICT

#define LOG_DROP_VERDICT   BIT_U8(2)

Definition at line 65 of file output-json-drop.c.

◆ MODULE_NAME

#define MODULE_NAME   "JsonDropLog"

Definition at line 62 of file output-json-drop.c.

Typedef Documentation

◆ JsonDropLogThread

◆ JsonDropOutputCtx

Function Documentation

◆ JsonDropLogRegister()

void JsonDropLogRegister ( void  )

Definition at line 391 of file output-json-drop.c.

References LOGGER_JSON_DROP, MODULE_NAME, and OutputRegisterPacketSubModule().

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:
Here is the caller graph for this function: