diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-09-08 13:58:41 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2024-02-02 11:49:34 +0000 |
commit | fff66adfc885c3d229333e28aa2cf225d3be098c (patch) | |
tree | b960b804b00e3f37f3ea8c798e9090e9eb86fdad /include | |
parent | 434d52a4b693c1f9fc008826ba2c7cceedb74964 (diff) |
QLOG: Events: Implement transport:packet_sent
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.h | 10 | ||||
-rw-r--r-- | include/internal/qlog_events.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/internal/qlog_event_helpers.h b/include/internal/qlog_event_helpers.h index 49bbe717d0..e1a9bcf534 100644 --- a/include/internal/qlog_event_helpers.h +++ b/include/internal/qlog_event_helpers.h @@ -15,6 +15,8 @@ # include "internal/quic_types.h" # include "internal/quic_channel.h" # include "internal/quic_txpim.h" +# include "internal/quic_record_tx.h" +# include "internal/quic_wire_pkt.h" /* connectivity:connection_started */ void ossl_qlog_event_connectivity_connection_started(QLOG *qlog, @@ -35,4 +37,12 @@ void ossl_qlog_event_connectivity_connection_closed(QLOG *qlog, void ossl_qlog_event_recovery_packet_lost(QLOG *qlog, const QUIC_TXPIM_PKT *tpkt); +/* transport:packet_sent */ +void ossl_qlog_event_transport_packet_sent(QLOG *qlog, + const QUIC_PKT_HDR *hdr, + QUIC_PN pn, + const OSSL_QTX_IOVEC *iovec, + size_t numn_iovec, + uint64_t datagram_id); + #endif diff --git a/include/internal/qlog_events.h b/include/internal/qlog_events.h index 3b8cf78f43..06706b5952 100644 --- a/include/internal/qlog_events.h +++ b/include/internal/qlog_events.h @@ -10,4 +10,5 @@ QLOG_EVENT(connectivity, connection_started) QLOG_EVENT(connectivity, connection_state_updated) QLOG_EVENT(connectivity, connection_closed) QLOG_EVENT(transport, parameters_set) +QLOG_EVENT(transport, packet_sent) QLOG_EVENT(recovery, packet_lost) |