Searched refs:rto_max (Results 1 – 7 of 7) sorted by relevance
105 .extra2 = &init_net.sctp.rto_max109 .data = &init_net.sctp.rto_max,468 tbl.data = &net->sctp.rto_max; in proc_sctp_do_rto_max()475 net->sctp.rto_max = new_value; in proc_sctp_do_rto_max()599 table[SCTP_RTO_MIN_IDX].extra2 = &net->sctp.rto_max; in sctp_sysctl_net_register()
543 if (tp->rto > tp->asoc->rto_max) in sctp_transport_update_rto()544 tp->rto = tp->asoc->rto_max; in sctp_transport_update_rto()
3082 unsigned long rto_min, rto_max; in sctp_setsockopt_rtoinfo() local3095 rto_max = rtoinfo->srto_max; in sctp_setsockopt_rtoinfo()3098 if (rto_max) in sctp_setsockopt_rtoinfo()3099 rto_max = asoc ? msecs_to_jiffies(rto_max) : rto_max; in sctp_setsockopt_rtoinfo()3101 rto_max = asoc ? asoc->rto_max : sp->rtoinfo.srto_max; in sctp_setsockopt_rtoinfo()3108 if (rto_min > rto_max) in sctp_setsockopt_rtoinfo()3115 asoc->rto_max = rto_max; in sctp_setsockopt_rtoinfo()3123 sp->rtoinfo.srto_max = rto_max; in sctp_setsockopt_rtoinfo()4992 sp->initmsg.sinit_max_init_timeo = net->sctp.rto_max; in sctp_init_sock()4998 sp->rtoinfo.srto_max = net->sctp.rto_max; in sctp_init_sock()[all …]
94 asoc->rto_max = msecs_to_jiffies(sp->rtoinfo.srto_max); in sctp_association_init()137 = 5 * asoc->rto_max; in sctp_association_init()
619 transport->rto = min((transport->rto * 2), transport->asoc->rto_max); in sctp_do_8_2_transport_strike()
1304 net->sctp.rto_max = SCTP_RTO_MAX; in sctp_defaults_init()
364 static u8 secs_to_retrans(int seconds, int timeout, int rto_max) in secs_to_retrans() argument375 if (timeout > rto_max) in secs_to_retrans()376 timeout = rto_max; in secs_to_retrans()384 static int retrans_to_secs(u8 retrans, int timeout, int rto_max) in retrans_to_secs() argument392 if (timeout > rto_max) in retrans_to_secs()393 timeout = rto_max; in retrans_to_secs()