aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2021-05-06 14:09:50 +0200
committerDamjan Marion <dmarion@me.com>2021-05-06 14:19:55 +0000
commit2c4acdd8d47a14867d9658debc674323efc78323 (patch)
tree4685a71f7939e7297219181901a70b11d4d15928 /src/plugins
parenta606d92107d4bf0107c3f54e2c87d39311f82075 (diff)
vlib: rename vl_counter_t to vlib_error_desc_t
Type: improvement Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I368b0410db2d633d3c52199c840e24d21952c1b4
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/memif/device.c2
-rw-r--r--src/plugins/memif/node.c2
-rw-r--r--src/plugins/nat/pnat/tests/pnat_test_stubs.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/memif/device.c b/src/plugins/memif/device.c
index 872660396d0..d6d4ae3780b 100644
--- a/src/plugins/memif/device.c
+++ b/src/plugins/memif/device.c
@@ -40,7 +40,7 @@ typedef enum
MEMIF_TX_N_ERROR,
} memif_tx_func_error_t;
-static vl_counter_t memif_tx_func_error_counters[] = {
+static vlib_error_desc_t memif_tx_func_error_counters[] = {
#define _(f, n, s, d) { #n, d, VL_COUNTER_SEVERITY_##s },
foreach_memif_tx_func_error
#undef _
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c
index 84bc63fc7c3..7c4de8b8564 100644
--- a/src/plugins/memif/node.c
+++ b/src/plugins/memif/node.c
@@ -43,7 +43,7 @@ typedef enum
MEMIF_INPUT_N_ERROR,
} memif_input_error_t;
-static vl_counter_t memif_input_error_counters[] = {
+static vlib_error_desc_t memif_input_error_counters[] = {
#define _(f, n, s, d) { #n, d, VL_COUNTER_SEVERITY_##s },
foreach_memif_input_error
#undef _
diff --git a/src/plugins/nat/pnat/tests/pnat_test_stubs.h b/src/plugins/nat/pnat/tests/pnat_test_stubs.h
index 1b7450146f5..bfe1838ffa4 100644
--- a/src/plugins/nat/pnat/tests/pnat_test_stubs.h
+++ b/src/plugins/nat/pnat/tests/pnat_test_stubs.h
@@ -38,7 +38,7 @@ u8 *format_ip4_address(u8 *s, va_list *args) {
u8 *format_pnat_match_tuple(u8 *s, va_list *args) { return 0; }
u8 *format_pnat_rewrite_tuple(u8 *s, va_list *args) { return 0; }
-vl_counter_t pnat_error_counters[10];
+vlib_error_desc_t pnat_error_counters[10];
int ip4_sv_reass_enable_disable_with_refcnt(u32 sw_if_index, int is_enable) {
return 0;