suricata
|
#include <util-file.h>
Data Fields | |
uint16_t | flags |
uint16_t | name_len |
FileState | state |
StreamingBuffer * | sb |
uint32_t | file_track_id |
uint32_t | file_store_id |
int | fd |
uint8_t * | name |
struct File_ * | next |
SCMd5 * | md5_ctx |
uint8_t | md5 [SC_MD5_LEN] |
SCSha1 * | sha1_ctx |
uint8_t | sha1 [SC_SHA1_LEN] |
SCSha256 * | sha256_ctx |
uint8_t | sha256 [SC_SHA256_LEN] |
uint64_t | content_inspected |
uint64_t | content_stored |
uint64_t | size |
uint32_t | inspect_window |
uint32_t | inspect_min_size |
uint64_t | start |
uint64_t | end |
uint32_t * | sid |
uint32_t | sid_cnt |
uint32_t | sid_max |
Definition at line 79 of file util-file.h.
uint64_t File_::content_inspected |
used in pruning if FILE_USE_DETECT flag is set
Definition at line 99 of file util-file.h.
uint64_t File_::content_stored |
Definition at line 101 of file util-file.h.
Referenced by OutputFiledataLogFfc().
uint64_t File_::end |
Definition at line 106 of file util-file.h.
Referenced by EveFileInfo(), and FileSetRange().
int File_::fd |
file descriptor for filestore, not open if equal to -1
Definition at line 86 of file util-file.h.
uint32_t File_::file_store_id |
id used in store file name file.<id>
Definition at line 85 of file util-file.h.
Referenced by EveFileInfo(), and OutputFiledataLogFfc().
uint32_t File_::file_track_id |
id used by protocol parser
Definition at line 84 of file util-file.h.
Referenced by FileStoreFileById().
uint16_t File_::flags |
Definition at line 80 of file util-file.h.
Referenced by DetectFileHashMatch(), EveFileInfo(), FileApplyTxFlags(), FileStore(), OutputFiledataLogFfc(), and OutputFileLogFfc().
uint32_t File_::inspect_min_size |
Definition at line 104 of file util-file.h.
Referenced by FileSetInspectSizes().
uint32_t File_::inspect_window |
Definition at line 103 of file util-file.h.
Referenced by FileSetInspectSizes().
uint8_t File_::md5[SC_MD5_LEN] |
Definition at line 94 of file util-file.h.
Referenced by EveFileInfo().
SCMd5* File_::md5_ctx |
Definition at line 93 of file util-file.h.
uint8_t* File_::name |
Definition at line 88 of file util-file.h.
Referenced by EveFileInfo().
uint16_t File_::name_len |
Definition at line 81 of file util-file.h.
Referenced by EveFileInfo().
struct File_* File_::next |
Definition at line 92 of file util-file.h.
Referenced by DetectEngineInspectFiledata(), FileContainerAdd(), FileContainerFree(), FileContainerRecycle(), FileStoreFileById(), OutputFiledataLogFfc(), and OutputFileLogFfc().
StreamingBuffer* File_::sb |
Definition at line 83 of file util-file.h.
Referenced by FileDataSize().
uint8_t File_::sha1[SC_SHA1_LEN] |
Definition at line 96 of file util-file.h.
Referenced by EveFileInfo().
SCSha1* File_::sha1_ctx |
Definition at line 95 of file util-file.h.
uint8_t File_::sha256[SC_SHA256_LEN] |
Definition at line 98 of file util-file.h.
Referenced by EveFileInfo().
SCSha256* File_::sha256_ctx |
Definition at line 97 of file util-file.h.
uint32_t* File_::sid |
Definition at line 108 of file util-file.h.
Referenced by EveFileInfo().
uint32_t File_::sid_cnt |
Definition at line 109 of file util-file.h.
Referenced by EveFileInfo().
uint32_t File_::sid_max |
Definition at line 110 of file util-file.h.
uint64_t File_::size |
Definition at line 102 of file util-file.h.
Referenced by FileTrackedSize().
uint64_t File_::start |
Definition at line 105 of file util-file.h.
Referenced by EveFileInfo(), and FileSetRange().
FileState File_::state |
Definition at line 82 of file util-file.h.
Referenced by DetectFileHashMatch(), EveFileInfo(), OutputFiledataLogFfc(), and OutputFileLogFfc().