summaryrefslogtreecommitdiffstats
path: root/hicn-plugin/includes/vpp_plugins
diff options
context:
space:
mode:
authorLuca Muscariello <lumuscar@cisco.com>2022-06-30 13:58:25 +0200
committerMauro Sardara <msardara@cisco.com>2022-07-01 12:11:33 +0200
commit012843b1c0bc0838e69085ed83a79ec8b6f97360 (patch)
tree4fa320673884488e4a1bf879ec144e99f134a3fb /hicn-plugin/includes/vpp_plugins
parent6b94663b2455e212009a544ae23bb6a8c55407f8 (diff)
Revision and refactor of the VPP plugin with fixes for the
packet generator. Hash table for the packet cache has been changed with the bihash. Co-authored-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: I0e0191a9f109d37081d32cc55d577ea43533f8c0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'hicn-plugin/includes/vpp_plugins')
-rw-r--r--hicn-plugin/includes/vpp_plugins/hicn/error.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/hicn-plugin/includes/vpp_plugins/hicn/error.h b/hicn-plugin/includes/vpp_plugins/hicn/error.h
index af9f5da46..be4e53c27 100644
--- a/hicn-plugin/includes/vpp_plugins/hicn/error.h
+++ b/hicn-plugin/includes/vpp_plugins/hicn/error.h
@@ -87,7 +87,12 @@
_ (UDP_TUNNEL_SRC_DST_TYPE, -17001, \
"Src and dst addresses have different type (ipv4 and ipv6)") \
_ (MAPME_NEXT_HOP_ADDED, -18000, "Next hop added to mapme") \
- _ (MAPME_NEXT_HOP_NOT_ADDED, -18001, "Next hop added to mapme")
+ _ (MAPME_NEXT_HOP_NOT_ADDED, -18001, "Next hop added to mapme") \
+ _ (PCS_NOT_FOUND, -19000, "Hash not found in hash table") \
+ _ (PCS_HASH_INVAL, -19001, "Error while calculating the hash") \
+ _ (PCS_INVAL, -19002, "Invalid argument") \
+ _ (PCS_KEY_INVAL, -19003, "Invalid hashtb key") \
+ _ (PCS_EXIST, -19004, "Hash already in hashtable")
typedef enum
{