Lines Matching refs:sack
42 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn);
47 struct sctp_sackhdr *sack,
583 * triggered during sack processing and the queue
1226 struct sctp_sackhdr *sack)
1234 frags = (union sctp_sack_variable *)(sack + 1);
1235 for (i = 0; i < ntohs(sack->num_gap_ack_blocks); i++) {
1251 struct sctp_sackhdr *sack = chunk->subh.sack_hdr;
1273 sack_ctsn = ntohl(sack->cum_tsn_ack);
1274 gap_ack_blocks = ntohs(sack->num_gap_ack_blocks);
1313 /* Get the highest TSN in the sack. */
1317 (union sctp_sack_variable *)(sack + 1);
1330 sctp_check_transmitted(q, &q->retransmit, NULL, NULL, sack, &highest_new_tsn);
1339 transport, &chunk->source, sack,
1367 sctp_sack_update_unack_data(asoc, sack);
1371 /* Throw away stuff rotting on the sack queue. */
1390 sack_a_rwnd = ntohl(sack->a_rwnd);
1403 pr_debug("%s: sack cumulative tsn ack:0x%x\n", __func__, sack_ctsn);
1439 struct sctp_sackhdr *sack,
1453 sack_ctsn = ntohl(sack->cum_tsn_ack);
1480 if (sctp_acked(sack, tsn)) {
1520 if (sack->num_gap_ack_blocks &&
1676 pr_debug("%s: sack received for zero window "
1773 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn)
1775 __u32 ctsn = ntohl(sack->cum_tsn_ack);
1795 frags = (union sctp_sack_variable *)(sack + 1);
1796 blocks = ntohs(sack->num_gap_ack_blocks);