/freebsd-10-stable/contrib/unbound/util/ |
H A D | rtt.c | 2 * util/rtt.c - UDP round trip time estimator for resend timeouts. 43 #include "util/rtt.h" 47 /** calculate RTO from rtt information */ 49 calc_rto(const struct rtt_info* rtt) argument 52 int rto = rtt->srtt + 4*rtt->rttvar; 61 rtt_init(struct rtt_info* rtt) argument 63 rtt->srtt = 0; 64 rtt->rttvar = 94; 65 rtt 71 rtt_timeout(const struct rtt_info* rtt) argument 77 rtt_unclamped(const struct rtt_info* rtt) argument 88 rtt_update(struct rtt_info* rtt, int ms) argument 99 rtt_lost(struct rtt_info* rtt, int orig) argument 118 rtt_notimeout(const struct rtt_info* rtt) argument [all...] |
H A D | rtt.h | 2 * 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...] |
/freebsd-10-stable/sys/gnu/dts/arm/ |
H A D | usb_a9260.dts | 28 atmel,wakeup-rtt-timer;
|
H A D | at91sam9g20ek_common.dtsi | 117 atmel,wakeup-rtt-timer; 121 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
H A D | usb_a9263.dts | 70 atmel,wakeup-rtt-timer;
|
H A D | at91-qil_a9260.dts | 110 atmel,wakeup-rtt-timer;
|
/freebsd-10-stable/sys/netinet/khelp/ |
H A D | h_ertt.h | 69 int rtt; member in struct:ertt
|
H A D | h_ertt.c | 354 e_t->rtt = tcp_ts_getticks() - txsi->tx_ts + 1; 356 if (e_t->rtt < e_t->minrtt || e_t->minrtt == 0) 357 e_t->minrtt = e_t->rtt; 359 if (e_t->rtt > e_t->maxrtt || e_t->maxrtt == 0) 360 e_t->maxrtt = e_t->rtt; 522 e_t->rtt = 0;
|
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/src/ |
H A D | ibping.c | 118 uint64_t start, rtt; local 135 rtt = getcurrenttime() - start; 142 data, portid2str(portid), rtt/1000, rtt%1000); 144 return rtt; 178 printf("rtt min/avg/max = %" PRIu64 ".%03" PRIu64 "/%" PRIu64 ".%03" PRIu64 "/%" PRIu64 ".%03" PRIu64 " ms\n", 196 uint64_t rtt; local 312 if ((rtt = ibping(&portid, flood)) == ~0ull) { 316 if (rtt < minrtt) 317 minrtt = rtt; [all...] |
/freebsd-10-stable/contrib/unbound/services/cache/ |
H A D | infra.c | 2 * services/cache/infra.c - infrastructure cache, server rtt and capabilities 57 * even if another type has completely rtt maxed it, the different type 337 rtt_init(&data->rtt); 401 int old = ((struct infra_data*)e->data)->rtt.rto; 415 ((struct infra_data*)e->data)->rtt.rto 430 *to = rtt_timeout(&data->rtt); 438 *to = rtt_timeout(&data->rtt); 439 if(*to >= PROBE_MAXRTO && rtt_notimeout(&data->rtt)*4 <= *to) { 508 if(data->rtt.rto >= RTT_MAX_TIMEOUT) 511 data->rtt 569 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 626 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 D | infra.h | 2 * services/cache/infra.h - infrastructure cache, server rtt and capabilities 46 #include "util/rtt.h" 77 struct rtt_info rtt; member in struct:infra_data 208 * Lameness is empty. EDNS is 0 (try with first), and rtt is returned for 249 * Update rtt information for the host. 258 * @param orig_rtt: original rtt for the query that timed out (roundtrip==-1). 308 * @param rtt: if function returns true, this returns avg rtt of the server. 309 * The rtt value is unclamped and reflects recent timeouts. 316 int* lame, int* dnsseclame, int* reclame, int* rtt, time_ [all...] |
/freebsd-10-stable/contrib/ldns/ |
H A D | resolver.c | 185 size_t *rtt; local 189 rtt = ldns_resolver_rtt(r); 195 return rtt[pos]; 255 size_t *rtt; local 261 rtt = ldns_resolver_rtt(r); 270 LDNS_FREE(rtt); 277 rtt = LDNS_XREALLOC(rtt, size_t, (ns_count - 1)); 280 ldns_resolver_set_rtt(r, rtt); 292 size_t *rtt; local 500 ldns_resolver_set_rtt(ldns_resolver *r, size_t *rtt) argument 508 size_t *rtt; local 1102 size_t *rtt; local 1409 size_t *rtt, tmprtt; local [all...] |
/freebsd-10-stable/contrib/netbsd-tests/net/route/ |
H A D | t_change.sh | 129 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 148 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 196 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 215 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 263 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 282 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
|
H A D | t_route.sh | 236 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 252 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 268 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 286 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 311 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 326 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 342 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 360 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
|
/freebsd-10-stable/sys/netinet/cc/ |
H A D | cc_chd.c | 111 /* The maximum round trip time seen within a measured rtt period. */ 240 int backoff, new_measurement, qdly, rtt; local 247 chd_data->maxrtt_in_rtt = imax(e_t->rtt, chd_data->maxrtt_in_rtt); 254 rtt = V_chd_use_max ? chd_data->maxrtt_in_rtt : e_t->rtt; 257 if (rtt && e_t->minrtt && !IN_RECOVERY(CCV(ccv, t_flags))) { 258 qdly = rtt - e_t->minrtt; 337 qdly = imax(e_t->rtt, chd_data->maxrtt_in_rtt) - e_t->minrtt;
|
H A D | cc_hd.c | 141 if (e_t->rtt && e_t->minrtt && V_hd_qthresh > 0) { 142 qdly = e_t->rtt - e_t->minrtt;
|
/freebsd-10-stable/sys/netinet/ |
H A D | sctp_cc_functions.c | 257 if (net->rtt > net->cc_mod.rtcc.lbw_rtt + rtt_offset) { 259 * rtt increased we don't update bw.. so we don't update the 260 * rtt either. 267 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), 288 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), 301 if (net->rtt < net->cc_mod.rtcc.lbw_rtt - rtt_offset) { 303 * rtt decreased, there could be more room. we update both 304 * the bw and the rtt here to lock this in as a good step 312 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), 324 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), 573 uint64_t probepoint, rtt, vtag; local [all...] |
/freebsd-10-stable/sys/dev/hyperv/utilities/ |
H A D | vmbus_timesync.c | 116 uint64_t hv_ns, vm_ns, rtt = 0; local 119 rtt = hyperv_tc64() - sent_tc; 121 hv_ns = (hvtime - VMBUS_ICMSG_TS_BASE + rtt) * HYPERV_TIMER_NS_FACTOR;
|
/freebsd-10-stable/usr.bin/script/ |
H A D | script.c | 93 struct termios rtt, stt; local 211 rtt = tt; 212 cfmakeraw(&rtt); 213 rtt.c_lflag &= ~ECHO; 214 (void)tcsetattr(STDIN_FILENO, TCSAFLUSH, &rtt);
|
/freebsd-10-stable/sys/netgraph/ |
H A D | ng_pptpgre.c | 156 int32_t rtt; /* round trip time estimate */ member in struct:ng_pptpgre_sess 743 diff = sample - hpriv->rtt; 744 hpriv->rtt += PPTP_ACK_ALPHA(diff); 749 hpriv->ato = hpriv->rtt + PPTP_ACK_CHI(hpriv->dev + 2); 867 hpriv->rtt = PPTP_ACK_DELTA(hpriv->rtt) + 1; /* +1 to avoid delta*0 case */ 868 hpriv->ato = hpriv->rtt + PPTP_ACK_CHI(hpriv->dev); 890 ackTimeout = (hpriv->rtt >> 2); 948 hpriv->rtt = PPTP_TIME_SCALE / 10; 950 hpriv->rtt * [all...] |
/freebsd-10-stable/lib/libunbound/ |
H A D | Makefile | 24 rrset.c rtt.c sbuffer.c slabhash.c str2wire.c timehist.c tube.c \
|
/freebsd-10-stable/contrib/unbound/iterator/ |
H A D | iter_utils.c | 198 * Otherwise, an rtt in milliseconds. 201 * Note that util/rtt.c has a MIN_TIMEOUT of 50 msec, thus 230 int rtt, lame, reclame, dnsseclame; local 247 &rtt, now)) { 249 verbose(VERB_ALGO, " rtt=%d%s%s%s%s", rtt, 256 else if(rtt >= USEFUL_SERVER_TOP_TIMEOUT) 266 return rtt+USEFUL_SERVER_TOP_TIMEOUT*3; /* nonpref */ 268 return rtt+USEFUL_SERVER_TOP_TIMEOUT*2; /* nonpref */ 270 return rtt [all...] |
/freebsd-10-stable/sys/net80211/ |
H A D | ieee80211_tdma.c | 584 int32_t rtt; 593 rtt = rstamp - (le64toh(tstamp) & 0x7fff); 594 if (rtt < 0) 595 rtt += 0x7fff; 598 "tdma rtt %5u [rstamp %5u tstamp %llu]\n", 599 rtt, rstamp,
|
/freebsd-10-stable/contrib/tcpdump/ |
H A D | sctpHeader.h | 219 struct sctpHBrequest rtt; member in struct:sctpHBsender
|
/freebsd-10-stable/sys/rpc/ |
H A D | clnt_dg.c | 345 int next_sendtime, starttime, rtt, time_waited, tv = 0; local 598 rtt = ticks - starttime + 1; 616 rt->rt_srtt = rtt; 617 rt->rt_deviate = rtt / 2; 619 int32_t error = rtt - rt->rt_srtt;
|