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

Go to the source code of this file.

Data Structures

struct  OutputJsonEmailCtx_
 
struct  JsonEmailLogThread_
 

Typedefs

typedef struct OutputJsonEmailCtx_ OutputJsonEmailCtx
 
typedef struct JsonEmailLogThread_ JsonEmailLogThread
 

Functions

TmEcode EveEmailLogJson (JsonEmailLogThread *aft, JsonBuilder *js, const Packet *p, Flow *f, void *state, void *vtx, uint64_t tx_id)
 
bool EveEmailAddMetadata (const Flow *f, uint32_t tx_id, JsonBuilder *js)
 
void OutputEmailInitConf (ConfNode *conf, OutputJsonEmailCtx *email_ctx)
 

Detailed Description

Typedef Documentation

◆ JsonEmailLogThread

◆ OutputJsonEmailCtx

Function Documentation

◆ EveEmailAddMetadata()

bool EveEmailAddMetadata ( const Flow f,
uint32_t  tx_id,
JsonBuilder *  js 
)

Definition at line 388 of file output-json-email-common.c.

References ALPROTO_SMTP, AppLayerParserGetTx(), and FlowGetAppState().

Referenced by JsonBuildFileInfoRecord().

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

◆ EveEmailLogJson()

TmEcode EveEmailLogJson ( JsonEmailLogThread aft,
JsonBuilder *  js,
const Packet p,
Flow f,
void *  state,
void *  vtx,
uint64_t  tx_id 
)

Definition at line 364 of file output-json-email-common.c.

References JsonEmailLogThread_::emaillog_ctx.

◆ OutputEmailInitConf()