HomeSort by: relevance | last modified time | path
    Searched defs:rtt (Results 1 - 22 of 22) sorted by relevancy

  /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/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/netinet/
dccp_tcplike.h 59 u_int16_t rtt; /* estimated round trip-time */ member in struct:tcplike_send_ccb
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) -
tcp_subr.c 212 int tcp_msl_remote_threshold = TCPTV_SRTTDFLT; /* RTT threshold */
213 int tcp_rttlocal = 0; /* Use RTT to decide who's 'local' */
919 * rtt estimate. Set rttvar so that srtt + 2 * rttvar gives
1065 * give us 16 rtt samples assuming we only get one sample per
1068 * value; fewer samples and we could save a very bogus rtt.
1924 * Check if there's an initial rtt or rttvar. Convert from the
1933 int rtt; local
1941 if (tp->t_srtt == 0 && (rtt = rt->rt_rmx.rmx_rtt)) {
1948 rtt / (RTM_RTTUNIT / PR_SLOWHZ),
1950 tp->t_srtt = rtt /
    [all...]
sctp_input.c 1570 /* calculate the RTT */
2275 /* we reduce once every RTT. So we will only lower
2902 int rtt, incr; local
2906 /* need real RTT for this calc */
2907 rtt = ((net->lastsa >> 2) + net->lastsv) >> 1;
2920 bw_avail = (bottle_bw*rtt)/1000;
2924 * This can happen as RTT slides up due to queues.
2926 * RTT with a empty queue you will be limited to
2928 * other points have 1/2 the RTT and you could
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
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 322 * PN can only become provably ACKed at least 1 RTT after it is received; it is
520 /* Time at which we got our first RTT sample, or 0. */
756 OSSL_RTT_INFO rtt; local
761 ossl_statm_get_rtt_info(ackm->statm, &rtt);
765 loss_delay = ossl_time_multiply(ossl_time_max(rtt.latest_rtt,
766 rtt.smoothed_rtt),
833 OSSL_RTT_INFO rtt; local
838 ossl_statm_get_rtt_info(ackm->statm, &rtt);
841 = ossl_time_add(rtt.smoothed_rtt,
842 ossl_time_max(ossl_time_multiply(rtt.rtt_variance, 4)
954 OSSL_RTT_INFO rtt; local
1716 OSSL_RTT_INFO rtt; local
    [all...]
  /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/external/bsd/unbound/dist/services/cache/
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/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/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,
  /src/external/bsd/ppp/dist/pppd/
lcp.c 82 * time (RTT) of LCP echo-requests implemented in lcp_rtt_update_buffer().
95 char *lcp_rtt_file = NULL; /* measure the RTT of LCP echo-requests */
175 { "lcp-rtt-file", o_string, &lcp_rtt_file,
223 static int lcp_rtt_file_fd = 0; /* fd for the opened LCP RTT file */
224 static u_int32_t *lcp_rtt_buffer = NULL; /* the mmap'ed LCP RTT file */
2254 * Log the round-trip time (RTT) of the received LCP echo-request.
2267 * bits 0-23: the measured RTT in microseconds
2278 lcp_rtt_update_buffer (unsigned long rtt)
2297 if (rtt > 0xFFFFFF)
2298 rtt = 0xFFFFFF; /* truncate the RTT to 16777216 *
2352 unsigned long req_sec, req_nsec, rtt; local
    [all...]
  /src/external/bsd/unbound/dist/iterator/
iter_utils.c 273 * Otherwise, an rtt in milliseconds.
276 * Note that util/rtt.c has a MIN_TIMEOUT of 50 msec, thus
305 int rtt, lame, reclame, dnsseclame; local
323 &rtt, now)) {
325 verbose(VERB_ALGO, " rtt=%d%s%s%s%s%s", rtt,
333 else if(rtt >= USEFUL_SERVER_TOP_TIMEOUT)
343 return rtt+USEFUL_SERVER_TOP_TIMEOUT*3; /* nonpref */
345 return rtt+USEFUL_SERVER_TOP_TIMEOUT*2; /* nonpref */
347 return rtt+USEFUL_SERVER_TOP_TIMEOUT+1; /* nonpref *
    [all...]
  /src/usr.sbin/mtrace/
mtrace.c 1049 int rtt, hop; local
1070 rtt = t_diff(resptime, new->qtime);
1071 ms = scale(&rtt);
1072 printf(" %c __/ rtt%5d%s Lost/Sent = Pct Rate To %s\n",
1073 first ? 'v' : '|', rtt, ms, inet_fmt(qgrp));
  /src/external/bsd/unbound/dist/services/
outside_network.c 2919 int rtt, vs; local
2924 sq->zonelen, now, &vs, &edns_lame_known, &rtt))
2926 sq->last_rtt = rtt;
2939 verbose(VERB_ALGO, "serviced query UDP timeout=%d msec", rtt);
2940 sq->pending = pending_udp_query(sq, buff, rtt,
3170 log_err("out of memory noting rtt.");
3210 int vs, rtt, timeout; local
3214 &rtt))
3216 sq->last_rtt = rtt;
3223 timeout = rtt;
    [all...]
  /src/external/bsd/unbound/dist/testcode/
fake_event.c 693 /** Store RTT in infra cache */
777 int rtt, vs; local
782 p->zonelen, runtime->now_secs, &vs, &edns_lame_known, &rtt))
784 last_rtt = rtt;
  /src/external/mpl/bind/dist/lib/dns/
resolver.c 1123 * Should we update the RTT?
1126 unsigned int rtt, factor; local
1130 * packet, so we can compute a real RTT.
1134 rtt = (unsigned int)isc_time_microdiff(finish,
1136 rttms = rtt / US_PER_MS;
1177 * We don't have an RTT for this query. Maybe the
1179 * slow. We don't know. Increase the RTT.
1209 rtt = query->addrinfo->srtt + (value & mask);
1210 if (rtt > MAX_SINGLE_QUERY_TIMEOUT_US) {
1211 rtt = MAX_SINGLE_QUERY_TIMEOUT_US
    [all...]
  /src/external/mpl/dhcp/bind/dist/lib/dns/
resolver.c 1288 unsigned int rtt, rttms; local
1305 * Should we update the RTT?
1311 * packet, so we can compute a real RTT.
1313 rtt = (unsigned int)isc_time_microdiff(finish,
1317 rttms = rtt / 1000;
1356 * We don't have an RTT for this query. Maybe the
1358 * slow. We don't know. Increase the RTT.
1388 rtt = query->addrinfo->srtt + (value & mask);
1389 if (rtt > MAX_SINGLE_QUERY_TIMEOUT_US) {
1390 rtt = MAX_SINGLE_QUERY_TIMEOUT_US
    [all...]

Completed in 91 milliseconds