libnl/include
roopa a8741fab8e Add hash function
This patch adds a hash function for hashing libnl objects.

This hash function is from:
http://ccodearchive.net/info/hash.html

The original code was modified to remove unwanted dependencies,
unwanted code and fixes to header file locations

One requirement with this hash function is, hashing over multiple fields of an
un-packed struct requires that the struct be zeroed, otherwise random padding
bytes will change the hash.

Signed-off-by: Shrijeet Mukherjee <shm@cumulusnetworks.com>
Signed-off-by: Nolan Leake <nolan@cumulusnetworks.com>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Reviewed-by: Wilson Kok <wkok@cumulusnetworks.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2012-11-10 00:12:08 +01:00
..
linux Merge branch 'master' of https://github.com/rmfought/libnl 2012-10-26 12:48:22 +02:00
netlink Add hash function 2012-11-10 00:12:08 +01:00
Makefile.am Checkpoint before compilation attempt 2012-10-08 15:26:55 -07:00
netlink-generic.h Initial import 2007-09-15 01:28:01 +02:00
netlink-local.h Don't redefine offsetof when already defined by e.g. stddef.h 2011-06-21 11:33:44 +02:00
netlink-tc.h Unified TC API 2011-03-21 15:51:52 +01:00
netlink-types.h Merge branch 'master' of https://github.com/rmfought/libnl 2012-10-26 12:48:22 +02:00