Home
last modified time | relevance | path

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

/external/usrsctp/usrsctplib/netinet/
Dsctp_cc_functions.c1243 uint32_t bw_avail; in sctp_cwnd_update_after_packet_dropped() local
1259 bw_avail = (uint32_t)(((uint64_t)(*bottle_bw) * net->rtt) / (uint64_t)1000000); in sctp_cwnd_update_after_packet_dropped()
1260 if (bw_avail > *bottle_bw) { in sctp_cwnd_update_after_packet_dropped()
1269 bw_avail = *bottle_bw; in sctp_cwnd_update_after_packet_dropped()
1271 if (*on_queue > bw_avail) { in sctp_cwnd_update_after_packet_dropped()
1280 incr = *on_queue - bw_avail; in sctp_cwnd_update_after_packet_dropped()
1326 incr = (bw_avail - *on_queue) >> 2; in sctp_cwnd_update_after_packet_dropped()
1333 if (net->cwnd > bw_avail) { in sctp_cwnd_update_after_packet_dropped()
1335 net->cwnd = bw_avail; in sctp_cwnd_update_after_packet_dropped()