diff options
author | MathiasRaoul <mathias.raoul@gmail.com> | 2019-09-26 09:13:39 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-10-11 11:47:27 +0000 |
commit | 3a61a40dd4cbe41ca16bb2d7d99b156bf562487a (patch) | |
tree | 6bb86cc1a014b9d48d4266df1614d57aa4038cb5 /src/plugins/quic/quic.h | |
parent | 4adcdcd197a99c1adb0761ed9acedb3cfd1e37fb (diff) |
quic: Add Tx, Rx and packet drop counters
Type: feature
Change-Id: I25aeeed49fc569315296a73c5595c2e2e302434f
Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
(cherry picked from commit ff1f6faaa90cd446545a8d0c0b0baa85d69efa35)
Diffstat (limited to 'src/plugins/quic/quic.h')
-rw-r--r-- | src/plugins/quic/quic.h | 10 |
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, |