suricata
output-json-flow.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void JsonFlowLogRegister (void)
 
void JsonAddFlow (Flow *f, json_t *js, json_t *hjs)
 

Detailed Description

Function Documentation

void JsonAddFlow ( Flow f,
json_t *  js,
json_t *  hjs 
)

Definition at line 180 of file output-json-flow.c.

References Flow_::alproto, Flow_::alproto_expect, Flow_::alproto_orig, Flow_::alproto_tc, Flow_::alproto_ts, ALPROTO_UNKNOWN, AppProtoToString(), JsonFlowLogThread_::buffer, LogJsonFileCtx_::cfg, TcpSession_::client, CreateIsoTimeString(), OutputCtx_::data, LogJsonFileCtx_::file_ctx, TcpStream_::flags, Flow_::flags, FLOW_END_FLAG_EMERGENCY, FLOW_END_FLAG_FORCED, FLOW_END_FLAG_SHUTDOWN, FLOW_END_FLAG_STATE_BYPASSED, FLOW_END_FLAG_STATE_CLOSED, FLOW_END_FLAG_STATE_ESTABLISHED, FLOW_END_FLAG_STATE_NEW, FLOW_END_FLAG_TIMEOUT, Flow_::flow_end_flags, FLOW_STATE_LOCAL_BYPASSED, FLOW_WRONG_THREAD, FlowGetStorageById(), FlowHasAlerts(), JsonFlowLogThread_::flowlog_ctx, GetFlowBypassInfoID(), json_boolean, JsonAddCommonOptions(), JsonAddFlow(), JsonTcpFlags(), Flow_::lastts, LogFileFreeCtx(), MemBufferReset, OutputJSONBuffer(), Flow_::proto, Flow_::protoctx, SC_ATOMIC_GET, SC_ERR_INVALID_VALUE, SCEnter, SCFree, SCLogError, SCReturnInt, TcpSession_::server, Flow_::startts, TcpSession_::state, STREAMTCP_STREAM_FLAG_GAP, TCP_CLOSE_WAIT, TCP_CLOSED, TCP_CLOSING, TCP_ESTABLISHED, TCP_FIN_WAIT1, TCP_FIN_WAIT2, TcpStream_::tcp_flags, TCP_LAST_ACK, TCP_LISTEN, TCP_NONE, TcpSession_::tcp_packet_flags, TCP_SYN_RECV, TCP_SYN_SENT, TCP_TIME_WAIT, TM_ECODE_OK, Flow_::todstbytecnt, FlowBypassInfo_::todstbytecnt, Flow_::todstpktcnt, FlowBypassInfo_::todstpktcnt, Flow_::tosrcbytecnt, FlowBypassInfo_::tosrcbytecnt, Flow_::tosrcpktcnt, FlowBypassInfo_::tosrcpktcnt, and unlikely.

Referenced by AlertJsonHeader(), and JsonAddFlow().

Here is the call graph for this function:

Here is the caller graph for this function:

void JsonFlowLogRegister ( void  )

Definition at line 529 of file output-json-flow.c.

References LOGGER_JSON_FLOW, OutputRegisterFlowModule(), and OutputRegisterFlowSubModule().

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function: