Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/netinet/
Dsctp_cc_functions.c65 net->cwnd = min((net->mtu * 4), max((2 * net->mtu), SCTP_INITIAL_CWND)); in sctp_set_initial_cc_param()
73 net->cwnd = (net->mtu - sizeof(struct sctphdr)) * cwnd_in_mtu; in sctp_set_initial_cc_param()
78 net->cwnd /= assoc->numnets; in sctp_set_initial_cc_param()
79 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) { in sctp_set_initial_cc_param()
80 net->cwnd = net->mtu - sizeof(struct sctphdr); in sctp_set_initial_cc_param()
84 SDT_PROBE(sctp, cwnd, net, init, in sctp_set_initial_cc_param()
86 0, net->cwnd); in sctp_set_initial_cc_param()
109 t_cwnd += net->cwnd; in sctp_cwnd_update_after_fr()
111 t_ucwnd_sbw += (uint64_t) net->cwnd / (uint64_t) net->lastsa; in sctp_cwnd_update_after_fr()
134 int old_cwnd = net->cwnd; in sctp_cwnd_update_after_fr()
[all …]
Dsctp_dtrace_define.h48 SDT_PROBE_DEFINE5(sctp, cwnd, net, init,
59 SDT_PROBE_DEFINE5(sctp, cwnd, net, ack,
70 SDT_PROBE_DEFINE5(sctp, cwnd, net, rttvar,
77 SDT_PROBE_DEFINE5(sctp, cwnd, net, rttstep,
85 SDT_PROBE_DEFINE5(sctp, cwnd, net, fr,
96 SDT_PROBE_DEFINE5(sctp, cwnd, net, to,
107 SDT_PROBE_DEFINE5(sctp, cwnd, net, bl,
118 SDT_PROBE_DEFINE5(sctp, cwnd, net, ecn,
129 SDT_PROBE_DEFINE5(sctp, cwnd, net, pd,
Dsctp_dtrace_declare.h49 SDT_PROBE_DECLARE(sctp, cwnd, net, init);
51 SDT_PROBE_DECLARE(sctp, cwnd, net, ack);
53 SDT_PROBE_DECLARE(sctp, cwnd, net, fr);
55 SDT_PROBE_DECLARE(sctp, cwnd, net, to);
57 SDT_PROBE_DECLARE(sctp, cwnd, net, bl);
59 SDT_PROBE_DECLARE(sctp, cwnd, net, ecn);
61 SDT_PROBE_DECLARE(sctp, cwnd, net, pd);
63 SDT_PROBE_DECLARE(sctp, cwnd, net, rttvar);
64 SDT_PROBE_DECLARE(sctp, cwnd, net, rttstep);
Dsctp_timer.c253 if (max_cwnd < mnet->cwnd) { in sctp_find_alternate_net()
255 max_cwnd = mnet->cwnd; in sctp_find_alternate_net()
256 } else if (max_cwnd == mnet->cwnd) { in sctp_find_alternate_net()
273 max_cwnd = mnet->cwnd; /* Useless? */ in sctp_find_alternate_net()
300 if (max_cwnd < mnet->cwnd) { in sctp_find_alternate_net()
302 max_cwnd = mnet->cwnd; in sctp_find_alternate_net()
303 } else if (max_cwnd == mnet->cwnd) { in sctp_find_alternate_net()
321 max_cwnd = mnet->cwnd; in sctp_find_alternate_net()
506 sctp_log_fr(net->flight_size, net->cwnd, stcb->asoc.total_flight, SCTP_FR_CWND_REPORT); in sctp_mark_all_for_resend()
642 chk->whoTo->cwnd -= chk->book_size; in sctp_mark_all_for_resend()
[all …]
Dsctputil.c279 sctp_clog.x.cwnd.net = net; in sctp_log_cwnd()
281 sctp_clog.x.cwnd.cnt_in_send = 255; in sctp_log_cwnd()
283 sctp_clog.x.cwnd.cnt_in_send = stcb->asoc.send_queue_cnt; in sctp_log_cwnd()
285 sctp_clog.x.cwnd.cnt_in_str = 255; in sctp_log_cwnd()
287 sctp_clog.x.cwnd.cnt_in_str = stcb->asoc.stream_queue_cnt; in sctp_log_cwnd()
290 sctp_clog.x.cwnd.cwnd_new_value = net->cwnd; in sctp_log_cwnd()
291 sctp_clog.x.cwnd.inflight = net->flight_size; in sctp_log_cwnd()
292 sctp_clog.x.cwnd.pseudo_cumack = net->pseudo_cumack; in sctp_log_cwnd()
293 sctp_clog.x.cwnd.meets_pseudo_cumack = net->new_pseudo_cumack; in sctp_log_cwnd()
294 sctp_clog.x.cwnd.need_new_pseudo_cumack = net->find_pseudo_cumack; in sctp_log_cwnd()
[all …]
Dsctp_uio.h893 struct sctp_cwnd_args cwnd; member
1204 uint32_t cwnd; /* */ member
Dsctp_indata.c2760 tp1->whoTo->cwnd -= tp1->book_size; in sctp_process_segment_range()
2911 tp1->whoTo->cwnd += tp1->book_size; in sctp_check_for_revoked()
3595 net->prev_cwnd = net->cwnd; in sctp_express_handle_sack()
3735 tp1->whoTo->cwnd -= tp1->book_size; in sctp_express_handle_sack()
4256 net->prev_cwnd = net->cwnd; in sctp_handle_sack()
4379 tp1->whoTo->cwnd -= tp1->book_size; in sctp_handle_sack()
4580 tp1->whoTo->cwnd += tp1->book_size; in sctp_handle_sack()
Dsctp_sysctl.c505 xraddr.cwnd = net->cwnd; in sctp_assoclist()
Dsctp_structs.h291 uint32_t cwnd; /* actual cwnd */ member
Dsctp_output.c6959 data_list[i]->rec.data.cwnd_at_send = net->cwnd; in sctp_clean_up_datalist()
7926 if (net->flight_size >= net->cwnd) { in sctp_med_chunk_output()
7991 (net->flight_size >= net->cwnd)) { in sctp_med_chunk_output()
8539 if (net->flight_size >= net->cwnd) { in sctp_med_chunk_output()
8605 if (net->flight_size >= net->cwnd) { in sctp_med_chunk_output()
9621 if (net->flight_size >= net->cwnd) { in sctp_chunk_retransmission()
9815 data_list[i]->whoTo->cwnd -= data_list[i]->book_size; in sctp_chunk_retransmission()
10095 if ((net->flight_size + (asoc->max_burst * net->mtu)) < net->cwnd) { in sctp_chunk_output()
13016 if ((net->flight_size > net->cwnd) && in sctp_lower_sosend()
13285 if ((net->flight_size > net->cwnd) && in sctp_lower_sosend()
Dsctp_usrreq.c2551 paddri->spinfo_cwnd = net->cwnd; in sctp_getopt()
2628 sstat->sstat_primary.spinfo_cwnd = net->cwnd; in sctp_getopt()
/freebsd-9-stable/sys/netinet/cc/
Dcc_cubic.h169 int64_t cwnd; in cubic_cwnd() local
174 cwnd = ((int64_t)(ticks_since_cong << CUBIC_SHIFT) - (K * hz)) / hz; in cubic_cwnd()
177 cwnd *= (cwnd * cwnd); in cubic_cwnd()
185 cwnd = ((cwnd * CUBIC_C_FACTOR * smss) >> CUBIC_SHIFT_4) + wmax; in cubic_cwnd()
187 return ((unsigned long)cwnd); in cubic_cwnd()
/freebsd-9-stable/sys/netgraph/
Dng_l2tp.c139 u_int16_t cwnd; /* current congestion window */ member
1059 if (i >= seq->cwnd) { in ng_l2tp_rcvdata_ctrl()
1199 seq->cwnd = 1; in ng_l2tp_seq_init()
1297 seq->cwnd = 1; in ng_l2tp_seq_reset()
1351 if (seq->cwnd < seq->wmax) { in ng_l2tp_seq_recv_nr()
1354 if (seq->cwnd < seq->ssth) { in ng_l2tp_seq_recv_nr()
1355 seq->cwnd += nack; in ng_l2tp_seq_recv_nr()
1357 if (seq->cwnd > seq->ssth) { /* into cg.av. phase */ in ng_l2tp_seq_recv_nr()
1358 nack = seq->cwnd - seq->ssth; in ng_l2tp_seq_recv_nr()
1359 seq->cwnd = seq->ssth; in ng_l2tp_seq_recv_nr()
[all …]
/freebsd-9-stable/sys/netipx/
Dspx_reass.c165 int cwnd = cb->s_cwnd; in spx_reass() local
173 if (cwnd >= 4 * CUNIT) in spx_reass()
174 cb->s_cwnd = cwnd / 2; in spx_reass()
/freebsd-9-stable/sys/dev/bxe/
Decore_hsi.h10180 uint32_t cwnd /* Congestion window */; member