Searched refs:rtt (Results 1 - 25 of 37) sorted by relevance

12

/netbsd-current/external/bsd/unbound/dist/util/
H A Drtt.c2 * 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) argument
56 int rto = rtt->srtt + 4*rtt->rttvar;
65 rtt_init(struct rtt_info* rtt) argument
67 rtt->srtt = 0;
68 rtt->rttvar = UNKNOWN_SERVER_NICENESS/4;
69 rtt
75 rtt_timeout(const struct rtt_info* rtt) argument
81 rtt_unclamped(const struct rtt_info* rtt) argument
92 rtt_update(struct rtt_info* rtt, int ms) argument
103 rtt_lost(struct rtt_info* rtt, int orig) argument
122 rtt_notimeout(const struct rtt_info* rtt) argument
[all...]
H A Drtt.h2 * util/rtt.h - UDP round trip time estimator for resend timeouts.
50 /** smoothed rtt estimator, in milliseconds */
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);
86 * @param rtt: round trip statistics structure.
89 int rtt_notimeout(const struct rtt_info* rtt);
[all...]
/netbsd-current/sys/nfs/
H A Dnfsrtt.h57 int rtt; /* Measured round trip time */ member in struct:rttl
/netbsd-current/external/bsd/unbound/dist/services/cache/
H A Dinfra.c2 * services/cache/infra.c - infrastructure cache, server rtt and capabilities
59 * even if another type has completely rtt maxed it, the different type
393 rtt_init(&data->rtt);
457 int old = ((struct infra_data*)e->data)->rtt.rto;
472 ((struct infra_data*)e->data)->rtt.rto
488 *to = rtt_timeout(&data->rtt);
496 *to = rtt_timeout(&data->rtt);
498 rtt_notimeout(&data->rtt)*4 <= *to)) {
567 if(data->rtt.rto >= RTT_MAX_TIMEOUT)
570 data->rtt
637 infra_get_host_rto(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, struct rtt_info* rtt, int* delay, time_t timenow, int* tA, int* tAAAA, int* tother) argument
694 infra_get_lame_rtt(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* name, size_t namelen, uint16_t qtype, int* lame, int* dnsseclame, int* reclame, int* rtt, time_t timenow) argument
[all...]
H A Dinfra.h2 * services/cache/infra.h - infrastructure cache, server rtt and capabilities
49 #include "util/rtt.h"
82 struct rtt_info rtt; member in struct:infra_data
236 * Lameness is empty. EDNS is 0 (try with first), and rtt is returned for
277 * Update rtt information for the host.
286 * @param orig_rtt: original rtt for the query that timed out (roundtrip==-1).
336 * @param rtt: if function returns true, this returns avg rtt of the server.
337 * The rtt value is unclamped and reflects recent timeouts.
344 int* lame, int* dnsseclame, int* reclame, int* rtt, time_
[all...]
/netbsd-current/sbin/route/
H A Dkeywords.sh47 rtt
/netbsd-current/sys/netinet/
H A Ddccp_tcplike.h59 u_int16_t rtt; /* estimated round trip-time */ member in struct:tcplike_send_ccb
H A Ddccp_tcplike.c170 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
[all...]
H A Ddccp_tfrc.h89 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 */
H A Dtcp_congctl.c863 /* 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) argument
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) -
H A Ddccp_tfrc.c316 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;
417 v.denom = cb->rtt;
683 if (cb->rtt)
685 / cb->rtt / TFRC_WIN_COUNT_PER_RTT;
924 cb->rtt = r_sample;
926 cb->rtt = (u_int32_t) (TFRC_RTT_FILTER_CONST * cb->rtt
[all...]
/netbsd-current/tests/net/route/
H A Dt_change.sh136 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
H A Dt_route.sh238 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
/netbsd-current/usr.sbin/sysinst/
H A Drun.c421 struct termios rtt, tt; local
431 rtt = tt;
472 rtt = tt;
473 rtt.c_lflag |= (ICANON|ECHO);
474 (void)tcsetattr(slave, TCSANOW, &rtt);
560 if (!(rtt.c_lflag & ECHO))
566 memcpy(&rtt, ibuf, sizeof(rtt));
/netbsd-current/sys/dev/hyperv/
H A Dhvtimesync.c127 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;
/netbsd-current/sys/dev/i2c/
H A Dcwfg.c138 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 */
/netbsd-current/usr.bin/script/
H A Dscript.c106 struct termios rtt; local
182 rtt = tt;
183 cfmakeraw(&rtt);
184 rtt.c_lflag &= ~ECHO;
185 (void)tcsetattr(STDIN_FILENO, TCSAFLUSH, &rtt);
/netbsd-current/external/bsd/unbound/lib/libunbound/
H A DMakefile80 rtt.c \
/netbsd-current/external/mpl/bind/dist/bin/dig/
H A Dhost.c282 const char *rtt; local
290 rtt = t->text;
300 rtt = typebuf2;
302 say_message(print_name, rtt, &rdata,
/netbsd-current/external/mpl/bind/dist/lib/dns/include/dns/
H A Dadb.h528 #define DNS_ADB_RTTADJREPLACE 0 /*%< replace with our rtt */
529 #define DNS_ADB_RTTADJAGE 10 /*%< age this rtt */
532 dns_adb_adjustsrtt(dns_adb_t *adb, dns_adbaddrinfo_t *addr, unsigned int rtt,
535 * Mix the round trip time into the existing smoothed rtt.
/netbsd-current/external/bsd/unbound/dist/iterator/
H A Diter_utils.c230 * Otherwise, an rtt in milliseconds.
233 * Note that util/rtt.c has a MIN_TIMEOUT of 50 msec, thus
262 int rtt, lame, reclame, dnsseclame; local
280 &rtt, now)) {
282 verbose(VERB_ALGO, " rtt=%d%s%s%s%s", rtt,
289 else if(rtt >= USEFUL_SERVER_TOP_TIMEOUT)
299 return rtt+USEFUL_SERVER_TOP_TIMEOUT*3; /* nonpref */
301 return rtt+USEFUL_SERVER_TOP_TIMEOUT*2; /* nonpref */
303 return rtt
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/pdp11/
H A Dopcode.s28 rtt
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/include/dns/
H A Dadb.h530 #define DNS_ADB_RTTADJREPLACE 0 /*%< replace with our rtt */
531 #define DNS_ADB_RTTADJAGE 10 /*%< age this rtt */
534 dns_adb_adjustsrtt(dns_adb_t *adb, dns_adbaddrinfo_t *addr, unsigned int rtt,
537 * Mix the round trip time into the existing smoothed rtt.
/netbsd-current/external/bsd/unbound/dist/
H A DMakefile.in131 util/rtt.c util/siphash.c util/edns.c util/storage/dnstree.c util/storage/lookup3.c \
149 random.lo rbtree.lo regional.lo rtt.lo dnstree.lo lookup3.lo lruhash.lo \
717 $(srcdir)/util/rbtree.h $(srcdir)/util/rtt.h $(srcdir)/util/netevent.h $(srcdir)/dnscrypt/dnscrypt.h \
767 $(srcdir)/util/rtt.h $(srcdir)/util/netevent.h $(srcdir)/dnscrypt/dnscrypt.h \
814 $(srcdir)/services/cache/infra.h $(srcdir)/util/rtt.h $(srcdir)/util/netevent.h $(srcdir)/dnscrypt/dnscrypt.h \
887 $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/storage/dnstree.h $(srcdir)/util/rtt.h \
915 $(srcdir)/util/rtt.h $(srcdir)/services/cache/infra.h $(srcdir)/sldns/wire2str.h $(srcdir)/sldns/parseutil.h \
933 $(srcdir)/util/rtt.h $(srcdir)/validator/validator.h $(srcdir)/validator/val_utils.h $(srcdir)/util/fptr_wlist.h \
959 $(srcdir)/util/rtt.h $(srcdir)/services/cache/rrset.h $(srcdir)/util/storage/slabhash.h $(srcdir)/dns64/dns64.h \
1008 rtt
[all...]
/netbsd-current/external/bsd/unbound/dist/services/
H A Doutside_network.c2886 int rtt, vs; local
2891 sq->zonelen, now, &vs, &edns_lame_known, &rtt))
2893 sq->last_rtt = rtt;
2906 verbose(VERB_ALGO, "serviced query UDP timeout=%d msec", rtt);
2907 sq->pending = pending_udp_query(sq, buff, rtt,
3137 log_err("out of memory noting rtt.");
3177 int vs, rtt, timeout; local
3181 &rtt))
3183 sq->last_rtt = rtt;
3190 timeout = rtt;
[all...]

Completed in 184 milliseconds

12