suricata
datasets-md5.h File Reference
Include dependency graph for datasets-md5.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Md5Type
 

Typedefs

typedef struct Md5Type Md5Type
 

Functions

int Md5StrSet (void *dst, void *src)
 
int Md5StrJsonSet (void *dst, void *src)
 
bool Md5StrCompare (void *a, void *b)
 
uint32_t Md5StrHash (uint32_t hash_seed, void *s)
 
void Md5StrFree (void *s)
 
void Md5StrJsonFree (void *s)
 
uint32_t Md5StrJsonGetLength (void *s)
 

Detailed Description

Typedef Documentation

◆ Md5Type

typedef struct Md5Type Md5Type

Function Documentation

◆ Md5StrCompare()

bool Md5StrCompare ( void *  a,
void *  b 
)

Definition at line 57 of file datasets-md5.c.

References Md5Type::md5.

Referenced by DatajsonGet(), and DatasetGet().

Here is the caller graph for this function:

◆ Md5StrFree()

void Md5StrFree ( void *  s)

Definition at line 72 of file datasets-md5.c.

Referenced by DatasetGet().

Here is the caller graph for this function:

◆ Md5StrHash()

uint32_t Md5StrHash ( uint32_t  hash_seed,
void *  s 
)

Definition at line 65 of file datasets-md5.c.

References hashword(), and str.

Referenced by DatajsonGet(), and DatasetGet().

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

◆ Md5StrJsonFree()

void Md5StrJsonFree ( void *  s)

Definition at line 76 of file datasets-md5.c.

References Md5Type::json, SCFree, and DataJsonType::value.

Referenced by DatajsonGet().

Here is the caller graph for this function:

◆ Md5StrJsonGetLength()

uint32_t Md5StrJsonGetLength ( void *  s)

Definition at line 84 of file datasets-md5.c.

References Md5Type::json, and DataJsonType::len.

Referenced by DatajsonGet().

Here is the caller graph for this function:

◆ Md5StrJsonSet()

int Md5StrJsonSet ( void *  dst,
void *  src 
)

Definition at line 43 of file datasets-md5.c.

References DatajsonCopyJson(), dst, Md5Type::json, Md5StrSet(), and src.

Referenced by DatajsonGet().

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

◆ Md5StrSet()

int Md5StrSet ( void *  dst,
void *  src 
)

Definition at line 34 of file datasets-md5.c.

References dst, Md5Type::md5, Md5Type::rep, and src.

Referenced by DatasetGet(), and Md5StrJsonSet().

Here is the caller graph for this function: