suricata
output-json-nfs.c File Reference
#include "suricata-common.h"
#include "debug.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 "output-json-nfs.h"
#include "rust.h"
#include "rust-nfs-log-gen.h"
Include dependency graph for output-json-nfs.c:

Go to the source code of this file.

Functions

json_t * JsonNFSAddMetadataRPC (const Flow *f, uint64_t tx_id)
 
json_t * JsonNFSAddMetadata (const Flow *f, uint64_t tx_id)
 
void JsonNFSLogRegister (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 NFS.

Definition in file output-json-nfs.c.

Function Documentation

json_t* JsonNFSAddMetadataRPC ( const Flow f,
uint64_t  tx_id 
)

Definition at line 52 of file output-json-nfs.c.

References ALPROTO_NFS, AppLayerParserGetTx(), FlowGetAppState(), and Flow_::proto.

Referenced by AlertJsonHeader(), and JsonBuildFileInfoRecord().

Here is the call graph for this function:

Here is the caller graph for this function:

void JsonNFSLogRegister ( void  )

Definition at line 125 of file output-json-nfs.c.

References ALPROTO_NFS, JsonLogThreadDeinit(), JsonLogThreadInit(), LOGGER_JSON_NFS, OutputRegisterTxSubModule(), and SCLogDebug.

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function: