Lines Matching +full:flow +full:- +full:controller
2 * Copyright 2022-2024 The OpenSSL Project Authors. All Rights Reserved.
19 * TX Flow Controller (TXFC)
22 * For discussion, see doc/designs/quic-design/quic-fc.md.
27 QUIC_TXFC *parent; /* stream-level iff non-NULL */
33 * Initialises a TX flow controller. conn_txfc should be non-NULL and point to
34 * the connection-level flow controller if the TXFC is for stream-level flow
40 * Gets the parent (i.e., connection-level) TX flow controller. Returns NULL if
41 * called on a connection-level TX flow controller.
47 * operation. This function is a no-op if it has already been called with an
62 * If called on a stream-level TXFC, ossl_quic_txfc_get_credit is called on
63 * the connection-level TXFC as well, and the lesser of the two values is
70 * Like ossl_quic_txfc_get_credit(), but when called on a stream-level TXFC,
71 * retrieves only the stream-level credit value and does not clamp it based on
72 * connection-level flow control. Any credit value is reduced by the consumed
80 * of 0 is a no-op.
88 * If called on a stream-level TXFC, ossl_quic_txfc_consume_credit() is called
89 * on the connection-level TXFC also. If the call to that function on the
90 * connection-level TXFC returns zero, this function will also return zero.
95 * Like ossl_quic_txfc_consume_credit(), but when called on a stream-level TXFC,
96 * consumes only from the stream-level credit and does not inform the
97 * connection-level TXFC.
123 * RX Flow Controller (RXFC)
133 * the current auto-tuning epoch started. hwm is the highest stream length
146 * Initialises an RX flow controller. conn_rxfc should be non-NULL and point to
147 * a connection-level RXFC if the RXFC is for stream-level flow control, and
160 * Initialises an RX flow controller which is used by itself and not under a
161 * connection-level RX flow controller. This can be used for stream count
170 * Gets the parent (i.e., connection-level) RXFC. Returns NULL if called on a
171 * connection-level RXFC.
189 * This function may be used on a stream-level RXFC only. The connection-level
190 * RXFC will have its state updated by the stream-level RXFC.
192 * You should check ossl_quic_rxfc_has_error() on both connection-level and
193 * stream-level RXFCs after calling this function, as an incoming STREAM frame
194 * may cause flow control limits to be exceeded by an errant peer. This
207 * You should call this only on a stream-level RXFC. This function will update
208 * the connection-level RXFC automatically.
214 * function, as it may have caused the RXFC to decide to grant more flow control
260 * Returns a QUIC_ERR_* error code if a flow control error has been detected.
267 * This indicates a flow control protocol violation by the remote peer; the
275 * Returns 1 if the RXFC is a stream-level RXFC and the RXFC knows the final
276 * size for the stream in bytes. If this is the case and final_size is non-NULL,