suricata
output-json-smb.c File Reference
#include "suricata-common.h"
#include "util-buffer.h"
#include "output.h"
#include "output-json.h"
#include "app-layer-parser.h"
#include "output-json-smb.h"
#include "rust.h"
Include dependency graph for output-json-smb.c:

Go to the source code of this file.

Data Structures

struct  LogSmbFileCtx_
 
struct  LogSmbLogThread_
 

Typedefs

typedef struct LogSmbFileCtx_ LogSmbFileCtx
 
typedef struct LogSmbLogThread_ LogSmbLogThread
 

Functions

bool EveSMBAddMetadata (const Flow *f, uint64_t tx_id, SCJsonBuilder *jb)
 
void JsonSMBLogRegister (void)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Implement JSON/eve logging app-layer SMB.

Definition in file output-json-smb.c.

Typedef Documentation

◆ LogSmbFileCtx

typedef struct LogSmbFileCtx_ LogSmbFileCtx

◆ LogSmbLogThread

Function Documentation

◆ EveSMBAddMetadata()

bool EveSMBAddMetadata ( const Flow f,
uint64_t  tx_id,
SCJsonBuilder *  jb 
)

Definition at line 34 of file output-json-smb.c.

◆ JsonSMBLogRegister()

void JsonSMBLogRegister ( void  )

Definition at line 150 of file output-json-smb.c.

References LOGGER_JSON_TX, and OutputRegisterTxSubModule().

Here is the call graph for this function: