suricata
datasets-ipv4.c File Reference
#include "suricata-common.h"
#include "conf.h"
#include "datasets.h"
#include "datasets-ipv4.h"
#include "util-hash-lookup3.h"
#include "util-thash.h"
#include "util-print.h"
Include dependency graph for datasets-ipv4.c:

Go to the source code of this file.

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

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.