Detects unsigned or signed using math trick.
- constants for DNS flags.
- compilation without locks fixup.
+ - removed include of unportable header from lookup3.c.
2 April 2007: Wouter
- check sizes of udp received messages, not too short.
March 2007(Wouter) adapted from lookup3.c original, add config.h include.
added #ifdef VALGRIND to remove 298,384,660 'unused variable k8' warnings.
added include of lookup3.h to check definitions match declarations.
+ removed include of stdint - config.h takes care of platform independence.
url http://burtleburtle.net/bob/hash/index.html.
*/
/*
#include "util/storage/lookup3.h"
#include <stdio.h> /* defines printf for tests */
#include <time.h> /* defines time_t for timings in the test */
-#include <stdint.h> /* defines uint32_t etc */
+/*#include <stdint.h> defines uint32_t etc (from config.h) */
#include <sys/param.h> /* attempt to define endianness */
#ifdef linux
# include <endian.h> /* attempt to define endianness */