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, Flow *f, const TcpStream *stream, const Packet *p, JsonBuilder *jb, MemBuffer *)
 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,
Flow f,
const TcpStream stream,
const Packet p,
JsonBuilder *  jb,
MemBuffer buffer 

log a single frame

ipproto argument is passed to assist static code analyzers

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

References Flow_::alproto, AppLayerParserGetFrameNameById(), DEBUG_VALIDATE_BUG_ON, FrameJsonStreamDataCallbackData::frame, FRAME_STREAM_TYPE, Frame::id, len, Frame::len, Frame::offset, PKT_IS_TOSERVER, Flow_::proto, Packet_::proto, StreamTcpGetUsable(), and Frame::type.

Here is the call graph for this function:

◆ JsonFrameLogRegister()

void JsonFrameLogRegister ( void  )

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

References LOGGER_JSON_FRAME, MODULE_NAME, and OutputRegisterPacketSubModule().

Here is the call graph for this function: