output-json-ike.c File Reference
#include "suricata-common.h"
#include "detect.h"
#include "pkt-var.h"
#include "conf.h"
#include "threads.h"
#include "threadvars.h"
#include "tm-threads.h"
#include "util-unittest.h"
#include "util-buffer.h"
#include "util-debug.h"
#include "util-byte.h"
#include "output.h"
#include "output-json.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-ike.h"
#include "output-json-ike.h"
#include "rust.h"
Include dependency graph for output-json-ike.c:

Go to the source code of this file.

Data Structures

struct  LogIKEFileCtx_
struct  LogIKELogThread_


#define LOG_IKE_DEFAULT   0
#define LOG_IKE_EXTENDED   (1 << 0)


typedef struct LogIKEFileCtx_ LogIKEFileCtx
typedef struct LogIKELogThread_ LogIKELogThread


bool EveIKEAddMetadata (const Flow *f, uint64_t tx_id, JsonBuilder *js)
void JsonIKELogRegister (void)

Detailed Description

Pierre Chifflier
Frank Honza

Implement JSON/eve logging app-layer IKE.

Definition in file output-json-ike.c.

Macro Definition Documentation


#define LOG_IKE_DEFAULT   0

Definition at line 53 of file output-json-ike.c.


#define LOG_IKE_EXTENDED   (1 << 0)

Definition at line 54 of file output-json-ike.c.

Typedef Documentation

◆ LogIKEFileCtx

typedef struct LogIKEFileCtx_ LogIKEFileCtx

◆ LogIKELogThread

Function Documentation

◆ EveIKEAddMetadata()

bool EveIKEAddMetadata ( const Flow f,
uint64_t  tx_id,
JsonBuilder *  js 

Definition at line 65 of file output-json-ike.c.

References ALPROTO_IKE, AppLayerParserGetTx(), FlowGetAppState(), LOG_IKE_EXTENDED, and Flow_::proto.

Here is the call graph for this function:

◆ JsonIKELogRegister()

void JsonIKELogRegister ( void  )

Definition at line 182 of file output-json-ike.c.

References LOGGER_JSON_TX, and OutputRegisterTxSubModule().

Referenced by OutputRegisterLoggers().

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