MEDIUM: backend: add the crc32 hash algorithm for load balancing

Since we have it available, let's make it usable for load balancing,
it comes at no cost except 3 lines of documentation.
This commit is contained in:
Willy Tarreau
2015-01-20 19:44:50 +01:00
parent 8059977d3e
commit 324f07f6dd
4 changed files with 15 additions and 2 deletions

View File

@@ -115,6 +115,7 @@
#define BE_LB_HFCN_SDBM 0x000000 /* sdbm hash */
#define BE_LB_HFCN_DJB2 0x400000 /* djb2 hash */
#define BE_LB_HFCN_WT6 0x800000 /* wt6 hash */
#define BE_LB_HFCN_CRC32 0xC00000 /* crc32 hash */
#define BE_LB_HASH_FUNC 0xC00000 /* get/clear hash function */