Lines Matching full:asoc

79 	assoc = &stcb->asoc;  in sctp_set_initial_cc_param()
93 if ((stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV1) || in sctp_set_initial_cc_param()
94 (stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV2)) { in sctp_set_initial_cc_param()
104 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_set_initial_cc_param()
114 struct sctp_association *asoc) in sctp_cwnd_update_after_fr() argument
124 if ((asoc->sctp_cmt_on_off == SCTP_CMT_RPV1) || in sctp_cwnd_update_after_fr()
125 (asoc->sctp_cmt_on_off == SCTP_CMT_RPV2)) { in sctp_cwnd_update_after_fr()
126 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { in sctp_cwnd_update_after_fr()
142 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { in sctp_cwnd_update_after_fr()
143 if ((asoc->fast_retran_loss_recovery == 0) || in sctp_cwnd_update_after_fr()
144 (asoc->sctp_cmt_on_off > 0)) { in sctp_cwnd_update_after_fr()
156 if ((asoc->sctp_cmt_on_off == SCTP_CMT_RPV1) || in sctp_cwnd_update_after_fr()
157 (asoc->sctp_cmt_on_off == SCTP_CMT_RPV2)) { in sctp_cwnd_update_after_fr()
158 if (asoc->sctp_cmt_on_off == SCTP_CMT_RPV1) { in sctp_cwnd_update_after_fr()
164 if (asoc->sctp_cmt_on_off == SCTP_CMT_RPV2) { in sctp_cwnd_update_after_fr()
200 sctp_enforce_cwnd_limit(asoc, net); in sctp_cwnd_update_after_fr()
202 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_cwnd_update_after_fr()
208 lchk = TAILQ_FIRST(&asoc->send_queue); in sctp_cwnd_update_after_fr()
212 asoc->fast_retran_loss_recovery = 1; in sctp_cwnd_update_after_fr()
215 asoc->fast_recovery_tsn = asoc->sending_seq - 1; in sctp_cwnd_update_after_fr()
217 asoc->fast_recovery_tsn = lchk->rec.data.tsn - 1; in sctp_cwnd_update_after_fr()
228 net->fast_recovery_tsn = asoc->sending_seq - 1; in sctp_cwnd_update_after_fr()
449 sctp_enforce_cwnd_limit(&stcb->asoc, net); in cc_bw_decrease()
481 sctp_enforce_cwnd_limit(&stcb->asoc, net); in cc_bw_decrease()
513 sctp_enforce_cwnd_limit(&stcb->asoc, net); in cc_bw_decrease()
622 rtt = stcb->asoc.my_vtag; in cc_bw_limit()
686 struct sctp_association *asoc, in sctp_cwnd_update_after_sack_common() argument
703 if ((stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV1) || in sctp_cwnd_update_after_sack_common()
704 (stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV2) || in sctp_cwnd_update_after_sack_common()
705 (stcb->asoc.sctp_cmt_on_off == SCTP_CMT_MPTCP)) { in sctp_cwnd_update_after_sack_common()
707 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { in sctp_cwnd_update_after_sack_common()
739 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { in sctp_cwnd_update_after_sack_common()
745 if (SCTP_TSN_GE(asoc->last_acked_seq, net->fast_recovery_tsn) || in sctp_cwnd_update_after_sack_common()
766 * asoc->fast_retran_loss_recovery && will_exit == 0) { in sctp_cwnd_update_after_sack_common()
770 if (asoc->fast_retran_loss_recovery && in sctp_cwnd_update_after_sack_common()
772 (asoc->sctp_cmt_on_off == 0)) { in sctp_cwnd_update_after_sack_common()
830 ((asoc->sctp_cmt_on_off > 0) && net->new_pseudo_cumack)) { in sctp_cwnd_update_after_sack_common()
838 switch (asoc->sctp_cmt_on_off) { in sctp_cwnd_update_after_sack_common()
905 sctp_enforce_cwnd_limit(asoc, net); in sctp_cwnd_update_after_sack_common()
911 stcb->asoc.my_vtag, in sctp_cwnd_update_after_sack_common()
932 switch (asoc->sctp_cmt_on_off) { in sctp_cwnd_update_after_sack_common()
972 sctp_enforce_cwnd_limit(asoc, net); in sctp_cwnd_update_after_sack_common()
974 stcb->asoc.my_vtag, in sctp_cwnd_update_after_sack_common()
1006 stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net, in sctp_cwnd_update_exit_pf_common()
1022 if ((stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV1) || in sctp_cwnd_update_after_timeout()
1023 (stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV2)) { in sctp_cwnd_update_after_timeout()
1028 TAILQ_FOREACH(lnet, &stcb->asoc.nets, sctp_next) { in sctp_cwnd_update_after_timeout()
1043 if (stcb->asoc.sctp_cmt_on_off == SCTP_CMT_RPV1) { in sctp_cwnd_update_after_timeout()
1076 stcb->asoc.my_vtag, in sctp_cwnd_update_after_timeout()
1136 stcb->asoc.my_vtag, in sctp_cwnd_update_after_ecn_echo_common()
1191 if (stcb->asoc.seen_a_sack_this_pkt) { in sctp_cwnd_update_after_packet_dropped()
1237 if ((stcb->asoc.max_burst > 0) && in sctp_cwnd_update_after_packet_dropped()
1238 (stcb->asoc.max_burst * net->mtu < incr)) { in sctp_cwnd_update_after_packet_dropped()
1239 incr = stcb->asoc.max_burst * net->mtu; in sctp_cwnd_update_after_packet_dropped()
1251 sctp_enforce_cwnd_limit(&stcb->asoc, net); in sctp_cwnd_update_after_packet_dropped()
1255 stcb->asoc.my_vtag, in sctp_cwnd_update_after_packet_dropped()
1276 sctp_enforce_cwnd_limit(&stcb->asoc, net); in sctp_cwnd_update_after_output()
1278 stcb->asoc.my_vtag, in sctp_cwnd_update_after_output()
1290 struct sctp_association *asoc, in sctp_cwnd_update_after_sack() argument
1294 sctp_cwnd_update_after_sack_common(stcb, asoc, accum_moved, reneged_all, will_exit, 0); in sctp_cwnd_update_after_sack()
1386 if ((stcb->asoc.max_burst > 0) && (cwnd_in_mtu > stcb->asoc.max_burst)) in sctp_cwnd_new_rtcc_transmission_begins()
1387 cwnd_in_mtu = stcb->asoc.max_burst; in sctp_cwnd_new_rtcc_transmission_begins()
1408 stcb->asoc.use_precise_time = 1; in sctp_set_rtcc_initial_cc_param()
1449 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { in sctp_cwnd_rtcc_socket_option()
1457 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { in sctp_cwnd_rtcc_socket_option()
1461 TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) { in sctp_cwnd_rtcc_socket_option()
1470 net = TAILQ_FIRST(&stcb->asoc.nets); in sctp_cwnd_rtcc_socket_option()
1476 net = TAILQ_FIRST(&stcb->asoc.nets); in sctp_cwnd_rtcc_socket_option()
1482 net = TAILQ_FIRST(&stcb->asoc.nets); in sctp_cwnd_rtcc_socket_option()
1506 struct sctp_association *asoc, in sctp_cwnd_update_rtcc_after_sack() argument
1510 sctp_cwnd_update_after_sack_common(stcb, asoc, accum_moved, reneged_all, will_exit, 1); in sctp_cwnd_update_rtcc_after_sack()
1634 sctp_enforce_cwnd_limit(&stcb->asoc, net); in sctp_hs_cwnd_increase()
1675 sctp_enforce_cwnd_limit(&stcb->asoc, net); in sctp_hs_cwnd_decrease()
1683 struct sctp_association *asoc) in sctp_hs_cwnd_update_after_fr() argument
1691 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { in sctp_hs_cwnd_update_after_fr()
1692 if ((asoc->fast_retran_loss_recovery == 0) || in sctp_hs_cwnd_update_after_fr()
1693 (asoc->sctp_cmt_on_off > 0)) { in sctp_hs_cwnd_update_after_fr()
1706 lchk = TAILQ_FIRST(&asoc->send_queue); in sctp_hs_cwnd_update_after_fr()
1710 asoc->fast_retran_loss_recovery = 1; in sctp_hs_cwnd_update_after_fr()
1713 asoc->fast_recovery_tsn = asoc->sending_seq - 1; in sctp_hs_cwnd_update_after_fr()
1715 asoc->fast_recovery_tsn = lchk->rec.data.tsn - 1; in sctp_hs_cwnd_update_after_fr()
1726 net->fast_recovery_tsn = asoc->sending_seq - 1; in sctp_hs_cwnd_update_after_fr()
1749 struct sctp_association *asoc, in sctp_hs_cwnd_update_after_sack() argument
1757 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { in sctp_hs_cwnd_update_after_sack()
1763 if (SCTP_TSN_GE(asoc->last_acked_seq, net->fast_recovery_tsn) || in sctp_hs_cwnd_update_after_sack()
1784 * asoc->fast_retran_loss_recovery && will_exit == 0) { in sctp_hs_cwnd_update_after_sack()
1788 if (asoc->fast_retran_loss_recovery && in sctp_hs_cwnd_update_after_sack()
1790 (asoc->sctp_cmt_on_off == 0)) { in sctp_hs_cwnd_update_after_sack()
1802 ((asoc->sctp_cmt_on_off > 0) && net->new_pseudo_cumack)) { in sctp_hs_cwnd_update_after_sack()
1821 sctp_enforce_cwnd_limit(asoc, net); in sctp_hs_cwnd_update_after_sack()
2063 sctp_enforce_cwnd_limit(&stcb->asoc, net); in htcp_cong_avoid()
2085 sctp_enforce_cwnd_limit(&stcb->asoc, net); in htcp_cong_avoid()
2130 net->ssthresh = stcb->asoc.peers_rwnd; in sctp_htcp_set_initial_cc_param()
2131 sctp_enforce_cwnd_limit(&stcb->asoc, net); in sctp_htcp_set_initial_cc_param()
2141 struct sctp_association *asoc, in sctp_htcp_cwnd_update_after_sack() argument
2149 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { in sctp_htcp_cwnd_update_after_sack()
2155 if (SCTP_TSN_GE(asoc->last_acked_seq, net->fast_recovery_tsn) || in sctp_htcp_cwnd_update_after_sack()
2176 * asoc->fast_retran_loss_recovery && will_exit == 0) { in sctp_htcp_cwnd_update_after_sack()
2180 if (asoc->fast_retran_loss_recovery && in sctp_htcp_cwnd_update_after_sack()
2182 (asoc->sctp_cmt_on_off == 0)) { in sctp_htcp_cwnd_update_after_sack()
2194 ((asoc->sctp_cmt_on_off > 0) && net->new_pseudo_cumack)) { in sctp_htcp_cwnd_update_after_sack()
2208 struct sctp_association *asoc) in sctp_htcp_cwnd_update_after_fr() argument
2216 TAILQ_FOREACH(net, &asoc->nets, sctp_next) { in sctp_htcp_cwnd_update_after_fr()
2217 if ((asoc->fast_retran_loss_recovery == 0) || in sctp_htcp_cwnd_update_after_fr()
2218 (asoc->sctp_cmt_on_off > 0)) { in sctp_htcp_cwnd_update_after_fr()
2234 sctp_enforce_cwnd_limit(asoc, net); in sctp_htcp_cwnd_update_after_fr()
2239 lchk = TAILQ_FIRST(&asoc->send_queue); in sctp_htcp_cwnd_update_after_fr()
2243 asoc->fast_retran_loss_recovery = 1; in sctp_htcp_cwnd_update_after_fr()
2246 asoc->fast_recovery_tsn = asoc->sending_seq - 1; in sctp_htcp_cwnd_update_after_fr()
2248 asoc->fast_recovery_tsn = lchk->rec.data.tsn - 1; in sctp_htcp_cwnd_update_after_fr()
2259 net->fast_recovery_tsn = asoc->sending_seq - 1; in sctp_htcp_cwnd_update_after_fr()
2315 sctp_enforce_cwnd_limit(&stcb->asoc, net); in sctp_htcp_cwnd_update_after_ecn_echo()