nemea-common  1.6.3
cc_hash_table_t Struct Reference

#include <cuckoo_hash.h>

Data Fields

cc_item_ttable
 
unsigned int data_size
 
unsigned int table_size
 
unsigned int key_length
 
unsigned int rehash
 
unsigned int item_count
 

Detailed Description

Structure of the hash table.

Definition at line 93 of file cuckoo_hash.h.

Field Documentation

◆ data_size

unsigned int cc_hash_table_t::data_size

Size of the data stored in every item (content of the data pointer)

Definition at line 96 of file cuckoo_hash.h.

◆ item_count

unsigned int cc_hash_table_t::item_count

Number of items currently stored

Definition at line 100 of file cuckoo_hash.h.

◆ key_length

unsigned int cc_hash_table_t::key_length

Length of the key used for items

Definition at line 98 of file cuckoo_hash.h.

◆ rehash

unsigned int cc_hash_table_t::rehash

Enabled/disabled rehash feature

Definition at line 99 of file cuckoo_hash.h.

◆ table

cc_item_t* cc_hash_table_t::table

Array of the item representing the storage

Definition at line 95 of file cuckoo_hash.h.

◆ table_size

unsigned int cc_hash_table_t::table_size

Current size/capacity of the table

Definition at line 97 of file cuckoo_hash.h.


The documentation for this struct was generated from the following file: