summaryrefslogtreecommitdiffstats
path: root/ssl/quic/quic_sstream.c
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2022-09-26 17:06:59 +0100
committerHugo Landau <hlandau@openssl.org>2022-11-24 08:15:20 +0000
commita73078b79fc6f229b95312dcb20e4f61120a108c (patch)
tree9a66c1046605081c484444eb7eeb5527c934bbe6 /ssl/quic/quic_sstream.c
parentf5060f9b31654d7ca3b015d2b803e17dda760190 (diff)
QUIC TX Packetiser and Streams Mapper
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19346)
Diffstat (limited to 'ssl/quic/quic_sstream.c')
-rw-r--r--ssl/quic/quic_sstream.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/quic/quic_sstream.c b/ssl/quic/quic_sstream.c
index 07113884e1..47d7ab1d21 100644
--- a/ssl/quic/quic_sstream.c
+++ b/ssl/quic/quic_sstream.c
@@ -333,6 +333,11 @@ int ossl_quic_sstream_get_stream_frame(QUIC_SSTREAM *qss,
return 1;
}
+uint64_t ossl_quic_sstream_get_cur_size(QUIC_SSTREAM *qss)
+{
+ return qss->ring_buf.head_offset;
+}
+
int ossl_quic_sstream_mark_transmitted(QUIC_SSTREAM *qss,
uint64_t start,
uint64_t end)