Searched refs:cwnd (Results 1 - 16 of 16) sorted by relevance

/freebsd-11-stable/sys/netinet/
H A Dsctp_dtrace_declare.h46 /* One to track a net's cwnd */
48 SDT_PROBE_DECLARE(sctp, cwnd, net, init);
50 SDT_PROBE_DECLARE(sctp, cwnd, net, ack);
52 SDT_PROBE_DECLARE(sctp, cwnd, net, fr);
54 SDT_PROBE_DECLARE(sctp, cwnd, net, to);
56 SDT_PROBE_DECLARE(sctp, cwnd, net, bl);
58 SDT_PROBE_DECLARE(sctp, cwnd, net, ecn);
60 SDT_PROBE_DECLARE(sctp, cwnd, net, pd);
62 SDT_PROBE_DECLARE(sctp, cwnd, net, rttvar);
63 SDT_PROBE_DECLARE(sctp, cwnd, ne
[all...]
H A Dsctp_dtrace_define.h47 SDT_PROBE_DEFINE5(sctp, cwnd, net, init,
54 "int", /* The old value of the cwnd */
55 "int"); /* The new value of the cwnd */
58 SDT_PROBE_DEFINE5(sctp, cwnd, net, ack,
65 "int", /* The old value of the cwnd */
66 "int"); /* The new value of the cwnd */
69 SDT_PROBE_DEFINE5(sctp, cwnd, net, rttvar,
75 "uint64_t"); /* (cwnd << 32) | point << 16 | retval(0/1) */
77 SDT_PROBE_DEFINE5(sctp, cwnd, net, rttstep,
83 "uint64_t"); /* (cwnd << 3
[all...]
H A Dsctp_cc_functions.c59 (net->cwnd > assoc->max_cwnd) &&
60 (net->cwnd > (net->mtu - sizeof(struct sctphdr)))) {
61 net->cwnd = assoc->max_cwnd;
62 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) {
63 net->cwnd = net->mtu - sizeof(struct sctphdr);
78 net->cwnd = min((net->mtu * 4), max((2 * net->mtu), SCTP_INITIAL_CWND));
86 net->cwnd = (net->mtu - sizeof(struct sctphdr)) * cwnd_in_mtu;
91 net->cwnd /= assoc->numnets;
92 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) {
93 net->cwnd
1376 uint32_t cwnd_in_mtu, cwnd; local
1530 int32_t cwnd; member in struct:sctp_hs_raise_drop
[all...]
H A Dsctp_timer.c189 * in PF state) with the largest cwnd value. If all destinations are
251 * not in PF state, compare the cwnd of the
252 * destination to the highest cwnd seen thus far.
253 * Store the destination with the higher cwnd value.
254 * If the cwnd values are equal, randomly choose one
257 if (max_cwnd < mnet->cwnd) {
259 max_cwnd = mnet->cwnd;
260 } else if (max_cwnd == mnet->cwnd) {
277 max_cwnd = mnet->cwnd; /* Useless? */
301 if (max_cwnd < mnet->cwnd) {
[all...]
H A Dsctputil.c318 sctp_clog.x.cwnd.net = net;
320 sctp_clog.x.cwnd.cnt_in_send = 255;
322 sctp_clog.x.cwnd.cnt_in_send = stcb->asoc.send_queue_cnt;
324 sctp_clog.x.cwnd.cnt_in_str = 255;
326 sctp_clog.x.cwnd.cnt_in_str = stcb->asoc.stream_queue_cnt;
329 sctp_clog.x.cwnd.cwnd_new_value = net->cwnd;
330 sctp_clog.x.cwnd.inflight = net->flight_size;
331 sctp_clog.x.cwnd.pseudo_cumack = net->pseudo_cumack;
332 sctp_clog.x.cwnd
[all...]
H A Dsctp_uio.h746 uint32_t cwnd_new_value; /* cwnd in k */
914 struct sctp_cwnd_args cwnd; member in union:sctp_cwnd_log::__anon5442
1092 * cwnd */
1117 uint32_t sctps_send_cwnd_avoid; /* Send cwnd full avoidance, already
1233 uint32_t cwnd; /* */ member in struct:xsctp_raddr
H A Dsctp_sysctl.c505 xraddr.cwnd = net->cwnd;
H A Dsctp_indata.c3070 * new_(rtx_)pseudo_cumack to TRUE so that the cwnd for this dest can be
3162 /* deflate the cwnd */
3163 tp1->whoTo->cwnd -= tp1->book_size;
3316 * We inflate the cwnd to compensate for our
3319 tp1->whoTo->cwnd += tp1->book_size;
4017 net->prev_cwnd = net->cwnd;
4121 * cwnd update.
4139 /* deflate the cwnd */
4140 tp1->whoTo->cwnd -= tp1->book_size;
4502 * revoked blocks and mark. 7) Update the cwnd
[all...]
H A Dsctp_structs.h295 uint32_t cwnd; /* actual cwnd */ member in struct:sctp_nets
296 uint32_t prev_cwnd; /* cwnd before any processing */
297 uint32_t ecn_prev_cwnd; /* ECN prev cwnd at first ecn_echo seen in new
H A Dsctp_usrreq.c2580 paddri->spinfo_cwnd = net->cwnd;
2668 sstat->sstat_primary.spinfo_cwnd = net->cwnd;
6873 if ((net->cwnd > stcb->asoc.max_cwnd) &&
6874 (net->cwnd > (net->mtu - sizeof(struct sctphdr)))) {
6875 net->cwnd = stcb->asoc.max_cwnd;
6876 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) {
6877 net->cwnd = net->mtu - sizeof(struct sctphdr);
H A Dsctp_output.c7010 data_list[i]->rec.data.cwnd_at_send = net->cwnd;
7856 * - Check to see if the cwnd/rwnd allows any output, if so we go ahead and
7970 * its's got space in cwnd and has data sent to it
7994 if (net->flight_size >= net->cwnd) {
8060 (net->flight_size >= net->cwnd)) {
8593 if (net->flight_size >= net->cwnd) {
8660 if (net->flight_size >= net->cwnd) {
9469 * happening we ignore the cwnd. Otherwise we obey the cwnd and
9693 * flight_size > cwnd
[all...]
/freebsd-11-stable/sys/netinet/cc/
H A Dcc_cubic.h126 * Compute the CUBIC K value used in the cwnd calculation, using an
161 * Compute the new cwnd value using an implementation of eqn 1 from the I-D.
169 int64_t cwnd; local
174 cwnd = ((int64_t)(ticks_since_cong << CUBIC_SHIFT) - (K * hz)) / hz;
177 cwnd *= (cwnd * cwnd);
181 * The down shift by CUBIC_SHIFT_4 is because cwnd has 4 lots of
182 * CUBIC_SHIFT included in the value. 3 from the cubing of cwnd above,
185 cwnd
[all...]
/freebsd-11-stable/sys/netgraph/
H A Dng_l2tp.c121 * - If cwnd < ssth, we're doing slow start, otherwise congestion avoidance
127 * Therefore, (i < cwnd && xwin[i] != NULL) implies (ns - rack) > i.
139 u_int16_t cwnd; /* current congestion window */ member in struct:l2tp_seq
1059 if (i >= seq->cwnd) {
1199 seq->cwnd = 1;
1297 seq->cwnd = 1;
1351 if (seq->cwnd < seq->wmax) {
1354 if (seq->cwnd < seq->ssth) {
1355 seq->cwnd += nack;
1357 if (seq->cwnd > se
[all...]
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Dtcp_common.h136 __le32 cwnd /* absolute congestion window */; member in struct:tcp_offload_params
206 __le32 cwnd /* absolute congestion window */; member in struct:tcp_offload_params_opt2
298 __le32 cwnd /* absolute congestion window */; member in struct:tcp_upload_params
H A Decore_iscsi_api.h132 u32 cwnd; member in struct:ecore_iscsi_conn
/freebsd-11-stable/sys/dev/bxe/
H A Decore_hsi.h10180 uint32_t cwnd /* Congestion window */; member in struct:tstorm_tcp_st_context_section

Completed in 428 milliseconds