diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-11-19 17:57:20 +0000 |
---|---|---|
committer | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-11-26 10:46:53 +0000 |
commit | 3e949f72778dd076fffecd7da2fb83cbb1ccb428 (patch) | |
tree | eb5e437c0bc4be54fc57ae46ae964be7567c43bc /ctrl/libhicnctrl/src/util/hash.h | |
parent | b3ee2ed8602c909f8d5096e9d8d44aa345093566 (diff) |
[HICN-398] Added face create/delete/list and listener list on libctrl for hicn-plugin
Listener list returns the list of interfaces and their ip addresses
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I2582cf29d4f1f60964766d47ad8d6dc64504fd62
Diffstat (limited to 'ctrl/libhicnctrl/src/util/hash.h')
-rw-r--r-- | ctrl/libhicnctrl/src/util/hash.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctrl/libhicnctrl/src/util/hash.h b/ctrl/libhicnctrl/src/util/hash.h index 0bc48896b..7c7bb1e3a 100644 --- a/ctrl/libhicnctrl/src/util/hash.h +++ b/ctrl/libhicnctrl/src/util/hash.h @@ -240,7 +240,8 @@ uint32_t hashlittle( const void *key, size_t length, uint32_t initval) /* Helpers */ #define HASH_INITVAL 1 -#define hash(buf, len) (hash_t)hashlittle(buf, len, HASH_INITVAL) +//#define hash(buf, len) (hash_t)hashlittle(buf, len, HASH_INITVAL) +#define hash(buf, len) hashlittle(buf, len, HASH_INITVAL) #define hash_struct(buf) hash(buf, sizeof(buf)) #endif /* UTIL_JENKINS_HASH_H */ |