aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/error.h
diff options
context:
space:
mode:
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 b921067ee84..c7e7ce49269 100644
--- a/src/vlib/error.h
+++ b/src/vlib/error.h
@@ -56,6 +56,7 @@ typedef struct
char *name;
char *desc;
enum vl_counter_severity_e severity;
+ u32 stats_entry_index;
} vlib_error_desc_t;
typedef struct
@@ -69,6 +70,9 @@ typedef struct
/* Counter structures in heap. Heap index
indexes counter vector. */
vlib_error_desc_t *counters_heap;
+
+ /* stats segment entry index */
+ u32 stats_err_entry_index;
} vlib_error_main_t;
/* Per node error registration. */