suricata
|
#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"
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) |
Implement JSON/eve logging app-layer NFS.
Definition in file output-json-nfs.c.
json_t* JsonNFSAddMetadata | ( | const Flow * | f, |
uint64_t | tx_id | ||
) |
Definition at line 65 of file output-json-nfs.c.
References ALPROTO_NFS, AppLayerParserGetTx(), AppLayerParserRegisterLogger(), OutputJsonThreadCtx_::buffer, OutputJsonCtx_::cfg, CreateJSONHeader(), OutputJsonThreadCtx_::ctx, OutputJsonCtx_::file_ctx, FlowGetAppState(), JsonAddCommonOptions(), LOG_DIR_PACKET, MemBufferReset, OutputJSONBuffer(), OutputJsonLogInitSub(), Flow_::proto, TM_ECODE_FAILED, TM_ECODE_OK, tx_id, and unlikely.
Referenced by AlertJsonHeader(), and JsonBuildFileInfoRecord().
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().
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().