suricata
util-bloomfilter-counting.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  BloomFilterCounting_
 

Typedefs

typedef struct BloomFilterCounting_ BloomFilterCounting
 

Functions

BloomFilterCountingBloomFilterCountingInit (uint32_t, uint8_t, uint8_t, uint32_t(*Hash)(const void *, uint16_t, uint8_t, uint32_t))
 
void BloomFilterCountingFree (BloomFilterCounting *)
 
void BloomFilterCountingPrint (BloomFilterCounting *)
 
int BloomFilterCountingAdd (BloomFilterCounting *, const void *, uint16_t)
 
int BloomFilterCountingRemove (BloomFilterCounting *, const void *, uint16_t)
 
int BloomFilterCountingTest (BloomFilterCounting *, const void *, uint16_t)
 
void BloomFilterCountingRegisterTests (void)
 

Detailed Description

Typedef Documentation

Function Documentation

int BloomFilterCountingAdd ( BloomFilterCounting ,
const void *  ,
uint16_t   
)
void BloomFilterCountingFree ( BloomFilterCounting )

Definition at line 78 of file util-bloomfilter-counting.c.

References BloomFilterCounting_::array, and SCFree.

Referenced by BloomFilterCountingTest().

Here is the caller graph for this function:

BloomFilterCounting* BloomFilterCountingInit ( uint32_t  ,
uint8_t  ,
uint8_t  ,
uint32_t(*)(const void *, uint16_t, uint8_t, uint32_t)  Hash 
)
void BloomFilterCountingRegisterTests ( void  )

Definition at line 393 of file util-bloomfilter-counting.c.

References UtRegisterTest().

Here is the call graph for this function:

int BloomFilterCountingRemove ( BloomFilterCounting ,
const void *  ,
uint16_t   
)

Definition at line 127 of file util-bloomfilter-counting.c.

References BloomFilterCounting_::array, BloomFilterCounting_::array_size, BloomFilterCountingTest(), BloomFilterCounting_::Hash, BloomFilterCounting_::hash_iterations, and BloomFilterCounting_::type.

Referenced by BloomFilterCountingTest().

Here is the call graph for this function:

Here is the caller graph for this function: