DISPATCH
hash_table_mod Module Reference

Hash table module for the use inside DISPATCH. More...

Data Types

type  bucket_t
 
type  hash_table_t
 

Variables

type(hash_table_t), public hash_table
 

Detailed Description

Hash table module for the use inside DISPATCH.

  • KEY: A tuple (ip,id) acts as hash key
  • VALUE: pointer
  • HASH FUNCTION: Simple hash function based on multiplication with constants
  • COLLISIONS: A linked list is used to deal with collisions Author: Troels Haugboelle