Stun Server  Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
fasthash.cpp File Reference
#include "commonincludes.hpp"
Include dependency graph for fasthash.cpp:

Go to the source code of this file.

Macros

#define IS_DIVISIBLE_BY(x, y)   ((x % y)==0)
 

Functions

static unsigned int FindPrime (unsigned int val)
 
size_t FastHash_GetHashTableWidth (unsigned int maxConnections)
 

Macro Definition Documentation

#define IS_DIVISIBLE_BY (   x,
 
)    ((x % y)==0)

Definition at line 20 of file fasthash.cpp.

Function Documentation

size_t FastHash_GetHashTableWidth ( unsigned int  maxConnections)

Definition at line 64 of file fasthash.cpp.

static unsigned int FindPrime ( unsigned int  val)
static

Definition at line 22 of file fasthash.cpp.