suricata
detect-file-hash-common.h File Reference
#include "util-rohash.h"
Include dependency graph for detect-file-hash-common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DetectFileHashData_
 

Typedefs

typedef struct DetectFileHashData_ DetectFileHashData
 

Functions

int ReadHashString (uint8_t *, const char *, const char *, int, uint16_t)
 
int LoadHashTable (ROHashTable *, const char *, const char *, int, uint32_t)
 
int DetectFileHashMatch (DetectEngineThreadCtx *, Flow *, uint8_t, File *, const Signature *, const SigMatchCtx *)
 
int DetectFileHashSetup (DetectEngineCtx *, Signature *, const char *, uint32_t, int)
 
void DetectFileHashFree (void *)
 

Detailed Description

Typedef Documentation

Function Documentation

void DetectFileHashFree ( void *  )

Referenced by DetectFileMd5Register(), DetectFileSha1Register(), and DetectFileSha256Register().

Here is the caller graph for this function:

int DetectFileHashMatch ( DetectEngineThreadCtx ,
Flow ,
uint8_t  ,
File ,
const Signature ,
const SigMatchCtx  
)

Referenced by DetectFileMd5Register(), DetectFileSha1Register(), and DetectFileSha256Register().

Here is the caller graph for this function:

int DetectFileHashSetup ( DetectEngineCtx ,
Signature ,
const char *  ,
uint32_t  ,
int   
)

Referenced by DetectFileMd5Register(), DetectFileSha1Register(), and DetectFileSha256Register().

Here is the caller graph for this function:

int LoadHashTable ( ROHashTable ,
const char *  ,
const char *  ,
int  ,
uint32_t   
)

Referenced by DetectFileMd5Register(), DetectFileSha1Register(), and DetectFileSha256Register().

Here is the caller graph for this function:

int ReadHashString ( uint8_t *  ,
const char *  ,
const char *  ,
int  ,
uint16_t   
)

Referenced by DetectFileMd5Register(), DetectFileSha1Register(), and DetectFileSha256Register().

Here is the caller graph for this function: