| /src/external/bsd/unbound/dist/util/ |
| rtt.c | 2 * util/rtt.c - UDP round trip time estimator for resend timeouts. 43 #include "util/rtt.h" 51 /** calculate RTO from rtt information */ 53 calc_rto(const struct rtt_info* rtt) 56 int rto = rtt->srtt + 4*rtt->rttvar; 65 rtt_init(struct rtt_info* rtt) 67 rtt->srtt = 0; 68 rtt->rttvar = UNKNOWN_SERVER_NICENESS/4; 69 rtt->rto = calc_rto(rtt) [all...] |
| rtt.h | 2 * util/rtt.h - UDP round trip time estimator for resend timeouts. 47 * RTT information. Keeps packet Round Trip Time. 50 /** smoothed rtt estimator, in milliseconds */ 64 * Initialize RTT estimators. 65 * @param rtt: The structure. Caller is responsible for allocation of it. 67 void rtt_init(struct rtt_info* rtt); 71 * @param rtt: round trip statistics structure. 74 int rtt_timeout(const struct rtt_info* rtt); 79 * @param rtt: round trip statistics structure. 82 int rtt_unclamped(const struct rtt_info* rtt); [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| ssl_handshake_rtt_test.c | 40 * Test 0: Clientside handshake RTT (TLSv1.2) 41 * Test 1: Serverside handshake RTT (TLSv1.2) 42 * Test 2: Clientside handshake RTT (TLSv1.3) 43 * Test 3: Serverside handshake RTT (TLSv1.3) 44 * Test 4: Clientside handshake RTT with Early Data (TLSv1.3) 53 uint64_t rtt; local 78 /* implicitly set handshake rtt with a delay */ 117 if (!TEST_int_gt(SSL_get_handshake_rtt(SSL_CONNECTION_GET_SSL(s), &rtt), 0)) 120 if (!TEST_uint64_t_ge(rtt, 1000))
|
| /src/sys/nfs/ |
| nfsrtt.h | 61 int rtt; /* Measured round trip time */ member in struct:rttl 66 int sdrtt; /* Ave mean deviation of RTT */
|
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_fc.c | 256 static int rxfc_should_bump_window_size(QUIC_RXFC *rxfc, OSSL_TIME rtt) 263 * RTT: The current estimated RTT. 271 * We bump the window size if T_window < 4 * RTT. 287 return ossl_time_compare(t_window, ossl_time_multiply(rtt, 4)) < 0; 291 OSSL_TIME rtt) 298 if (rxfc_should_bump_window_size(rxfc, rtt)) 311 OSSL_TIME rtt) 318 rxfc_adjust_window_size(rxfc, min_window_size, rtt); 329 OSSL_TIME rtt) [all...] |
| quic_rstream.c | 139 OSSL_TIME rtt; local 145 rtt = rtt_info.smoothed_rtt; 147 rtt = ossl_time_zero(); 149 return rtt; 155 OSSL_TIME rtt = get_rtt(qrs); local 161 && !ossl_quic_rxfc_on_retire(qrs->rxfc, *readbytes, rtt)) 253 OSSL_TIME rtt = get_rtt(qrs); local 255 if (!ossl_quic_rxfc_on_retire(qrs->rxfc, offset, rtt))
|
| quic_ackm.c | 324 * PN can only become provably ACKed at least 1 RTT after it is received; it is 522 /* Time at which we got our first RTT sample, or 0. */ 758 OSSL_RTT_INFO rtt; local 763 ossl_statm_get_rtt_info(ackm->statm, &rtt); 767 loss_delay = ossl_time_multiply(ossl_time_max(rtt.latest_rtt, 768 rtt.smoothed_rtt), 835 OSSL_RTT_INFO rtt; local 840 ossl_statm_get_rtt_info(ackm->statm, &rtt); 843 = ossl_time_add(rtt.smoothed_rtt, 844 ossl_time_max(ossl_time_multiply(rtt.rtt_variance, 4) 956 OSSL_RTT_INFO rtt; local 1718 OSSL_RTT_INFO rtt; local [all...] |
| /src/external/bsd/unbound/dist/services/cache/ |
| infra.c | 2 * services/cache/infra.c - infrastructure cache, server rtt and capabilities 70 * infra-cache-max-rtt) change it to just above the RTT_BAND. */ 533 rtt_init(&data->rtt); 597 int old = ((struct infra_data*)e->data)->rtt.rto; 612 ((struct infra_data*)e->data)->rtt.rto 628 *to = rtt_timeout(&data->rtt); 636 *to = rtt_timeout(&data->rtt); 638 rtt_notimeout(&data->rtt)*4 <= *to)) { 707 if(data->rtt.rto >= RTT_MAX_TIMEOUT) 710 data->rtt.rto = still_useful_timeout() [all...] |
| infra.h | 2 * services/cache/infra.h - infrastructure cache, server rtt and capabilities 49 #include "util/rtt.h" 56 * even if another type has completely rtt maxed it, the different type 95 struct rtt_info rtt; member in struct:infra_data 265 * Lameness is empty. EDNS is 0 (try with first), and rtt is returned for 306 * Update rtt information for the host. 315 * @param orig_rtt: original rtt for the query that timed out (roundtrip==-1). 353 * Get Lameness information and average RTT if host is in the cache. 365 * @param rtt: if function returns true, this returns avg rtt of the server [all...] |
| /src/external/bsd/unbound/dist/testdata/stat_values.tdir/ |
| stat_values_discard_wait_limit.conf | 23 infra-cache-min-rtt: 3000 # This is for the discard-timeout test
|
| /src/sbin/route/ |
| keywords.sh | 47 rtt
|
| /src/sys/netinet/ |
| dccp_tcplike.h | 59 u_int16_t rtt; /* estimated round trip-time */ member in struct:tcplike_send_ccb
|
| dccp_tcplike.c | 170 if (cb->rtt == 0xffff) { 172 cb->rtt = sample; 173 cb->rto = cb->rtt << 1; 178 if (sample >= cb->rtt) { 179 err = sample - cb->rtt; 180 cb->rtt = cb->rtt + (err >> 3); 182 err = cb->rtt - sample; 183 cb->rtt = cb->rtt - (err >> 3) [all...] |
| dccp_tfrc.h | 89 u_int32_t rtt; /* Estimate of current round trip time */ member in struct:tfrc_send_ccb 95 u_int32_t t_rto; /* Time out value = 4*rtt */
|
| tcp_congctl.c | 863 /* Draft Rhee Section 3.1 - get W(t+rtt) - Eq. 1 */ 865 tcp_cubic_getW(struct tcpcb *tp, uint32_t ms_elapsed, uint32_t rtt) 874 tK3 = (long)(ms_elapsed + rtt) - (long)K; 927 uint32_t ms_elapsed, rtt; local 930 /* Congestion avoidance and not in fast recovery and usable rtt */ 937 (rtt = (tp->t_srtt << 5) / PR_SLOWHZ) > 0) { 942 ms_elapsed / rtt / 3; 946 tp->snd_cwnd += (tcp_cubic_getW(tp, ms_elapsed, rtt) -
|
| dccp_tfrc.c | 316 cb->x_calc = *tfrc_calcX(cb->s, cb->rtt, &cb->p); 331 t_rtt.tv_usec = cb->rtt % 1000000; 332 t_rtt.tv_sec = cb->rtt / 1000000; 345 cb->x.denom *= cb->rtt; 412 * 4 packets per RTT 417 v.denom = cb->rtt; 679 /* Assume RTT = t_rto(initial)/4 */ 683 if (cb->rtt) 685 / cb->rtt / TFRC_WIN_COUNT_PER_RTT; 911 /* Update RTT */ [all...] |
| /src/tests/net/route/ |
| t_change.sh | 136 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 155 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 203 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 222 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 270 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 289 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
|
| t_route.sh | 238 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 254 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 270 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 288 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 313 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 328 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 344 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 362 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
|
| /src/usr.sbin/sysinst/ |
| run.c | 420 struct termios rtt, tt; local 430 rtt = tt; 471 rtt = tt; 472 rtt.c_lflag |= (ICANON|ECHO); 473 (void)tcsetattr(slave, TCSANOW, &rtt); 559 if (!(rtt.c_lflag & ECHO)) 565 memcpy(&rtt, ibuf, sizeof(rtt));
|
| /src/crypto/external/apache2/openssl/dist/include/internal/ |
| quic_fc.h | 210 * rtt should be the current best understanding of the RTT to the peer, as 221 OSSL_TIME rtt);
|
| /src/sys/dev/hyperv/ |
| hvtimesync.c | 127 uint64_t hv_ns, vm_ns, rtt = 0; local 131 rtt = hyperv_tc64() - sent_tc; 133 hv_ns = (hvtime - VMBUS_ICMSG_TS_BASE + rtt) * HYPERV_TIMER_NS_FACTOR; 212 DPRINTF("%s: RTT\n", device_xname(vsc->sc_dev));
|
| /src/sys/dev/i2c/ |
| cwfg.c | 138 u_int vcell, rtt, tmp; local 179 rtt = __SHIFTOUT(val, RTT_HI) << 8; 182 rtt |= __SHIFTOUT(val, RTT_LO); 184 if (rtt != 0x1fff) { 186 e->value_cur = rtt; /* minutes */
|
| /src/usr.bin/script/ |
| script.c | 106 struct termios rtt; local 182 rtt = tt; 183 cfmakeraw(&rtt); 184 rtt.c_lflag &= ~ECHO; 185 (void)tcsetattr(STDIN_FILENO, TCSAFLUSH, &rtt);
|
| /src/external/bsd/unbound/lib/libunbound/ |
| Makefile | 80 rtt.c \
|
| /src/external/mpl/bind/dist/bin/dig/ |
| host.c | 282 const char *rtt; local 290 rtt = t->text; 300 rtt = typebuf2; 302 say_message(print_name, rtt, &rdata,
|