aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/error.h
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2021-03-03 17:37:25 +0100
committerDave Barach <openvpp@barachs.net>2021-04-22 11:12:59 +0000
commit5cfe45211ac7977ab9bf07b817fe9a5d00226eb3 (patch)
tree1154a67367b5cbd8343ecdc48518746bdcc8642a /src/vlib/error.h
parentd06e2eb1a1d570367b4076772ac66bc95e3a7bd8 (diff)
misc: add filter for specific error for pcap trace
Type: feature Change-Id: I325257454df1cc22833fa6a1dedd4739d4d5a558 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vlib/error.h')
-rw-r--r--src/vlib/error.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vlib/error.h b/src/vlib/error.h
index 11757e05f67..2bffc6b9367 100644
--- a/src/vlib/error.h
+++ b/src/vlib/error.h
@@ -40,6 +40,8 @@
#ifndef included_vlib_error_h
#define included_vlib_error_h
+#include <vppinfra/format.h>
+
typedef u16 vlib_error_t;
enum vl_counter_severity_e
@@ -75,6 +77,8 @@ void vlib_register_errors (struct vlib_main_t *vm,
u32 n_errors, char *error_strings[],
vl_counter_t counters[]);
+unformat_function_t unformat_vlib_error;
+
#endif /* included_vlib_error_h */
/*