/macosx-10.9.5/shell_cmds-175/script/ |
H A D | script.c | 90 struct termios rtt, stt; local 153 rtt = tt; 154 cfmakeraw(&rtt); 155 rtt.c_lflag &= ~ECHO; 156 (void)tcsetattr(STDIN_FILENO, TCSAFLUSH, &rtt);
|
/macosx-10.9.5/ppp-727.90.1/Drivers/PPTP/PPTP-extension/ |
H A D | pptp_rfc.c | 112 u_int32_t rtt; /* calculated round-trip time (scaled) */ member in struct:pptp_rfc 205 rfc->rtt = rfc->peer_ppd; 339 rfc->rtt = DELTA * rfc->rtt; 340 rfc->ato = MAX(MIN_TIMEOUT, MIN(rfc->rtt + (CHI * rfc->dev), rfc->maxtimeout)); 522 rfc->rtt = rfc->peer_ppd; 523 rfc->rtt <<= SCALE_FACTOR; 524 rfc->ato = MAX(MIN_TIMEOUT, MIN(rfc->rtt + (CHI * rfc->dev), rfc->maxtimeout)); 580 diff = (rfc->sample << SCALE_FACTOR) - rfc->rtt; 582 rfc->rtt [all...] |
/macosx-10.9.5/bind9-45.100/bind9/contrib/queryperf/ |
H A D | queryperf.c | 1512 double rtt; local 1515 rtt = difftv(now, *timestamp); 1520 if (rtt_max < 0 || rtt_max < rtt) 1521 rtt_max = rtt; 1523 if (rtt_min < 0 || rtt_min > rtt) 1524 rtt_min = rtt; 1526 rtt_total += rtt; 1529 if (rtt_max_interval < 0 || rtt_max_interval < rtt) 1530 rtt_max_interval = rtt; 1532 if (rtt_min_interval < 0 || rtt_min_interval > rtt) 1567 double rtt; local [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/include/dns/ |
H A D | adb.h | 516 #define DNS_ADB_RTTADJREPLACE 0 /*%< replace with our rtt */ 517 #define DNS_ADB_RTTADJAGE 10 /*%< age this rtt */ 521 unsigned int rtt, unsigned int factor); 523 * Mix the round trip time into the existing smoothed rtt. 526 * (where srtt is the existing rtt value, and rtt and factor are arguments to 530 * new_srtt = (old_srtt / 10 * factor) + (rtt / 10 * (10 - factor));
|
/macosx-10.9.5/bind9-45.100/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,
|
/macosx-10.9.5/tcpdump-56/tcpdump/ |
H A D | sctpHeader.h | 219 struct sctpHBrequest rtt; member in struct:sctpHBsender
|
/macosx-10.9.5/xnu-2422.115.4/bsd/net/ |
H A D | ntstat.h | 376 void nstat_route_rtt(struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var);
|
H A D | ntstat.c | 686 u_int32_t rtt, 705 newrtt = rtt; 709 newrtt = oldrtt - (oldrtt - (int32_t)rtt) / factor; 718 if (oldrtt != 0 && oldrtt < (int32_t)rtt) 722 } while (!OSCompareAndSwap(oldrtt, rtt, &stats->nstat_min_rtt)); 684 nstat_route_rtt( struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var) argument
|
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/ |
H A D | tcp_input.c | 228 &rtt_samples_per_slot, 0, "Number of RTT samples stored for rtt history"); 391 static void update_base_rtt(struct tcpcb *tp, uint32_t rtt); 1064 * 1. the bandwidth measured in last rtt, is more 1068 * one forth of the bandwidth measured in last rtt, this 1146 * 1. if the rtt seen on the connection is climbing up, we do not 4465 update_base_rtt(struct tcpcb *tp, uint32_t rtt) argument 4488 tp->rtt_hist[0] = rtt; 4491 tp->rtt_hist[0] = min(tp->rtt_hist[0], rtt); 4527 tcp_xmit_timer(register struct tcpcb *tp, int rtt, argument 4544 tp->t_srtt = max(tp->t_srtt_prev, rtt); 4718 register int rtt, mss; local [all...] |
H A D | tcp_subr.c | 222 &tcp_TCPTV_MIN, 0, "min rtt value allowed"); 878 * rtt estimate. Set rttvar so that srtt + 4 * rttvar gives 950 u_int32_t rtt = rt->rt_rmx.rmx_rtt; local 953 if (rtt != 0) { 959 tp->t_rttmin = rtt / (RTM_RTTUNIT / TCP_RETRANSHZ); 962 tp->t_srtt = rtt / (RTM_RTTUNIT / (TCP_RETRANSHZ * TCP_RTT_SCALE)); 969 /* default variation is +- 1 rtt */ 1042 * save the rtt and rttvar in the routing entry. 1046 * we could save a very bogus rtt.
|
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/ |
H A D | resolver.c | 768 unsigned int rtt, rttms; local 792 rtt = (unsigned int)isc_time_microdiff(finish, 796 rttms = rtt / 1000; 823 rtt = query->addrinfo->srtt + 200000; 824 if (rtt > 10000000) 825 rtt = 10000000; 831 dns_adb_adjustsrtt(fctx->adb, query->addrinfo, rtt, factor); 1325 fctx_setretryinterval(fetchctx_t *fctx, unsigned int rtt) { argument 1341 rtt *= 2; 1346 if (us < rtt) [all...] |
H A D | adb.c | 233 * including edns state (in "flags"), rtt, and of course the address of 3885 unsigned int rtt, unsigned int factor) 3902 + (rtt / 10 * (10 - factor)); 3884 dns_adb_adjustsrtt(dns_adb_t *adb, dns_adbaddrinfo_t *addr, unsigned int rtt, unsigned int factor) argument
|
/macosx-10.9.5/swig-10/Source/CParse/ |
H A D | parser.y | 3787 SwigType *rtt = Swig_symbol_typedef_reduce(tt.item,0); 3788 SwigType *ttr = Swig_symbol_type_qualify(rtt,0); 3792 Delete(rtt);
|
H A D | parser.c | 6993 SwigType *rtt = Swig_symbol_typedef_reduce(tt.item,0); 6994 SwigType *ttr = Swig_symbol_type_qualify(rtt,0); 6998 Delete(rtt); 6990 SwigType *rtt = Swig_symbol_typedef_reduce(tt.item,0); local
|