|
@@ -641,7 +641,6 @@ struct sctp_chunk {
|
|
|
#define SCTP_NEED_FRTX 0x1
|
|
|
#define SCTP_DONT_FRTX 0x2
|
|
|
__u16 rtt_in_progress:1, /* This chunk used for RTT calc? */
|
|
|
- resent:1, /* Has this chunk ever been resent. */
|
|
|
has_tsn:1, /* Does this chunk have a TSN yet? */
|
|
|
has_ssn:1, /* Does this chunk have a SSN yet? */
|
|
|
singleton:1, /* Only chunk in the packet? */
|
|
@@ -656,6 +655,7 @@ struct sctp_chunk {
|
|
|
fast_retransmit:2; /* Is this chunk fast retransmitted? */
|
|
|
};
|
|
|
|
|
|
+#define sctp_chunk_retransmitted(chunk) (chunk->sent_count > 1)
|
|
|
void sctp_chunk_hold(struct sctp_chunk *);
|
|
|
void sctp_chunk_put(struct sctp_chunk *);
|
|
|
int sctp_user_addto_chunk(struct sctp_chunk *chunk, int len,
|