Home
last modified time | relevance | path

Searched refs:rttvar (Results 1 – 4 of 4) sorted by relevance

/net/sctp/
Dtransport.c500 if (tp->rttvar || tp->srtt) { in sctp_transport_update_rto()
513 tp->rttvar = tp->rttvar - (tp->rttvar >> net->sctp.rto_beta) in sctp_transport_update_rto()
522 tp->rttvar = rtt >> 1; in sctp_transport_update_rto()
528 if (tp->rttvar == 0) in sctp_transport_update_rto()
529 tp->rttvar = SCTP_CLOCK_GRANULARITY; in sctp_transport_update_rto()
532 tp->rto = tp->srtt + (tp->rttvar << 2); in sctp_transport_update_rto()
555 __func__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); in sctp_transport_update_rto()
818 t->rttvar = 0; in sctp_transport_reset()
Dsocket.c650 trans->rtt = trans->srtt = trans->rttvar = 0; in sctp_send_asconf_add_ip()
/net/batman-adv/
Dtp_meter.c191 m -= (tp_vars->rttvar >> 2); in batadv_tp_update_rto()
192 tp_vars->rttvar += m; /* mdev ~= 3/4 rttvar + 1/4 new */ in batadv_tp_update_rto()
196 tp_vars->rttvar = m << 1; /* new_rtt / 2 */ in batadv_tp_update_rto()
202 tp_vars->rto = (tp_vars->srtt >> 3) + tp_vars->rttvar; in batadv_tp_update_rto()
413 tp_vars->srtt >> 3, tp_vars->rttvar >> 2, tp_vars->rto); in batadv_tp_sender_end()
1009 tp_vars->rttvar = 0; in batadv_tp_start()
Dtypes.h1453 u32 rttvar; member