Lines Matching refs:tchunk
1253 struct sctp_chunk *tchunk = NULL; in sctp_outq_sack() local
1373 tchunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_sack()
1375 tsn = ntohl(tchunk->subh.data_hdr->tsn); in sctp_outq_sack()
1377 list_del_init(&tchunk->transmitted_list); in sctp_outq_sack()
1381 sctp_chunk_free(tchunk); in sctp_outq_sack()
1443 struct sctp_chunk *tchunk; in sctp_check_transmitted() local
1459 tchunk = list_entry(lchunk, struct sctp_chunk, in sctp_check_transmitted()
1462 if (sctp_chunk_abandoned(tchunk)) { in sctp_check_transmitted()
1470 !tchunk->tsn_gap_acked) { in sctp_check_transmitted()
1471 if (tchunk->transport) in sctp_check_transmitted()
1472 tchunk->transport->flight_size -= in sctp_check_transmitted()
1473 sctp_data_size(tchunk); in sctp_check_transmitted()
1474 q->outstanding_bytes -= sctp_data_size(tchunk); in sctp_check_transmitted()
1479 tsn = ntohl(tchunk->subh.data_hdr->tsn); in sctp_check_transmitted()
1486 if (transport && !tchunk->tsn_gap_acked) { in sctp_check_transmitted()
1498 if (!sctp_chunk_retransmitted(tchunk) && in sctp_check_transmitted()
1499 tchunk->rtt_in_progress) { in sctp_check_transmitted()
1500 tchunk->rtt_in_progress = 0; in sctp_check_transmitted()
1501 rtt = jiffies - tchunk->sent_at; in sctp_check_transmitted()
1534 if (!tchunk->tsn_gap_acked) { in sctp_check_transmitted()
1535 tchunk->tsn_gap_acked = 1; in sctp_check_transmitted()
1538 bytes_acked += sctp_data_size(tchunk); in sctp_check_transmitted()
1539 if (!tchunk->transport) in sctp_check_transmitted()
1540 migrate_bytes += sctp_data_size(tchunk); in sctp_check_transmitted()
1557 list_add_tail(&tchunk->transmitted_list, in sctp_check_transmitted()
1578 if (tchunk->tsn_gap_acked) { in sctp_check_transmitted()
1582 tchunk->tsn_gap_acked = 0; in sctp_check_transmitted()
1584 if (tchunk->transport) in sctp_check_transmitted()
1585 bytes_acked -= sctp_data_size(tchunk); in sctp_check_transmitted()