suricata
|
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, uint64_t tx_id, JsonBuilder *js) |
void | OutputEmailInitConf (ConfNode *conf, OutputJsonEmailCtx *email_ctx) |
Definition in file output-json-email-common.h.
typedef struct JsonEmailLogThread_ JsonEmailLogThread |
typedef struct OutputJsonEmailCtx_ OutputJsonEmailCtx |
bool EveEmailAddMetadata | ( | const Flow * | f, |
uint64_t | tx_id, | ||
JsonBuilder * | js | ||
) |
Definition at line 191 of file output-json-email-common.c.
TmEcode EveEmailLogJson | ( | JsonEmailLogThread * | aft, |
JsonBuilder * | js, | ||
const Packet * | p, | ||
Flow * | f, | ||
void * | state, | ||
void * | vtx, | ||
uint64_t | tx_id | ||
) |
Definition at line 167 of file output-json-email-common.c.
References JsonEmailLogThread_::emaillog_ctx.
void OutputEmailInitConf | ( | ConfNode * | conf, |
OutputJsonEmailCtx * | email_ctx | ||
) |
Definition at line 204 of file output-json-email-common.c.
References config_field, ConfNodeLookupChild(), ConfNodeLookupChildValue(), ConfValIsTrue(), email_field, email_fields, OutputJsonEmailCtx_::fields, OutputJsonEmailCtx_::flags, LOG_EMAIL_BODY_MD5, LOG_EMAIL_EXTENDED, LOG_EMAIL_SUBJECT_MD5, next, SCLogInfo, TAILQ_FOREACH, and ConfNode_::val.