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 (DetectEngineCtx *, void *)
 

Detailed Description

Typedef Documentation

◆ DetectFileHashData

Function Documentation

◆ DetectFileHashFree()

void DetectFileHashFree ( DetectEngineCtx ,
void *   
)

◆ DetectFileHashMatch()

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

◆ DetectFileHashSetup()

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

◆ LoadHashTable()

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

◆ ReadHashString()

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