summaryrefslogtreecommitdiffstats
path: root/include/internal
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-07-25 11:32:25 +0100
committerMatt Caswell <matt@openssl.org>2023-08-08 14:33:42 +0100
commit1051b4a0b9e307e51fdf491e6824e6610007824d (patch)
treee7b1d412415ec4e35e591623014fa647185048fa /include/internal
parent7c793cd343cd1fad50091f8eb264e5ce7ddcc6e9 (diff)
QUIC FC: Rename stream count mode to reflect actual function
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21547)
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/quic_fc.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/internal/quic_fc.h b/include/internal/quic_fc.h
index ea7161534e..06a7cc1db0 100644
--- a/include/internal/quic_fc.h
+++ b/include/internal/quic_fc.h
@@ -137,7 +137,7 @@ struct quic_rxfc_st {
OSSL_TIME (*now)(void *arg);
void *now_arg;
QUIC_RXFC *parent;
- unsigned char error_code, has_cwm_changed, is_fin, stream_count_mode;
+ unsigned char error_code, has_cwm_changed, is_fin, standalone;
};
/*
@@ -155,12 +155,14 @@ int ossl_quic_rxfc_init(QUIC_RXFC *rxfc, QUIC_RXFC *conn_rxfc,
void *now_arg);
/*
- * Initialises an RX flow controller for stream count enforcement.
+ * Initialises an RX flow controller which is used by itself and not under a
+ * connection-level RX flow controller. This can be used for stream count
+ * enforcement as well as CRYPTO buffer enforcement.
*/
-int ossl_quic_rxfc_init_for_stream_count(QUIC_RXFC *rxfc,
- uint64_t initial_window_size,
- OSSL_TIME (*now)(void *arg),
- void *now_arg);
+int ossl_quic_rxfc_init_standalone(QUIC_RXFC *rxfc,
+ uint64_t initial_window_size,
+ OSSL_TIME (*now)(void *arg),
+ void *now_arg);
/*
* Gets the parent (i.e., connection-level) RXFC. Returns NULL if called on a