aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-09-08 13:30:56 +0100
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:49:34 +0000
commit3e5287803972de26d0ccbb912bf26e4fd42e39e1 (patch)
treed3b81a8a3c05edf45fef4e16fee3cdfec44ea3dc /include
parent285a76bda02192818cedc2a7db8ff54bbd6a3586 (diff)
downloadopenssl-3e5287803972de26d0ccbb912bf26e4fd42e39e1.tar.gz
QLOG: Wiring: QUIC FIFD
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22037)
Diffstat (limited to 'include')
-rw-r--r--include/internal/quic_fifd.h5
-rw-r--r--include/internal/quic_txp.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/internal/quic_fifd.h b/include/internal/quic_fifd.h
index a260ec4471..1271bd5bc4 100644
--- a/include/internal/quic_fifd.h
+++ b/include/internal/quic_fifd.h
@@ -16,6 +16,7 @@
# include "internal/quic_ackm.h"
# include "internal/quic_txpim.h"
# include "internal/quic_stream.h"
+# include "internal/qlog.h"
# ifndef OPENSSL_NO_QUIC
@@ -45,6 +46,7 @@ struct quic_fifd_st {
void (*sstream_updated)(uint64_t stream_id,
void *arg);
void *sstream_updated_arg;
+ QLOG *qlog;
};
int ossl_quic_fifd_init(QUIC_FIFD *fifd,
@@ -69,7 +71,8 @@ int ossl_quic_fifd_init(QUIC_FIFD *fifd,
void *confirm_frame_arg,
void (*sstream_updated)(uint64_t stream_id,
void *arg),
- void *sstream_updated_arg);
+ void *sstream_updated_arg,
+ QLOG *qlog);
void ossl_quic_fifd_cleanup(QUIC_FIFD *fifd); /* (no-op) */
diff --git a/include/internal/quic_txp.h b/include/internal/quic_txp.h
index 7c00c41419..6f1debb1d9 100644
--- a/include/internal/quic_txp.h
+++ b/include/internal/quic_txp.h
@@ -21,6 +21,7 @@
# include "internal/quic_fc.h"
# include "internal/bio_addr.h"
# include "internal/time.h"
+# include "internal/qlog.h"
# ifndef OPENSSL_NO_QUIC
@@ -49,6 +50,7 @@ typedef struct ossl_quic_tx_packetiser_args_st {
OSSL_CC_DATA *cc_data; /* QUIC Congestion Controller Instance */
OSSL_TIME (*now)(void *arg); /* Callback to get current time. */
void *now_arg;
+ QLOG *qlog; /* Optional QLOG instance */
/*
* Injected dependencies - crypto streams.