Home
last modified time | relevance | path

Searched refs:cwm (Results 1 – 6 of 6) sorted by relevance

/openssl/ssl/quic/
H A Dquic_fc.c29 txfc->cwm = 0; in OSSL_SAFE_MATH_UNSIGNED()
42 if (cwm <= txfc->cwm) in ossl_quic_txfc_bump_cwm()
45 txfc->cwm = cwm; in ossl_quic_txfc_bump_cwm()
51 assert((txfc->swm + consumed) <= txfc->cwm); in ossl_quic_txfc_get_credit_local()
52 return txfc->cwm - (consumed + txfc->swm); in ossl_quic_txfc_get_credit_local()
113 return txfc->cwm; in ossl_quic_txfc_get_cwm()
187 uint64_t credit = rxfc->cwm - rxfc->swm; in on_rx_controlled_bytes()
237 uint64_t window_rem = rxfc->cwm - rxfc->rwm; in rxfc_cwm_bump_desired()
321 if (new_cwm > rxfc->cwm) { in rxfc_update_cwm()
322 rxfc->cwm = new_cwm; in rxfc_update_cwm()
[all …]
H A Dquic_txp.c2406 uint64_t cwm; in txp_generate_stream_related() local
2505 cwm = ossl_quic_rxfc_get_cwm(&stream->rxfc); in txp_generate_stream_related()
2508 cwm)) { in txp_generate_stream_related()
2631 uint64_t cwm = ossl_quic_rxfc_get_cwm(txp->args.conn_rxfc); in txp_generate_for_el() local
2636 if (ossl_quic_wire_encode_frame_max_data(wpkt, cwm)) { in txp_generate_for_el()
H A Dquic_channel.c3416 uint64_t cwm; in ch_init_new_stream() local
3419 cwm = ch->rx_init_max_stream_data_uni; in ch_init_new_stream()
3421 cwm = ch->rx_init_max_stream_data_bidi_local; in ch_init_new_stream()
3423 cwm = ch->rx_init_max_stream_data_bidi_remote; in ch_init_new_stream()
3425 ossl_quic_txfc_bump_cwm(&qs->txfc, cwm); in ch_init_new_stream()
H A Dquic_impl.c2254 uint64_t cwm = ossl_quic_txfc_get_cwm(&xso->stream->txfc); in xso_sstream_append() local
2255 uint64_t permitted = (cwm >= cur ? cwm - cur : 0); in xso_sstream_append()
/openssl/include/internal/
H A Dquic_fc.h28 uint64_t swm, cwm; member
55 int ossl_quic_txfc_bump_cwm(QUIC_TXFC *txfc, uint64_t cwm);
137 uint64_t cwm, swm, rwm, esrwm, hwm, cur_window_size, max_window_size; member
/openssl/test/
H A Dquic_txp_test.c310 #define OP_CONN_TXFC_BUMP(cwm) \ argument
311 { OPK_CONN_TXFC_BUMP, (cwm) },
312 #define OP_STREAM_TXFC_BUMP(id, cwm) \ argument
313 { OPK_STREAM_TXFC_BUMP, (cwm), (id) },
369 uint64_t cwm; in schedule_max_data() local
371 cwm = ossl_quic_rxfc_get_cwm(&h->stream_rxfc); in schedule_max_data()
373 if (!TEST_true(ossl_quic_rxfc_on_rx_stream_frame(&h->stream_rxfc, cwm, 0)) in schedule_max_data()
374 || !TEST_true(ossl_quic_rxfc_on_retire(&h->stream_rxfc, cwm, in schedule_max_data()

Completed in 62 milliseconds