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

log a single frame

Note
ipproto argument is passed to assist static code analyzers

Definition at line 218 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 499 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: