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

Go to the source code of this file.

Data Structures

struct  LogModbusFileCtx_
 
struct  JsonModbusLogThread_
 

Typedefs

typedef struct LogModbusFileCtx_ LogModbusFileCtx
 
typedef struct JsonModbusLogThread_ JsonModbusLogThread
 

Functions

bool JsonModbusAddMetadata (const Flow *f, uint64_t tx_id, JsonBuilder *js)
 
void JsonModbusLogRegister (void)
 

Typedef Documentation

◆ JsonModbusLogThread

◆ LogModbusFileCtx

Function Documentation

◆ JsonModbusAddMetadata()

bool JsonModbusAddMetadata ( const Flow f,
uint64_t  tx_id,
JsonBuilder *  js 
)

Definition at line 139 of file output-json-modbus.c.

◆ JsonModbusLogRegister()

void JsonModbusLogRegister ( void  )

Definition at line 152 of file output-json-modbus.c.

References LOGGER_JSON_TX, and OutputRegisterTxSubModule().

Referenced by OutputRegisterLoggers().

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