diff options
author | MathiasRaoul <mathias.raoul@gmail.com> | 2019-09-26 09:13:39 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2019-10-01 23:42:34 +0000 |
commit | ff1f6faaa90cd446545a8d0c0b0baa85d69efa35 (patch) | |
tree | d7491c50e367bcc0ed1cfad863176dc7bda77091 /src/plugins/quic/quic.h | |
parent | d4aeb84c3f066b755b723163da292eab95bd1ef9 (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.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, |