netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
hashtable Struct Reference

#include <hash.h>

Collaboration diagram for hashtable:

Data Fields

uint32_t hashsize
 
uint32_t limit
 
uint32_t count
 
uint32_t initval
 
uint32_t(* hash )(const void *data, const struct hashtable *table)
 
int(* compare )(const void *data1, const void *data2)
 
struct list_head members [0]
 
struct llist_head members [0]
 

Field Documentation

int(* hashtable::compare)(const void *data1, const void *data2)

Referenced by hashtable_create(), and hashtable_find().

uint32_t hashtable::count
uint32_t(* hashtable::hash)(const void *data, const struct hashtable *table)

Referenced by hashtable_create(), and hashtable_hash().

uint32_t hashtable::hashsize
uint32_t hashtable::initval
uint32_t hashtable::limit

Referenced by hashtable_add(), and hashtable_create().

struct llist_head hashtable::members[0]

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