Functions for determinung a pseudo random number over a message's header field, based on CRC32 or a prime number algorithm. More...
#include "../../parser/msg_parser.h"

Go to the source code of this file.
Determines from which part of a message the hash shall be calculated.
More...Definition in file prime_hash.h.
| enum hash_source |
Possible values are:
Definition at line 51 of file prime_hash.h.
| int hash_func | ( | struct sip_msg * | msg, | |
| enum hash_source | source, | |||
| int | denominator | |||
| ) |
The hash algorith is CRC32.
Definition at line 55 of file prime_hash.c.
References crc32_uint().
Referenced by rewrite_on_rule().


1.7.1