aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_header.h
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2010-01-17 21:00:28 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2010-01-17 21:00:28 +0000
commitcd55430963384f8180586988ed489ac507572b89 (patch)
tree6d50c63f4b91e2148b599c7400e63d422d71f45c /sys/netinet/sctp_header.h
parente34b217f91a6be81d778b6db427e80928fd260e1 (diff)
downloadsrc-cd55430963384f8180586988ed489ac507572b89.tar.gz
src-cd55430963384f8180586988ed489ac507572b89.zip
Get rid of a lot of duplicated code for NR-SACK handle.
Generalize the SACK to code handle also NR-SACKs.
Notes
Notes: svn path=/head/; revision=202526
Diffstat (limited to 'sys/netinet/sctp_header.h')
-rw-r--r--sys/netinet/sctp_header.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/netinet/sctp_header.h b/sys/netinet/sctp_header.h
index c551e53b473e..e4ad773e049d 100644
--- a/sys/netinet/sctp_header.h
+++ b/sys/netinet/sctp_header.h
@@ -284,13 +284,6 @@ struct sctp_sack_chunk {
struct sctp_sack sack;
} SCTP_PACKED;
-
-/* EY Following 3 structs define NR Selective Ack (NR_SACK) chunk */
-struct sctp_nr_gap_ack_block {
- uint16_t start; /* NR Gap Ack block start */
- uint16_t end; /* NR Gap Ack block end */
-} SCTP_PACKED;
-
struct sctp_nr_sack {
uint32_t cum_tsn_ack; /* cumulative TSN Ack */
uint32_t a_rwnd; /* updated a_rwnd of sender */
@@ -299,7 +292,6 @@ struct sctp_nr_sack {
uint16_t num_dup_tsns; /* number of duplicate TSNs */
uint16_t reserved; /* not currently used */
/* struct sctp_gap_ack_block's follow */
- /* struct sctp_nr_gap_ack_block's follow */
/* uint32_t duplicate_tsn's follow */
} SCTP_PACKED;