mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
QLOG: Wiring: QUIC QTX
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22037)
This commit is contained in:
parent
b7c7997375
commit
434d52a4b6
@ -15,6 +15,7 @@
|
||||
# include "internal/quic_types.h"
|
||||
# include "internal/quic_predef.h"
|
||||
# include "internal/quic_record_util.h"
|
||||
# include "internal/qlog.h"
|
||||
|
||||
# ifndef OPENSSL_NO_QUIC
|
||||
|
||||
@ -47,6 +48,9 @@ typedef struct ossl_qtx_args_st {
|
||||
|
||||
/* Maximum datagram payload length (MDPL) for TX purposes. */
|
||||
size_t mdpl;
|
||||
|
||||
/* QLOG instance to use, or NULL. */
|
||||
QLOG *qlog;
|
||||
} OSSL_QTX_ARGS;
|
||||
|
||||
/* Instantiates a new QTX. */
|
||||
|
@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include "internal/quic_record_tx.h"
|
||||
#include "internal/qlog_event_helpers.h"
|
||||
#include "internal/bio_addr.h"
|
||||
#include "internal/common.h"
|
||||
#include "quic_record_shared.h"
|
||||
@ -60,6 +61,9 @@ struct ossl_qtx_st {
|
||||
/* TX BIO. */
|
||||
BIO *bio;
|
||||
|
||||
/* QLOG instance if in use, or NULL. */
|
||||
QLOG *qlog;
|
||||
|
||||
/* TX maximum datagram payload length. */
|
||||
size_t mdpl;
|
||||
|
||||
@ -117,6 +121,7 @@ OSSL_QTX *ossl_qtx_new(const OSSL_QTX_ARGS *args)
|
||||
qtx->propq = args->propq;
|
||||
qtx->bio = args->bio;
|
||||
qtx->mdpl = args->mdpl;
|
||||
qtx->qlog = args->qlog;
|
||||
return qtx;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user