VirtualBox

source: vbox/trunk/src/libs/openssl-3.3.2/include/internal/quic_statm.h@ 108403

最後變更 在這個檔案從108403是 108206,由 vboxsync 提交於 5 週 前

openssl-3.3.2: Exported all files to OSE and removed .scm-settings ​bugref:10757

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.1 KB
 
1/*
2 * Copyright 2022-2023 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#ifndef OSSL_QUIC_STATS_H
11# define OSSL_QUIC_STATS_H
12
13# include <openssl/ssl.h>
14# include "internal/time.h"
15# include "internal/quic_predef.h"
16
17# ifndef OPENSSL_NO_QUIC
18
19struct ossl_statm_st {
20 OSSL_TIME smoothed_rtt, latest_rtt, min_rtt, rtt_variance;
21 char have_first_sample;
22};
23
24typedef struct ossl_rtt_info_st {
25 /* As defined in RFC 9002. */
26 OSSL_TIME smoothed_rtt, latest_rtt, rtt_variance, min_rtt;
27} OSSL_RTT_INFO;
28
29int ossl_statm_init(OSSL_STATM *statm);
30
31void ossl_statm_destroy(OSSL_STATM *statm);
32
33void ossl_statm_get_rtt_info(OSSL_STATM *statm, OSSL_RTT_INFO *rtt_info);
34
35void ossl_statm_update_rtt(OSSL_STATM *statm,
36 OSSL_TIME ack_delay,
37 OSSL_TIME override_latest_rtt);
38
39# endif
40
41#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette