Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037)
int ossl_quic_tx_packetiser_set_peer(OSSL_QUIC_TX_PACKETISER *txp,
const BIO_ADDR *peer);
+/*
+ * Change the QLOG instance in use after instantiation.
+ */
+void ossl_quic_tx_packetiser_set_qlog(OSSL_QUIC_TX_PACKETISER *txp,
+ QLOG *qlog);
+
/*
* Inform the TX packetiser that an EL has been discarded. Idempotent.
*
txp->ack_tx_cb_arg = cb_arg;
}
+void ossl_quic_tx_packetiser_set_qlog(OSSL_QUIC_TX_PACKETISER *txp,
+ QLOG *qlog)
+{
+ ossl_quic_fifd_set_qlog(&txp->fifd, qlog);
+}
+
int ossl_quic_tx_packetiser_discard_enc_level(OSSL_QUIC_TX_PACKETISER *txp,
uint32_t enc_level)
{