/freebsd-9.3-release/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-9.3-release/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-9.3-release/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;
|
H A D | cc_cdg.c | 127 /* maximum measured rtt within an rtt period */ 129 /* maximum measured rtt within prev rtt period */ 131 /* minimum measured rtt within an rtt period */ 133 /* minimum measured rtt within prev rtt period */ 384 * It increases at 1pkt/rtt like Reno for alpha_inc rtts, and then 2pkts/rtt fo [all...] |
/freebsd-9.3-release/sys/netinet/ |
H A D | sctp_cc_functions.c | 241 if (net->rtt > net->cc_mod.rtcc.lbw_rtt + rtt_offset) { 243 * rtt increased we don't update bw.. so we don't update the 244 * rtt either. 251 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), 272 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), 285 if (net->rtt < net->cc_mod.rtcc.lbw_rtt - rtt_offset) { 287 * rtt decreased, there could be more room. we update both 288 * the bw and the rtt here to lock this in as a good step 296 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), 308 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), 554 uint64_t probepoint, rtt, vtag; local 1133 int rtt; local [all...] |
H A D | tcp_input.c | 319 int rtt; local 325 if (tp->t_srtt == 0 && (rtt = metrics.rmx_rtt)) { 326 tp->t_srtt = rtt; 333 /* default variation is +- 1 rtt */ 1666 * Recalculate the transmit timer / rtt. 2648 * Since we now have an rtt measurement, cancel the 3303 tcp_xmit_timer(struct tcpcb *tp, int rtt) argument 3316 * an alpha of .875 (srtt = rtt/8 + srtt*7/8 in fixed 3317 * point). Adjust rtt to origin 0. 3319 delta = ((rtt [all...] |
H A D | sctputil.c | 116 sctp_clog.x.rto.rtt = net->rtt / 1000; 2354 int32_t rtt; /* RTT in ms */ local 2381 net->rtt = (uint64_t) 1000000 *(uint64_t) now.tv_sec + 2384 /* computer rtt in ms */ 2385 rtt = net->rtt / 1000; 2399 if (net->rtt > SCTP_LOCAL_LAN_RTT) { 2417 rtt -= (net->lastsa >> SCTP_RTT_SHIFT); 2418 net->lastsa += rtt; [all...] |
H A D | sctp_uio.h | 838 uint32_t rtt; member in struct:sctp_rto_log 1212 uint32_t rtt; member in struct:xsctp_raddr
|
H A D | sctp_sysctl.c | 508 xraddr.rtt = net->rtt / 1000;
|
H A D | sctp_structs.h | 228 uint64_t bw_bytes_at_last_rttc; /* What bw_bytes was at last rtt calc */ 271 uint64_t rtt; /* last measured rtt value in us */ member in struct:sctp_nets
|
/freebsd-9.3-release/usr.bin/script/ |
H A D | script.c | 94 struct termios rtt, stt; local 213 rtt = tt; 214 cfmakeraw(&rtt); 215 rtt.c_lflag &= ~ECHO; 216 (void)tcsetattr(STDIN_FILENO, TCSAFLUSH, &rtt);
|
/freebsd-9.3-release/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-9.3-release/sys/net80211/ |
H A D | ieee80211_tdma.c | 580 int32_t rtt; 589 rtt = rstamp - (le64toh(tstamp) & 0x7fff); 590 if (rtt < 0) 591 rtt += 0x7fff; 594 "tdma rtt %5u [rstamp %5u tstamp %llu]\n", 595 rtt, rstamp,
|
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/ |
H A D | adb.h | 524 #define DNS_ADB_RTTADJREPLACE 0 /*%< replace with our rtt */ 525 #define DNS_ADB_RTTADJAGE 10 /*%< age this rtt */ 529 unsigned int rtt, unsigned int factor); 531 * Mix the round trip time into the existing smoothed rtt. 534 * (where srtt is the existing rtt value, and rtt and factor are arguments to 538 * new_srtt = (old_srtt / 10 * factor) + (rtt / 10 * (10 - factor));
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | sctpHeader.h | 219 struct sctpHBrequest rtt; member in struct:sctpHBsender
|
/freebsd-9.3-release/sys/rpc/ |
H A D | clnt_dg.c | 347 int next_sendtime, starttime, rtt, time_waited, tv = 0; local 600 rtt = ticks - starttime + 1; 618 rt->rt_srtt = rtt; 619 rt->rt_deviate = rtt / 2; 621 int32_t error = rtt - rt->rt_srtt;
|
/freebsd-9.3-release/contrib/bind9/bin/dig/ |
H A D | host.c | 320 const char *rtt; local 328 rtt = t->text; 338 rtt = typebuf2; 340 say_message(print_name, rtt,
|
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | resolver.c | 805 unsigned int rtt, rttms; local 829 rtt = (unsigned int)isc_time_microdiff(finish, 833 rttms = rtt / 1000; 860 rtt = query->addrinfo->srtt + 200000; 861 if (rtt > MAX_SINGLE_QUERY_TIMEOUT_US) 862 rtt = MAX_SINGLE_QUERY_TIMEOUT_US; 868 dns_adb_adjustsrtt(fctx->adb, query->addrinfo, rtt, factor); 1316 fctx_setretryinterval(fetchctx_t *fctx, unsigned int rtt) { argument 1330 * Add a fudge factor to the expected rtt based on the current 1333 if (rtt < 5000 [all...] |
H A D | adb.c | 235 * including edns state (in "flags"), rtt, and of course the address of 3938 unsigned int rtt, unsigned int factor) 3955 + (rtt / 10 * (10 - factor)); 3937 dns_adb_adjustsrtt(dns_adb_t *adb, dns_adbaddrinfo_t *addr, unsigned int rtt, unsigned int factor) argument
|