diff options
Diffstat (limited to 'src/server/iscsi.h')
| -rw-r--r-- | src/server/iscsi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/iscsi.h b/src/server/iscsi.h index 0f1419a..a8e0a35 100644 --- a/src/server/iscsi.h +++ b/src/server/iscsi.h @@ -111,8 +111,8 @@ static inline void iscsi_put_be64(uint8_t *data, const uint64_t val) #define ISCSI_HASHMAP_RESIZE_FACTOR 1UL // Number of bits to shift left when resizing #define ISCSI_HASHMAP_KEY_ALIGN_SHIFT 3UL // Key data shift value for alignment enforcement #define ISCSI_HASHMAP_KEY_ALIGN (1UL << (ISCSI_HASHMAP_KEY_ALIGN_SHIFT)) // Key data size must be multiple of 8 bytes by now -#define ISCSI_HASHMAP_HASH_INITIAL 2166136261UL // Initial hash code -#define ISCSI_HASHMAP_HASH_XOR 0xBF58476D1CE4E5B9ULL // XOR value for hash code +#define ISCSI_HASHMAP_HASH_INITIAL 0x811C9DC5UL // Initial hash code +#define ISCSI_HASHMAP_HASH_MUL 0xBF58476D1CE4E5B9ULL // Value to multiply hash code with typedef struct iscsi_hashmap_bucket { struct iscsi_hashmap_bucket *next; // Must be first element |
