Go to the source code of this file.
◆ JHASH_INITVAL
#define JHASH_INITVAL 0xdeadbeef |
◆ OSMO_JHASH_FINAL
#define OSMO_JHASH_FINAL |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value:{ \
}
static uint32_t osmo_rol32(uint32_t word, unsigned int shift)
rol32 - rotate a 32-bit value left : value to rotate : bits to roll
Definition: jhash.h:14
struct abis_rsl_common_hdr c
Referenced by osmo_jhash(), and osmo_jhash2().
◆ OSMO_JHASH_MIX
#define OSMO_JHASH_MIX |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value:{ \
}
static uint32_t osmo_rol32(uint32_t word, unsigned int shift)
rol32 - rotate a 32-bit value left : value to rotate : bits to roll
Definition: jhash.h:14
struct abis_rsl_common_hdr c
Referenced by osmo_jhash(), and osmo_jhash2().
◆ __attribute__()
◆ osmo_get_unaligned_cpu32()
static uint32_t osmo_get_unaligned_cpu32 |
( |
const void * |
p | ) |
|
|
inlinestatic |
◆ osmo_jhash()
static uint32_t osmo_jhash |
( |
const void * |
key, |
|
|
uint32_t |
length, |
|
|
uint32_t |
initval |
|
) |
| |
|
inlinestatic |
◆ osmo_jhash2()
static uint32_t osmo_jhash2 |
( |
const uint32_t * |
k, |
|
|
uint32_t |
length, |
|
|
uint32_t |
initval |
|
) |
| |
|
inlinestatic |
◆ osmo_rol32()
static uint32_t osmo_rol32 |
( |
uint32_t |
word, |
|
|
unsigned int |
shift |
|
) |
| |
|
inlinestatic |
rol32 - rotate a 32-bit value left : value to rotate : bits to roll