Lines Matching defs:primary
97 * and t was not sent to the current primary then the
100 static inline int sctp_cacc_skip_3_1_d(struct sctp_transport *primary,
104 if (count_of_newacks >= 2 && transport != primary)
132 static inline int sctp_cacc_skip_3_1(struct sctp_transport *primary,
136 if (!primary->cacc.cycling_changeover) {
137 if (sctp_cacc_skip_3_1_d(primary, transport, count_of_newacks))
149 * than next_tsn_at_change of the current primary, then
153 static inline int sctp_cacc_skip_3_2(struct sctp_transport *primary, __u32 tsn)
155 if (primary->cacc.cycling_changeover &&
156 TSN_lt(tsn, primary->cacc.next_tsn_at_change))
175 static inline int sctp_cacc_skip(struct sctp_transport *primary,
180 if (primary->cacc.changeover_active &&
181 (sctp_cacc_skip_3_1(primary, transport, count_of_newacks) ||
182 sctp_cacc_skip_3_2(primary, tsn)))
1237 struct sctp_transport *primary = asoc->peer.primary_path;
1260 * on the current primary, the CHANGEOVER_ACTIVE flag SHOULD be
1272 if (primary->cacc.changeover_active) {
1275 if (TSN_lte(primary->cacc.next_tsn_at_change, sack_ctsn)) {
1276 primary->cacc.changeover_active = 0;
1693 struct sctp_transport *primary = asoc->peer.primary_path;
1713 if (!transport || !sctp_cacc_skip(primary,