summaryrefslogtreecommitdiffstats
path: root/ssl/quic/quic_local.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-01-11 09:17:43 +0000
committerHugo Landau <hlandau@openssl.org>2024-04-19 09:29:02 +0100
commitb90003009678ed12ccc59b6371592ecdd5d8fa2d (patch)
tree75e8a613198b38ed24067fa93a50284e8103dc98 /ssl/quic/quic_local.h
parent99af2fc5c2da0feeaa8e61b7c04d5123eab41453 (diff)
QUIC APL: Add skeleton listener API
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23334)
Diffstat (limited to 'ssl/quic/quic_local.h')
-rw-r--r--ssl/quic/quic_local.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ssl/quic/quic_local.h b/ssl/quic/quic_local.h
index 0fcaf8a142..1bf34f35dc 100644
--- a/ssl/quic/quic_local.h
+++ b/ssl/quic/quic_local.h
@@ -257,6 +257,18 @@ struct quic_conn_st {
struct quic_listener_st {
/* QUIC_OBJ common header, including SSL object common header. */
QUIC_OBJ obj;
+
+ /* The QUIC engine representing the QUIC event domain. */
+ QUIC_ENGINE *engine;
+
+ /* The QUIC port representing the QUIC listener and socket. */
+ QUIC_PORT *port;
+
+ /*
+ * The mutex used to synchronise access to the QUIC_ENGINE. We own this but
+ * provide it to the engine.
+ */
+ CRYPTO_MUTEX *mutex;
};
/* Internal calls to the QUIC CSM which come from various places. */