Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet/
H A Dsctp_cc_functions.c102 0, net->cwnd); in sctp_set_initial_cc_param()
125 t_cwnd += net->cwnd; in sctp_cwnd_update_after_fr()
1002 old_cwnd = net->cwnd; in sctp_cwnd_update_exit_pf_common()
1003 net->cwnd = net->mtu; in sctp_cwnd_update_exit_pf_common()
1102 net->cwnd /= 2; in sctp_cwnd_update_after_ecn_echo_common()
1240 net->cwnd += incr; in sctp_cwnd_update_after_packet_dropped()
1389 if (net->cwnd > cwnd) { in sctp_cwnd_new_rtcc_transmission_begins()
1394 net->cwnd = cwnd; in sctp_cwnd_new_rtcc_transmission_begins()
1523 int32_t cwnd; member
1631 net->cwnd += incr; in sctp_hs_cwnd_increase()
[all …]
H A Dsctp_kdtrace.c47 SDT_PROBE_DEFINE5(sctp, cwnd, net, init,
58 SDT_PROBE_DEFINE5(sctp, cwnd, net, ack,
69 SDT_PROBE_DEFINE5(sctp, cwnd, net, rttvar,
77 SDT_PROBE_DEFINE5(sctp, cwnd, net, rttstep,
86 SDT_PROBE_DEFINE5(sctp, cwnd, net, fr,
97 SDT_PROBE_DEFINE5(sctp, cwnd, net, to,
108 SDT_PROBE_DEFINE5(sctp, cwnd, net, bl,
119 SDT_PROBE_DEFINE5(sctp, cwnd, net, ecn,
130 SDT_PROBE_DEFINE5(sctp, cwnd, net, pd,
H A Dsctp_kdtrace.h63 SDT_PROBE_DECLARE(sctp, cwnd, net, init);
65 SDT_PROBE_DECLARE(sctp, cwnd, net, ack);
67 SDT_PROBE_DECLARE(sctp, cwnd, net, fr);
69 SDT_PROBE_DECLARE(sctp, cwnd, net, to);
71 SDT_PROBE_DECLARE(sctp, cwnd, net, bl);
73 SDT_PROBE_DECLARE(sctp, cwnd, net, ecn);
75 SDT_PROBE_DECLARE(sctp, cwnd, net, pd);
77 SDT_PROBE_DECLARE(sctp, cwnd, net, rttvar);
78 SDT_PROBE_DECLARE(sctp, cwnd, net, rttstep);
H A Dsctp_timer.c258 if (max_cwnd < mnet->cwnd) { in sctp_find_alternate_net()
260 max_cwnd = mnet->cwnd; in sctp_find_alternate_net()
261 } else if (max_cwnd == mnet->cwnd) { in sctp_find_alternate_net()
278 max_cwnd = mnet->cwnd; /* Useless? */ in sctp_find_alternate_net()
302 if (max_cwnd < mnet->cwnd) { in sctp_find_alternate_net()
304 max_cwnd = mnet->cwnd; in sctp_find_alternate_net()
305 } else if (max_cwnd == mnet->cwnd) { in sctp_find_alternate_net()
323 max_cwnd = mnet->cwnd; in sctp_find_alternate_net()
666 chk->whoTo->cwnd -= chk->book_size; in sctp_mark_all_for_resend()
794 (void *)lnets, lnets->cwnd, lnets->ssthresh); in sctp_mark_all_for_resend()
[all …]
H A Dsctputil.c320 sctp_clog.x.cwnd.net = net; in sctp_log_cwnd()
322 sctp_clog.x.cwnd.cnt_in_send = 255; in sctp_log_cwnd()
326 sctp_clog.x.cwnd.cnt_in_str = 255; in sctp_log_cwnd()
331 sctp_clog.x.cwnd.cwnd_new_value = net->cwnd; in sctp_log_cwnd()
340 sctp_clog.x.cwnd.cwnd_augment = augment; in sctp_log_cwnd()
404 sctp_clog.x.cwnd.net = net; in sctp_log_maxburst()
405 sctp_clog.x.cwnd.cwnd_new_value = error; in sctp_log_maxburst()
406 sctp_clog.x.cwnd.inflight = net->flight_size; in sctp_log_maxburst()
407 sctp_clog.x.cwnd.cwnd_augment = burst; in sctp_log_maxburst()
409 sctp_clog.x.cwnd.cnt_in_send = 255; in sctp_log_maxburst()
[all …]
H A Dsctp_uio.h914 struct sctp_cwnd_args cwnd; member
1222 uint32_t cwnd; /* */ member
H A Dsctp_sysctl.c504 xraddr.cwnd = net->cwnd; in sctp_sysctl_handle_assoclist()
H A Dsctp_indata.c3127 tp1->whoTo->cwnd -= tp1->book_size; in sctp_process_segment_range()
3282 tp1->whoTo->cwnd += tp1->book_size; in sctp_check_for_revoked()
3974 net->prev_cwnd = net->cwnd; in sctp_express_handle_sack()
4097 tp1->whoTo->cwnd -= tp1->book_size; in sctp_express_handle_sack()
4578 net->prev_cwnd = net->cwnd; in sctp_handle_sack()
4706 tp1->whoTo->cwnd -= tp1->book_size; in sctp_handle_sack()
4879 tp1->whoTo->cwnd += tp1->book_size; in sctp_handle_sack()
H A Dsctp_structs.h290 uint32_t cwnd; /* actual cwnd */ member
H A Dsctp_usrreq.c2561 paddri->spinfo_cwnd = net->cwnd;
2647 sstat->sstat_primary.spinfo_cwnd = net->cwnd;
6836 if ((net->cwnd > stcb->asoc.max_cwnd) &&
6837 (net->cwnd > (net->mtu - sizeof(struct sctphdr)))) {
6838 net->cwnd = stcb->asoc.max_cwnd;
6839 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) {
6840 net->cwnd = net->mtu - sizeof(struct sctphdr);
H A Dsctp_output.c6958 data_list[i]->rec.data.cwnd_at_send = net->cwnd; in sctp_clean_up_datalist()
7923 if (net->flight_size >= net->cwnd) { in sctp_med_chunk_output()
7989 (net->flight_size >= net->cwnd)) { in sctp_med_chunk_output()
8522 if (net->flight_size >= net->cwnd) { in sctp_med_chunk_output()
8589 if (net->flight_size >= net->cwnd) { in sctp_med_chunk_output()
9618 if (net->flight_size >= net->cwnd) { in sctp_chunk_retransmission()
9818 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()
13300 if ((net->flight_size > net->cwnd) && in sctp_lower_sosend()
13583 if ((net->flight_size > net->cwnd) && in sctp_lower_sosend()
/f-stack/freebsd/netinet/cc/
H A Dcc_cubic.h178 int64_t cwnd; in cubic_cwnd() local
183 cwnd = (((int64_t)ticks_since_cong << CUBIC_SHIFT) - (K * hz)) / hz; in cubic_cwnd()
185 if (cwnd > CUBED_ROOT_MAX_ULONG) in cubic_cwnd()
187 if (cwnd < -CUBED_ROOT_MAX_ULONG) in cubic_cwnd()
191 cwnd *= (cwnd * cwnd); in cubic_cwnd()
200 cwnd = ((cwnd * CUBIC_C_FACTOR) >> CUBIC_SHIFT_4) * smss + wmax; in cubic_cwnd()
205 return (lmax(0,cwnd)); in cubic_cwnd()
H A Dcc_cubic.c457 uint32_t cwnd; in cubic_ssthresh_update() local
460 cwnd = CCV(ccv, snd_cwnd); in cubic_ssthresh_update()
463 if (cwnd < cubic_data->max_cwnd) { in cubic_ssthresh_update()
464 cwnd = ((uint64_t)cwnd * CUBIC_FC_FACTOR) >> CUBIC_SHIFT; in cubic_ssthresh_update()
467 cubic_data->max_cwnd = cwnd; in cubic_ssthresh_update()
476 ssthresh = cwnd >> 1; in cubic_ssthresh_update()
477 cubic_data->max_cwnd = ((uint64_t)cwnd * in cubic_ssthresh_update()
480 ssthresh = ((uint64_t)cwnd * in cubic_ssthresh_update()
/f-stack/freebsd/netgraph/
H A Dng_l2tp.c1059 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 seq->cwnd += nack; in ng_l2tp_seq_recv_nr()
1358 seq->cwnd = seq->ssth; in ng_l2tp_seq_recv_nr()
1366 seq->acks -= seq->cwnd; in ng_l2tp_seq_recv_nr()
1368 seq->cwnd++; in ng_l2tp_seq_recv_nr()
1483 seq->cwnd = 1; in ng_l2tp_seq_rack_timeout()
1602 CHECK(seq->cwnd >= 1); in ng_l2tp_seq_check()
[all …]
/f-stack/freebsd/netinet/tcp_stacks/
H A Dbbr.c3442 uint32_t cwnd; in bbr_get_raw_target_cwnd() local
3459 return (cwnd); in bbr_get_raw_target_cwnd()
3485 cwnd += 2 * mss; in bbr_get_target_cwnd()
3489 cwnd += mss; in bbr_get_target_cwnd()
3495 return (cwnd); in bbr_get_target_cwnd()
3689 cwnd -= losses; in bbr_ack_received()
3691 cwnd = maxseg; in bbr_ack_received()
3693 cwnd = maxseg; in bbr_ack_received()
3738 cwnd = s_cwnd; in bbr_ack_received()
3740 cwnd = s_cwnd; in bbr_ack_received()
[all …]
H A Drack.c11453 uint32_t srtt, cwnd, tr_perms = 0; in rack_get_pacing_delay() local
11470 cwnd = rack->r_ctl.rc_rack_largest_cwnd; in rack_get_pacing_delay()
11472 cwnd = rack->r_ctl.cwnd_to_use; in rack_get_pacing_delay()
11473 tr_perms = cwnd / srtt; in rack_get_pacing_delay()
/f-stack/tools/compat/include/netinet/
H A Dsctp_uio.h914 struct sctp_cwnd_args cwnd; member
1222 uint32_t cwnd; /* */ member