suricata
output-json-dnp3.h File Reference
#include "app-layer-dnp3.h"
Include dependency graph for output-json-dnp3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void JsonDNP3LogRequest (JsonBuilder *js, DNP3Transaction *)
 
void JsonDNP3LogResponse (JsonBuilder *js, DNP3Transaction *)
 
void JsonDNP3LogRegister (void)
 
bool AlertJsonDnp3 (void *vtx, JsonBuilder *js)
 

Function Documentation

◆ AlertJsonDnp3()

bool AlertJsonDnp3 ( void *  vtx,
JsonBuilder *  js 
)

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

References DNP3Transaction_::done, DNP3Transaction_::is_request, JsonDNP3LogRequest(), JsonDNP3LogResponse(), and logged.

Here is the call graph for this function:

◆ JsonDNP3LogRegister()

void JsonDNP3LogRegister ( void  )

Definition at line 366 of file output-json-dnp3.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:

◆ JsonDNP3LogRequest()

void JsonDNP3LogRequest ( JsonBuilder *  js,
DNP3Transaction  
)

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

References JB_SET_STRING.

Referenced by AlertJsonDnp3().

Here is the caller graph for this function:

◆ JsonDNP3LogResponse()

void JsonDNP3LogResponse ( JsonBuilder *  js,
DNP3Transaction  
)

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

References DNP3Transaction_::ah, DNP3_APP_FC_UNSOLICITED_RESP, and JB_SET_STRING.

Referenced by AlertJsonDnp3().

Here is the caller graph for this function: