summaryrefslogtreecommitdiffstats
path: root/src/plugins/quic/quic.h
diff options
context:
space:
mode:
authorMathiasRaoul <mathias.raoul@gmail.com>2020-03-24 09:45:55 +0000
committerDave Wallace <dwallacelf@gmail.com>2020-03-24 22:41:24 +0000
commit753b96f31b0f34983bbc213516f1a05825d868a8 (patch)
tree451ac0d69bb2a0944f3b46d8e10ae5e0ab5a6a2e /src/plugins/quic/quic.h
parent2a6642e95dc18d7c56f87b74a70658b8312b8c08 (diff)
quic: disable vnet_crypto and batching if no crypto engines are loaded
Type: fix Change-Id: I95d3f8431b468cefc8777526dd3b988a299f0687 Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
Diffstat (limited to 'src/plugins/quic/quic.h')
-rw-r--r--src/plugins/quic/quic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/quic/quic.h b/src/plugins/quic/quic.h
index 98f4ce87f81..1e83d9235d7 100644
--- a/src/plugins/quic/quic.h
+++ b/src/plugins/quic/quic.h
@@ -275,6 +275,8 @@ typedef struct quic_main_
u32 udp_fifo_prealloc;
u32 connection_timeout;
+ u8 vnet_crypto_enabled;
+
clib_rwlock_t crypto_keys_quic_rw_lock;
} quic_main_t;