aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-09-08 13:32:17 +0100
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:49:34 +0000
commitfaf0912a2f0ef4450f0f7082b177b1990662b809 (patch)
tree017689c35491a37c271bc2a60085b2862c324907 /include
parent40c835dac7e68528bfdc9322041ac93ef274c37d (diff)
downloadopenssl-faf0912a2f0ef4450f0f7082b177b1990662b809.tar.gz
QLOG: Events: Implement recovery:packet_lost
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/qlog_event_helpers.h5
-rw-r--r--include/internal/qlog_events.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/include/internal/qlog_event_helpers.h b/include/internal/qlog_event_helpers.h
index 4a19a79e25..49bbe717d0 100644
--- a/include/internal/qlog_event_helpers.h
+++ b/include/internal/qlog_event_helpers.h
@@ -14,6 +14,7 @@
# include "internal/qlog.h"
# include "internal/quic_types.h"
# include "internal/quic_channel.h"
+# include "internal/quic_txpim.h"
/* connectivity:connection_started */
void ossl_qlog_event_connectivity_connection_started(QLOG *qlog,
@@ -30,4 +31,8 @@ void ossl_qlog_event_connectivity_connection_state_updated(QLOG *qlog,
void ossl_qlog_event_connectivity_connection_closed(QLOG *qlog,
const QUIC_TERMINATE_CAUSE *tcause);
+/* recovery:packet_lost */
+void ossl_qlog_event_recovery_packet_lost(QLOG *qlog,
+ const QUIC_TXPIM_PKT *tpkt);
+
#endif
diff --git a/include/internal/qlog_events.h b/include/internal/qlog_events.h
index ec365c0009..3b8cf78f43 100644
--- a/include/internal/qlog_events.h
+++ b/include/internal/qlog_events.h
@@ -10,3 +10,4 @@ QLOG_EVENT(connectivity, connection_started)
QLOG_EVENT(connectivity, connection_state_updated)
QLOG_EVENT(connectivity, connection_closed)
QLOG_EVENT(transport, parameters_set)
+QLOG_EVENT(recovery, packet_lost)