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 dependency graph for output-json-nfs.c:

Go to the source code of this file.

Functions

bool EveNFSAddMetadataRPC (const Flow *f, uint64_t tx_id, JsonBuilder *jb)
 
bool EveNFSAddMetadata (const Flow *f, uint64_t tx_id, JsonBuilder *jb)
 
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

◆ EveNFSAddMetadata()

bool EveNFSAddMetadata ( const Flow f,
uint64_t  tx_id,
JsonBuilder *  jb 
)

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

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

Referenced by JsonBuildFileInfoRecord().

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

◆ EveNFSAddMetadataRPC()

bool EveNFSAddMetadataRPC ( const Flow f,
uint64_t  tx_id,
JsonBuilder *  jb 
)

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

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

Referenced by JsonBuildFileInfoRecord().

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

◆ JsonNFSLogRegister()

void JsonNFSLogRegister ( void  )

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

References LOGGER_JSON_NFS, and OutputRegisterTxSubModule().

Referenced by OutputRegisterLoggers().

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