suricata
output-json-dnp3.c File Reference
#include "suricata-common.h"
#include "debug.h"
#include "detect.h"
#include "pkt-var.h"
#include "conf.h"
#include "threads.h"
#include "threadvars.h"
#include "tm-threads.h"
#include "util-print.h"
#include "util-unittest.h"
#include "util-buffer.h"
#include "util-crypt.h"
#include "util-debug.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-dnp3.h"
#include "app-layer-dnp3-objects.h"
#include "detect-dnp3.h"
#include "output.h"
#include "output-json.h"
#include "output-json-dnp3.h"
#include "output-json-dnp3-objects.h"
Include dependency graph for output-json-dnp3.c:

Go to the source code of this file.

Data Structures

struct  LogDNP3FileCtx_
 
struct  LogDNP3LogThread_
 

Macros

#define DEFAULT_LOG_FILENAME   "dnp3.json"
 

Typedefs

typedef struct LogDNP3FileCtx_ LogDNP3FileCtx
 
typedef struct LogDNP3LogThread_ LogDNP3LogThread
 

Functions

void JsonDNP3LogRequest (JsonBuilder *js, DNP3Transaction *dnp3tx)
 
void JsonDNP3LogResponse (JsonBuilder *js, DNP3Transaction *dnp3tx)
 
void JsonDNP3LogRegister (void)
 

Macro Definition Documentation

◆ DEFAULT_LOG_FILENAME

#define DEFAULT_LOG_FILENAME   "dnp3.json"

Definition at line 278 of file output-json-dnp3.c.

Typedef Documentation

◆ LogDNP3FileCtx

◆ LogDNP3LogThread

Function Documentation

◆ JsonDNP3LogRegister()

void JsonDNP3LogRegister ( void  )

Definition at line 357 of file output-json-dnp3.c.

References LOGGER_JSON_DNP3_TS, and OutputRegisterTxSubModuleWithProgress().

Referenced by OutputRegisterLoggers().

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

◆ JsonDNP3LogRequest()

void JsonDNP3LogRequest ( JsonBuilder *  js,
DNP3Transaction dnp3tx 
)

Definition at line 147 of file output-json-dnp3.c.

References JB_SET_STRING.

◆ JsonDNP3LogResponse()

void JsonDNP3LogResponse ( JsonBuilder *  js,
DNP3Transaction dnp3tx 
)