summaryrefslogtreecommitdiffstats
path: root/src/plugins/tlspicotls/tls_picotls.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-08-06 12:54:20 -0700
committerDave Barach <openvpp@barachs.net>2021-08-06 21:23:19 +0000
commit1885f795ed16515eff389cc49c0b1a9611cf587e (patch)
tree27cc5395a0bf14eb9985978eb030b6d61f8c0afa /src/plugins/tlspicotls/tls_picotls.h
parenta85a1c352b8eec6ca9ebf2b04726432fb415ff59 (diff)
tls: avoid picotls buffer allocs on rx
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I6cf0c141ab4a4f5a46feb6119fa142148366f0a6
Diffstat (limited to 'src/plugins/tlspicotls/tls_picotls.h')
-rw-r--r--src/plugins/tlspicotls/tls_picotls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/tlspicotls/tls_picotls.h b/src/plugins/tlspicotls/tls_picotls.h
index 29b279c7a83..e86b30aedfc 100644
--- a/src/plugins/tlspicotls/tls_picotls.h
+++ b/src/plugins/tlspicotls/tls_picotls.h
@@ -44,6 +44,7 @@ typedef struct tls_listen_ctx_picotls_
typedef struct picotls_main_
{
picotls_ctx_t ***ctx_pool;
+ u8 **rx_bufs;
picotls_listen_ctx_t *lctx_pool;
ptls_context_t *client_ptls_ctx;
clib_rwlock_t crypto_keys_rw_lock;