summaryrefslogtreecommitdiffstats
path: root/include/internal/quic_channel.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-06-12 14:13:33 +0100
committerPauli <pauli@openssl.org>2023-06-16 09:26:48 +1000
commit2525109f90cf3a91a909621266ec6854a83805e2 (patch)
tree685dd38b75e74de35c0a1739f4b5f4771fbeccf0 /include/internal/quic_channel.h
parent692a3cab11932d2aaa7b1b628cacc513ba73a5e5 (diff)
QUIC: Allow application to trigger TXKU
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21029)
Diffstat (limited to 'include/internal/quic_channel.h')
-rw-r--r--include/internal/quic_channel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/quic_channel.h b/include/internal/quic_channel.h
index 99e3dd6c76..deade706af 100644
--- a/include/internal/quic_channel.h
+++ b/include/internal/quic_channel.h
@@ -338,6 +338,9 @@ void ossl_quic_channel_set_txku_threshold_override(QUIC_CHANNEL *ch,
uint64_t ossl_quic_channel_get_tx_key_epoch(QUIC_CHANNEL *ch);
uint64_t ossl_quic_channel_get_rx_key_epoch(QUIC_CHANNEL *ch);
+/* Artificially trigger a spontaneous TXKU if possible. */
+int ossl_quic_channel_trigger_txku(QUIC_CHANNEL *ch);
+
# endif
#endif