OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:txfc
(Results
1 - 10
of
10
) sorted by relevancy
/src/crypto/external/apache2/openssl/dist/include/internal/
quic_fc.h
19
* TX Flow Controller (
TXFC
)
34
* the connection-level flow controller if the
TXFC
is for stream-level flow
37
int ossl_quic_txfc_init(QUIC_TXFC *
txfc
, QUIC_TXFC *conn_txfc);
43
QUIC_TXFC *ossl_quic_txfc_get_parent(QUIC_TXFC *
txfc
);
55
int ossl_quic_txfc_bump_cwm(QUIC_TXFC *
txfc
, uint64_t cwm);
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
65
* level
TXFC
.
67
uint64_t ossl_quic_txfc_get_credit(QUIC_TXFC *
txfc
, uint64_t consumed);
70
* Like ossl_quic_txfc_get_credit(), but when called on a stream-level
TXFC
,
[
all
...]
quic_stream_map.h
155
QUIC_TXFC
txfc
; /* NULL if RX-only */
member in struct:quic_stream_st
/src/crypto/external/apache2/openssl/dist/ssl/quic/
quic_fc.c
19
* TX Flow Controller (
TXFC
)
23
int ossl_quic_txfc_init(QUIC_TXFC *
txfc
, QUIC_TXFC *conn_txfc)
28
txfc
->swm = 0;
29
txfc
->cwm = 0;
30
txfc
->parent = conn_txfc;
31
txfc
->has_become_blocked = 0;
35
QUIC_TXFC *ossl_quic_txfc_get_parent(QUIC_TXFC *
txfc
)
37
return
txfc
->parent;
40
int ossl_quic_txfc_bump_cwm(QUIC_TXFC *
txfc
, uint64_t cwm)
42
if (cwm <=
txfc
->cwm
[
all
...]
quic_stream_map.c
264
* against the
TXFC
CWM.
271
fc_credit = ossl_quic_txfc_get_credit(&s->
txfc
, 0);
272
fc_swm = ossl_quic_txfc_get_swm(&s->
txfc
);
482
* credit. We can get this from the
TXFC
.
484
qs->send_final_size = ossl_quic_txfc_get_swm(&qs->
txfc
);
quic_channel.c
1269
ossl_quic_txfc_bump_cwm(&s->
txfc
, *(uint64_t *)arg);
1278
ossl_quic_txfc_bump_cwm(&s->
txfc
, *(uint64_t *)arg);
3757
/*
TXFC
*/
3758
if (!ossl_quic_txfc_init(&qs->
txfc
, &ch->conn_txfc))
3777
ossl_quic_txfc_bump_cwm(&qs->
txfc
, cwm);
quic_txp.c
2239
/* Clamp according to connection and stream-level
TXFC
. */
2253
* Nothing to do due to
TXFC
. Since SSTREAM returns chunks in ascending
2450
/* Log new
TXFC
credit which was consumed. */
2568
if (!ossl_assert(f.final_size <= ossl_quic_txfc_get_swm(&stream->
txfc
)))
2572
= f.final_size - ossl_quic_txfc_get_swm(&stream->
txfc
);
2627
&stream->
txfc
,
3057
if (!ossl_assert(ossl_quic_txfc_consume_credit(&stream->
txfc
,
3072
* the stream is drained of data or
TXFC
-blocked), we can mark the
quic_rx_depack.c
723
ossl_quic_txfc_bump_cwm(&stream->
txfc
, max_stream_data);
quic_impl.c
2519
uint64_t cwm = ossl_quic_txfc_get_cwm(&xso->stream->
txfc
);
5176
&& ossl_quic_txfc_get_cwm(&xso->stream->
txfc
)
/src/crypto/external/apache2/openssl/dist/test/
quic_fc_test.c
17
QUIC_TXFC conn_txfc, stream_txfc, *
txfc
, *parent_txfc;
local
25
txfc
= is_stream ? &stream_txfc : &conn_txfc;
28
if (!TEST_true(ossl_quic_txfc_bump_cwm(
txfc
, 2000)))
34
if (!TEST_uint64_t_eq(ossl_quic_txfc_get_swm(
txfc
), 0))
37
if (!TEST_uint64_t_eq(ossl_quic_txfc_get_cwm(
txfc
), 2000))
40
if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(
txfc
, 0), 2000))
43
if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit_local(
txfc
, 100), 1900))
47
if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit(
txfc
, 0), 2000))
50
if (!TEST_uint64_t_eq(ossl_quic_txfc_get_credit(
txfc
, 100), 1900))
54
if (!TEST_false(ossl_quic_txfc_has_become_blocked(
txfc
, 0))
[
all
...]
quic_txp_test.c
279
#define OPK_CONN_TXFC_BUMP 20 /* Bump connection
TXFC
CWM */
280
#define OPK_STREAM_TXFC_BUMP 21 /* Bump stream
TXFC
CWM */
669
/* Still no output because of
TXFC
*/
671
/* Now grant a
TXFC
budget */
1511
|| !TEST_true(ossl_quic_txfc_init(&s->
txfc
, &h.conn_txfc))
1593
if (!TEST_true(ossl_quic_txfc_bump_cwm(&s->
txfc
, op->arg0)))
Completed in 78 milliseconds
Indexes created Fri Mar 06 19:51:54 UTC 2026