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

Go to the source code of this file.

Data Structures

struct  IPv4Type
 

Typedefs

typedef struct IPv4Type IPv4Type
 

Functions

int IPv4Set (void *dst, void *src)
 
bool IPv4Compare (void *a, void *b)
 
uint32_t IPv4Hash (uint32_t hash_seed, void *s)
 
void IPv4Free (void *s)
 

Detailed Description

Typedef Documentation

◆ IPv4Type

typedef struct IPv4Type IPv4Type

Function Documentation

◆ IPv4Compare()

bool IPv4Compare ( void *  a,
void *  b 
)

Definition at line 41 of file datasets-ipv4.c.

References IPv4Type::ipv4.

◆ IPv4Free()

void IPv4Free ( void *  s)

Definition at line 56 of file datasets-ipv4.c.

◆ IPv4Hash()

uint32_t IPv4Hash ( uint32_t  hash_seed,
void *  s 
)

Definition at line 49 of file datasets-ipv4.c.

References hashword(), and str.

Here is the call graph for this function:

◆ IPv4Set()

int IPv4Set ( void *  dst,
void *  src 
)

Definition at line 32 of file datasets-ipv4.c.

References dst, IPv4Type::ipv4, IPv4Type::rep, and src.