OpenVPN
Data Fields
hash Struct Reference

#include <list.h>

Collaboration diagram for hash:
Collaboration graph
[legend]

Data Fields

int n_buckets
 
int n_elements
 
int mask
 
uint32_t iv
 
uint32_t(* hash_function )(const void *key, uint32_t iv)
 
bool(* compare_function )(const void *key1, const void *key2)
 
struct hash_bucketbuckets
 

Detailed Description

Definition at line 56 of file list.h.

Field Documentation

◆ buckets

struct hash_bucket* hash::buckets

◆ compare_function

bool(* hash::compare_function) (const void *key1, const void *key2)

Definition at line 63 of file list.h.

Referenced by hash_init(), hash_lookup_fast(), and hash_remove_fast().

◆ hash_function

uint32_t(* hash::hash_function) (const void *key, uint32_t iv)

Definition at line 62 of file list.h.

Referenced by hash_init(), and hash_value().

◆ iv

uint32_t hash::iv

Definition at line 61 of file list.h.

Referenced by hash_init(), and hash_value().

◆ mask

int hash::mask

Definition at line 60 of file list.h.

Referenced by hash_add(), hash_bucket(), hash_init(), hash_lookup(), hash_remove(), and test_list().

◆ n_buckets

int hash::n_buckets

◆ n_elements

int hash::n_elements

Definition at line 59 of file list.h.

Referenced by hash_add_fast(), hash_n_elements(), hash_remove_fast(), and hash_remove_marked().


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