Lines Matching refs:sack
42 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn);
47 struct sctp_sackhdr *sack,
1226 struct sctp_sackhdr *sack) in sctp_sack_update_unack_data() argument
1234 frags = (union sctp_sack_variable *)(sack + 1); in sctp_sack_update_unack_data()
1235 for (i = 0; i < ntohs(sack->num_gap_ack_blocks); i++) { in sctp_sack_update_unack_data()
1251 struct sctp_sackhdr *sack = chunk->subh.sack_hdr; in sctp_outq_sack() local
1273 sack_ctsn = ntohl(sack->cum_tsn_ack); in sctp_outq_sack()
1274 gap_ack_blocks = ntohs(sack->num_gap_ack_blocks); in sctp_outq_sack()
1317 (union sctp_sack_variable *)(sack + 1); in sctp_outq_sack()
1330 sctp_check_transmitted(q, &q->retransmit, NULL, NULL, sack, &highest_new_tsn); in sctp_outq_sack()
1339 transport, &chunk->source, sack, in sctp_outq_sack()
1367 sctp_sack_update_unack_data(asoc, sack); in sctp_outq_sack()
1390 sack_a_rwnd = ntohl(sack->a_rwnd); in sctp_outq_sack()
1439 struct sctp_sackhdr *sack, in sctp_check_transmitted() argument
1453 sack_ctsn = ntohl(sack->cum_tsn_ack); in sctp_check_transmitted()
1480 if (sctp_acked(sack, tsn)) { in sctp_check_transmitted()
1520 if (sack->num_gap_ack_blocks && in sctp_check_transmitted()
1773 static int sctp_acked(struct sctp_sackhdr *sack, __u32 tsn) in sctp_acked() argument
1775 __u32 ctsn = ntohl(sack->cum_tsn_ack); in sctp_acked()
1795 frags = (union sctp_sack_variable *)(sack + 1); in sctp_acked()
1796 blocks = ntohs(sack->num_gap_ack_blocks); in sctp_acked()