summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-05-23 12:23:05 +0100
committerPauli <pauli@openssl.org>2023-06-16 09:26:27 +1000
commit81b400cf900c530e170a1488222191c5568f6b2d (patch)
tree5e6bb94d21cf7da37a819127def1dc439593645b /include
parentdfd8176f2556ca7ad0029012a048a3adc840bca5 (diff)
QUIC ACKM: Allow largest acked PN to be queried
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')
-rw-r--r--include/internal/quic_ackm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/quic_ackm.h b/include/internal/quic_ackm.h
index 1fedc08769..7574c97a96 100644
--- a/include/internal/quic_ackm.h
+++ b/include/internal/quic_ackm.h
@@ -263,6 +263,9 @@ int ossl_ackm_mark_packet_pseudo_lost(OSSL_ACKM *ackm,
*/
OSSL_TIME ossl_ackm_get_pto_duration(OSSL_ACKM *ackm);
+/* Returns the largest acked PN in the given PN space. */
+QUIC_PN ossl_ackm_get_largest_acked(OSSL_ACKM *ackm, int pkt_space);
+
# endif
#endif