output-json-frame.h File Reference
Include dependency graph for output-json-frame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


void FrameJsonLogOneFrame (const uint8_t ipproto, const Frame *frame, const Flow *f, const TcpStream *stream, const Packet *p, JsonBuilder *jb)
 log a single frame More...
void JsonFrameLogRegister (void)

Detailed Description

Victor Julien

Logs frames in JSON format.

Definition in file output-json-frame.h.

Function Documentation

◆ FrameJsonLogOneFrame()

void FrameJsonLogOneFrame ( const uint8_t  ipproto,
const Frame frame,
const Flow f,
const TcpStream stream,
const Packet p,
JsonBuilder *  jb 

log a single frame

ipproto argument is passed to assist static code analyzers

Definition at line 217 of file output-json-frame.c.

References Flow_::alproto, AppLayerParserGetFrameNameById(), DEBUG_VALIDATE_BUG_ON, Frame::id, len, Frame::len, PKT_IS_TOSERVER, Flow_::proto, Packet_::proto, Frame::rel_offset, STREAM_BASE_OFFSET, StreamTcpGetUsable(), and Frame::type.

Here is the call graph for this function:

◆ JsonFrameLogRegister()

void JsonFrameLogRegister ( void  )

Definition at line 498 of file output-json-frame.c.

References LOGGER_JSON_FRAME, MODULE_NAME, and OutputRegisterPacketSubModule().

Referenced by OutputRegisterLoggers().

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