Searched refs:srtt (Results 1 – 9 of 9) sorted by relevance
/net/sunrpc/ |
D | timer.c | 44 rt->srtt[i] = init; in rpc_init_rtt() 62 long *srtt, *sdrtt; in rpc_update_rtt() local 74 srtt = (long *)&rt->srtt[timer]; in rpc_update_rtt() 75 m -= *srtt >> 3; in rpc_update_rtt() 76 *srtt += m; in rpc_update_rtt() 116 res = ((rt->srtt[timer] + 7) >> 3) + rt->sdrtt[timer]; in rpc_calc_rto()
|
/net/sctp/ |
D | transport.c | 325 if (tp->rttvar || tp->srtt) { in sctp_transport_update_rto() 339 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto() 340 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto() 346 tp->srtt = rtt; in sctp_transport_update_rto() 357 tp->rto = tp->srtt + (tp->rttvar << 2); in sctp_transport_update_rto() 380 __func__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); in sctp_transport_update_rto() 630 t->srtt = 0; in sctp_transport_reset()
|
D | socket.c | 632 trans->rtt = trans->srtt = trans->rttvar = 0; in sctp_send_asconf_add_ip() 4426 info->sctpi_p_srtt = prim->srtt; in sctp_get_sctp_info() 4626 status.sstat_primary.spinfo_srtt = transport->srtt; in sctp_getsockopt_sctp_status() 4686 pinfo.spinfo_srtt = transport->srtt; in sctp_getsockopt_peer_addr_info()
|
/net/ipv4/ |
D | tcp_htcp.c | 82 static inline void measure_rtt(struct sock *sk, u32 srtt) in measure_rtt() argument 88 if (ca->minRTT > srtt || !ca->minRTT) in measure_rtt() 89 ca->minRTT = srtt; in measure_rtt() 95 if (ca->maxRTT < srtt && in measure_rtt() 96 srtt <= ca->maxRTT + msecs_to_jiffies(20)) in measure_rtt() 97 ca->maxRTT = srtt; in measure_rtt()
|
D | tcp_probe.c | 73 u32 srtt; member 155 p->srtt = tp->srtt_us >> 3; in jtcp_rcv_established() 198 p->snd_cwnd, p->ssthresh, p->snd_wnd, p->srtt, p->rcv_wnd); in tcpprobe_sprint()
|
D | tcp_input.c | 717 u32 srtt = tp->srtt_us; in tcp_rtt_estimator() local 735 if (srtt != 0) { in tcp_rtt_estimator() 736 m -= (srtt >> 3); /* m is now error in rtt est */ in tcp_rtt_estimator() 737 srtt += m; /* rtt = 7/8 rtt + 1/8 new */ in tcp_rtt_estimator() 768 srtt = m << 3; /* take the measured time to be rtt */ in tcp_rtt_estimator() 774 tp->srtt_us = max(1U, srtt); in tcp_rtt_estimator()
|
/net/decnet/ |
D | dn_nsp_out.c | 168 long srtt = (long)scp->nsp_srtt; in dn_nsp_rtt() local 182 delta = ((rtt << 3) - srtt); in dn_nsp_rtt() 183 srtt += (delta >> 3); in dn_nsp_rtt() 184 if (srtt >= 1) in dn_nsp_rtt() 185 scp->nsp_srtt = (unsigned long)srtt; in dn_nsp_rtt()
|
/net/batman-adv/ |
D | tp_meter.c | 193 if (tp_vars->srtt != 0) { in batadv_tp_update_rto() 194 m -= (tp_vars->srtt >> 3); /* m is now error in rtt est */ in batadv_tp_update_rto() 195 tp_vars->srtt += m; /* rtt = 7/8 srtt + 1/8 new */ in batadv_tp_update_rto() 203 tp_vars->srtt = m << 3; /* take the measured time to be srtt */ in batadv_tp_update_rto() 210 tp_vars->rto = (tp_vars->srtt >> 3) + tp_vars->rttvar; in batadv_tp_update_rto() 417 tp_vars->srtt >> 3, tp_vars->rttvar >> 2, tp_vars->rto); in batadv_tp_sender_end() 1018 tp_vars->srtt = 0; in batadv_tp_start()
|
D | types.h | 927 u32 srtt; member
|