#define HASH_PREFIX(x) test1_##x
#define HASH_KEY_ATOMIC key
#define HASH_ATOMIC_TYPE int
+#define HASH_ZERO_FILL
#define HASH_GIVE_INIT_DATA
static inline void test1_init_data(struct node1 *n)
#define HASH_GIVE_HASHFN
static uns test4_hash(char *host, int port)
{
- return hash_string_nocase(host) ^ hash_int(port);
+ return hash_string_nocase(host) ^ hash_u32(port);
}
#define HASH_GIVE_EQ