Skip to content

Changes

Summary

  1. add jhash.h, copied from linux/jhash.h (details)
Commit 0265d6eb370ec3c46b9b23131def990f5463001f by Neels Hofmeyr
add jhash.h, copied from linux/jhash.h

Allow using arbitrary length data as hashtable key:
Copy jhash.h implementation from the linux kernel.
Apply osmo_ prefix to all global symbols.

Add jhash_test to ensure the code import works as intended.

First application will be a hashtable keyed by umts_cell_id in
osmo-hnbgw.git.

Related: SYS#6773
Change-Id: I0c9652bbc9e2a18b1200e7d63bb6f64ded7d75fa
The file was addedtests/jhash/jhash_test.ok
The file was modified tests/testsuite.at
The file was addedtests/jhash/jhash_test.c
The file was modified tests/Makefile.am
The file was addedinclude/osmocom/core/jhash.h
The file was modified include/osmocom/core/Makefile.am