diff options
Diffstat (limited to 'include/internal/quic_cc.h')
-rw-r--r-- | include/internal/quic_cc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/internal/quic_cc.h b/include/internal/quic_cc.h index 2a702b0731..f056f0dbee 100644 --- a/include/internal/quic_cc.h +++ b/include/internal/quic_cc.h @@ -82,6 +82,12 @@ typedef struct ossl_cc_method_st { uint64_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 * in the packet that are retransmittable. |