From 97c5c52d6c2c5d13db0cc59b3dbf4d75c40ec3ba Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Mon, 31 Oct 2022 13:51:09 +0000 Subject: QUIC Congestion Control: API to determine deadline at which more credit will be available Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/19703) --- doc/designs/quic-design/congestion-control.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/designs') diff --git a/doc/designs/quic-design/congestion-control.md b/doc/designs/quic-design/congestion-control.md index 231d4ef360..7881ca9871 100644 --- a/doc/designs/quic-design/congestion-control.md +++ b/doc/designs/quic-design/congestion-control.md @@ -177,6 +177,12 @@ struct ossl_cc_method_st { */ size_t (*get_bytes_in_flight_max)(OSSL_CC_DATA *ccdata); + /* + * Returns the time at which the CC will next release more budget + * for sending, or ossl_time_infinite(). + */ + OSSL_TIME (*get_next_credit_time)(OSSL_CC_DATA *ccdata); + /* * To be called when a packet with retransmittable data was sent. * |num_retransmittable_bytes| is the number of bytes sent -- cgit v1.2.3