Lines Matching refs:tchunk
1230 struct sctp_chunk *tchunk = NULL; in sctp_outq_sack() local
1347 tchunk = list_entry(lchunk, struct sctp_chunk, in sctp_outq_sack()
1349 tsn = ntohl(tchunk->subh.data_hdr->tsn); in sctp_outq_sack()
1351 list_del_init(&tchunk->transmitted_list); in sctp_outq_sack()
1355 sctp_chunk_free(tchunk); in sctp_outq_sack()
1417 struct sctp_chunk *tchunk; in sctp_check_transmitted() local
1433 tchunk = list_entry(lchunk, struct sctp_chunk, in sctp_check_transmitted()
1436 if (sctp_chunk_abandoned(tchunk)) { in sctp_check_transmitted()
1444 !tchunk->tsn_gap_acked) { in sctp_check_transmitted()
1445 if (tchunk->transport) in sctp_check_transmitted()
1446 tchunk->transport->flight_size -= in sctp_check_transmitted()
1447 sctp_data_size(tchunk); in sctp_check_transmitted()
1448 q->outstanding_bytes -= sctp_data_size(tchunk); in sctp_check_transmitted()
1453 tsn = ntohl(tchunk->subh.data_hdr->tsn); in sctp_check_transmitted()
1460 if (transport && !tchunk->tsn_gap_acked) { in sctp_check_transmitted()
1472 if (!sctp_chunk_retransmitted(tchunk) && in sctp_check_transmitted()
1473 tchunk->rtt_in_progress) { in sctp_check_transmitted()
1474 tchunk->rtt_in_progress = 0; in sctp_check_transmitted()
1475 rtt = jiffies - tchunk->sent_at; in sctp_check_transmitted()
1508 if (!tchunk->tsn_gap_acked) { in sctp_check_transmitted()
1509 tchunk->tsn_gap_acked = 1; in sctp_check_transmitted()
1512 bytes_acked += sctp_data_size(tchunk); in sctp_check_transmitted()
1513 if (!tchunk->transport) in sctp_check_transmitted()
1514 migrate_bytes += sctp_data_size(tchunk); in sctp_check_transmitted()
1531 list_add_tail(&tchunk->transmitted_list, in sctp_check_transmitted()
1552 if (tchunk->tsn_gap_acked) { in sctp_check_transmitted()
1556 tchunk->tsn_gap_acked = 0; in sctp_check_transmitted()
1558 if (tchunk->transport) in sctp_check_transmitted()
1559 bytes_acked -= sctp_data_size(tchunk); in sctp_check_transmitted()