Searched refs:wmax (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/netinet/cc/ |
| H A D | cc_cubic.h | 103 theoretical_cubic_cwnd(int ticks_since_cong, unsigned long wmax, uint32_t smss) in theoretical_cubic_cwnd() argument 108 wmax_pkts = wmax / (double)smss; in theoretical_cubic_cwnd() 116 theoretical_reno_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax, in theoretical_reno_cwnd() argument 120 return ((wmax * 0.5) + ((ticks_since_cong / (float)rtt_ticks) * smss)); in theoretical_reno_cwnd() 124 theoretical_tf_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax, in theoretical_tf_cwnd() argument 128 return ((wmax * 0.7) + ((3 * 0.3) / (2 - 0.3) * in theoretical_tf_cwnd() 200 cwnd = ((cwnd * CUBIC_C_FACTOR) >> CUBIC_SHIFT_4) * smss + wmax; in cubic_cwnd() 217 reno_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax, in reno_cwnd() argument 226 return (((wmax * RENO_BETA) + (((ticks_since_cong * smss) in reno_cwnd() 238 tf_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax, in tf_cwnd() argument [all …]
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_l2tp.c | 1201 if (seq->wmax > L2TP_MAX_XWIN) in ng_l2tp_seq_init() 1202 seq->wmax = L2TP_MAX_XWIN; in ng_l2tp_seq_init() 1203 seq->ssth = seq->wmax; in ng_l2tp_seq_init() 1256 if (new_wmax < seq->wmax) in ng_l2tp_seq_adjust() 1258 seq->wmax = new_wmax; in ng_l2tp_seq_adjust() 1296 seq->wmax = L2TP_MAX_XWIN; in ng_l2tp_seq_reset() 1298 seq->ssth = seq->wmax; in ng_l2tp_seq_reset() 1351 if (seq->cwnd < seq->wmax) { in ng_l2tp_seq_recv_nr() 1367 if (seq->cwnd < seq->wmax) in ng_l2tp_seq_recv_nr() 1603 CHECK(seq->cwnd <= seq->wmax); in ng_l2tp_seq_check() [all …]
|