Home
last modified time | relevance | path

Searched refs:rtt (Results 1 – 12 of 12) sorted by relevance

/openssl/ssl/quic/
H A Dquic_fc.c256 static int rxfc_should_bump_window_size(QUIC_RXFC *rxfc, OSSL_TIME rtt) in rxfc_should_bump_window_size() argument
287 return ossl_time_compare(t_window, ossl_time_multiply(rtt, 4)) < 0; in rxfc_should_bump_window_size()
291 OSSL_TIME rtt) in rxfc_adjust_window_size() argument
298 if (rxfc_should_bump_window_size(rxfc, rtt)) in rxfc_adjust_window_size()
311 OSSL_TIME rtt) in rxfc_update_cwm() argument
318 rxfc_adjust_window_size(rxfc, min_window_size, rtt); in rxfc_update_cwm()
329 OSSL_TIME rtt) in rxfc_on_retire() argument
336 rxfc_update_cwm(rxfc, min_window_size, rtt); in rxfc_on_retire()
342 OSSL_TIME rtt) in ossl_quic_rxfc_on_retire() argument
354 rxfc_on_retire(rxfc, num_bytes, 0, rtt); in ossl_quic_rxfc_on_retire()
[all …]
H A Dquic_rstream.c139 OSSL_TIME rtt; in get_rtt() local
145 rtt = rtt_info.smoothed_rtt; in get_rtt()
147 rtt = ossl_time_zero(); in get_rtt()
149 return rtt; in get_rtt()
155 OSSL_TIME rtt = get_rtt(qrs); in ossl_quic_rstream_read() local
161 && !ossl_quic_rxfc_on_retire(qrs->rxfc, *readbytes, rtt)) in ossl_quic_rstream_read()
254 OSSL_TIME rtt = get_rtt(qrs); in ossl_quic_rstream_release_record() local
256 if (!ossl_quic_rxfc_on_retire(qrs->rxfc, offset, rtt)) in ossl_quic_rstream_release_record()
H A Dquic_ackm.c751 OSSL_RTT_INFO rtt; in ackm_detect_and_remove_lost_pkts() local
756 ossl_statm_get_rtt_info(ackm->statm, &rtt); in ackm_detect_and_remove_lost_pkts()
760 loss_delay = ossl_time_multiply(ossl_time_max(rtt.latest_rtt, in ackm_detect_and_remove_lost_pkts()
830 OSSL_RTT_INFO rtt; in ackm_get_pto_time_and_space() local
835 ossl_statm_get_rtt_info(ackm->statm, &rtt); in ackm_get_pto_time_and_space()
838 = ossl_time_add(rtt.smoothed_rtt, in ackm_get_pto_time_and_space()
938 OSSL_RTT_INFO rtt; in ackm_on_pkts_lost() local
975 ossl_statm_get_rtt_info(ackm->statm, &rtt); in ackm_on_pkts_lost()
1699 OSSL_RTT_INFO rtt; in ossl_ackm_get_pto_duration() local
1701 ossl_statm_get_rtt_info(ackm->statm, &rtt); in ossl_ackm_get_pto_duration()
[all …]
H A Dquic_stream_map.c756 OSSL_TIME rtt) in ossl_quic_stream_map_remove_from_accept_queue() argument
767 (void)ossl_quic_rxfc_on_retire(max_streams_rxfc, 1, rtt); in ossl_quic_stream_map_remove_from_accept_queue()
/openssl/test/
H A Dssl_handshake_rtt_test.c52 uint64_t rtt; in test_handshake_rtt() local
116 if (!TEST_int_gt(SSL_get_handshake_rtt(SSL_CONNECTION_GET_SSL(s), &rtt), 0)) in test_handshake_rtt()
119 if (!TEST_uint64_t_ge(rtt, 1000)) in test_handshake_rtt()
H A Dquic_fc_test.c240 #define RX_OP_RETIRE(stream_idx, num_bytes, rtt, expect_fail) \ argument
241 { RX_OPC_RETIRE, (stream_idx), (num_bytes), (rtt), (expect_fail) },
/openssl/include/internal/
H A Dquic_fc.h221 OSSL_TIME rtt);
H A Dquic_stream_map.h842 OSSL_TIME rtt);
/openssl/doc/man3/
H A DSSL_get_handshake_rtt.pod12 int SSL_get_handshake_rtt(const SSL *s, uint64_t *rtt);
/openssl/doc/designs/quic-design/
H A Dtx-packetiser.md325 - Do we need the distinction between 0-rtt and 1-rtt when both are in
/openssl/ssl/
H A Dssl_lib.c4865 __owur int SSL_get_handshake_rtt(const SSL *s, uint64_t *rtt) in SSL_get_handshake_rtt() argument
4876 *rtt = ossl_time2us(ossl_time_subtract(sc->ts_msg_read, sc->ts_msg_write)); in SSL_get_handshake_rtt()
/openssl/include/openssl/
H A Dssl.h.in1970 __owur int SSL_get_handshake_rtt(const SSL *s, uint64_t *rtt);

Completed in 70 milliseconds