libnl/lib
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
..
cli Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
fib_lookup doc: documentation restructuring 2012-05-10 12:03:59 +02:00
genl genl/family flags can be damaged during the auto-indentation. 2012-10-19 22:16:44 +06:00
netfilter Source cleanup for upstream 2012-10-19 11:18:52 -07:00
route Set err and free ntbl when leaving neightbl_msg_parser 2012-10-29 18:16:58 +01:00
.gitignore Added lex.yy.c to .gitignore 2012-08-30 03:19:04 +06:00
addr.c Address comparison bug fixed 2012-08-30 21:00:39 +06:00
attr.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
cache.c Add support for updating objects in the cache 2012-11-05 13:58:50 +01:00
cache_mngr.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
cache_mngt.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
data.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
error.c Support for NLM_F_INTR 2011-07-14 10:51:49 +02:00
handlers.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
hash.c Add hash function 2012-11-10 00:12:08 +01:00
Makefile.am Add hash function 2012-11-10 00:12:08 +01:00
msg.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
nl.c nl: Improve API doc of nl_send_simple() 2012-11-08 21:17:32 +01:00
object.c Add support for updating objects in the cache 2012-11-05 13:58:50 +01:00
socket.c socket: document nl_socket_get_fd() 2012-11-06 17:36:53 +01:00
utils.c Fix warning "not checking return value of fscanf" in lib/utils.c: get_psched_settings 2012-08-30 03:19:04 +06:00
version.c Run-time version information is now available 2012-08-30 03:19:04 +06:00