Home
last modified time | relevance | path

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

/linux/net/sctp/
H A Dtransport.c494 if (tp->rttvar || tp->srtt) { in sctp_transport_update_rto()
507 tp->rttvar = tp->rttvar - (tp->rttvar >> net->sctp.rto_beta) in sctp_transport_update_rto()
516 tp->rttvar = rtt >> 1; in sctp_transport_update_rto()
522 if (tp->rttvar == 0) in sctp_transport_update_rto()
523 tp->rttvar = SCTP_CLOCK_GRANULARITY; in sctp_transport_update_rto()
526 tp->rto = tp->srtt + (tp->rttvar << 2); in sctp_transport_update_rto()
549 __func__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); in sctp_transport_update_rto()
812 t->rttvar = 0; in sctp_transport_reset()
H A Dsocket.c650 trans->rtt = trans->srtt = trans->rttvar = 0; in sctp_send_asconf_add_ip()
/linux/net/batman-adv/
H A 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()
H A Dtypes.h1523 u32 rttvar; member
/linux/include/net/sctp/
H A Dstructs.h829 __u32 rttvar; member