summaryrefslogtreecommitdiffstats
path: root/ssl/quic/quic_port_local.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-11-09 10:27:13 +0000
committerHugo Landau <hlandau@openssl.org>2023-12-21 08:11:59 +0000
commit4ed6b48d9dd469d43d810fa285257043e9ce9779 (patch)
treef4265a9b09b75faf39872845b81b3b1cc7b64797 /ssl/quic/quic_port_local.h
parent2d80e459017d7744e6a5438422ed36fe1d448adb (diff)
QUIC PORT, CHANNEL: Move DEMUX and default packet handling out of CHANNEL
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22674)
Diffstat (limited to 'ssl/quic/quic_port_local.h')
-rw-r--r--ssl/quic/quic_port_local.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ssl/quic/quic_port_local.h b/ssl/quic/quic_port_local.h
index fc0521d02b..ff109365aa 100644
--- a/ssl/quic/quic_port_local.h
+++ b/ssl/quic/quic_port_local.h
@@ -48,6 +48,17 @@ struct quic_port_st {
/* List of all child channels. */
OSSL_LIST(ch) channel_list;
+
+ /* Special TSERVER channel. To be removed in the future. */
+ QUIC_CHANNEL *tserver_ch;
+
+ /* DCID length used for incoming short header packets. */
+ unsigned char rx_short_dcid_len;
+ /* For clients, CID length used for outgoing Initial packets. */
+ unsigned char tx_init_dcid_len;
+
+ /* Is this port created to support multiple connections? */
+ unsigned int is_multi_conn : 1;
};
# endif