suricata
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.

Functions

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

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

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

Note
ipproto argument is passed to assist static code analyzers

Definition at line 253 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 559 of file output-json-frame.c.

References LOGGER_JSON_FRAME, MODULE_NAME, and OutputRegisterPacketSubModule().

Here is the call graph for this function: