aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/quic/quic.h
diff options
context:
space:
mode:
authorMathiasRaoul <mathias.raoul@gmail.com>2019-09-26 09:13:39 +0000
committerDave Wallace <dwallacelf@gmail.com>2019-10-01 23:42:34 +0000
commitff1f6faaa90cd446545a8d0c0b0baa85d69efa35 (patch)
treed7491c50e367bcc0ed1cfad863176dc7bda77091 /src/plugins/quic/quic.h
parentd4aeb84c3f066b755b723163da292eab95bd1ef9 (diff)
quic: Add Tx, Rx and packet drop counters
Type: feature Change-Id: I25aeeed49fc569315296a73c5595c2e2e302434f Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
Diffstat (limited to 'src/plugins/quic/quic.h')
-rw-r--r--src/plugins/quic/quic.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/quic/quic.h b/src/plugins/quic/quic.h
index 5b821d77bae..777820ee2c2 100644
--- a/src/plugins/quic/quic.h
+++ b/src/plugins/quic/quic.h
@@ -65,6 +65,16 @@
#define QUIC_DBG(_lvl, _fmt, _args...)
#endif
+extern vlib_node_registration_t quic_input_node;
+
+typedef enum
+{
+#define quic_error(n,s) QUIC_ERROR_##n,
+#include <plugins/quic/quic_error.def>
+#undef quic_error
+ QUIC_N_ERROR,
+} quic_error_t;
+
typedef enum quic_ctx_conn_state_
{
QUIC_CONN_STATE_OPENED,