summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2010-05-12 16:10:33 +0000
committertuexen <tuexen@FreeBSD.org>2010-05-12 16:10:33 +0000
commit594aca58ad846418017ee3a6c20061f3887aee07 (patch)
tree22067af38eaf72db799fda9377f99e7d308fc895 /sys
parentaab3fb8917a2b130908440411a8d8ce31495eb38 (diff)
downloadFreeBSD-src-594aca58ad846418017ee3a6c20061f3887aee07.zip
FreeBSD-src-594aca58ad846418017ee3a6c20061f3887aee07.tar.gz
Get rid of unused constants.
MFC after: 3 days.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/sctp_constants.h8
-rw-r--r--sys/netinet/sctp_indata.c8
2 files changed, 0 insertions, 16 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h
index c9e399f..7eae677 100644
--- a/sys/netinet/sctp_constants.h
+++ b/sys/netinet/sctp_constants.h
@@ -361,14 +361,6 @@ __FBSDID("$FreeBSD$");
* hit this value) */
#define SCTP_DATAGRAM_RESEND 4
#define SCTP_DATAGRAM_ACKED 10010
-/* EY
- * If a tsn is nr-gapped, its first tagged as NR_MARKED and then NR_ACKED
- * When yet another nr-sack is received, if a particular TSN's sent tag
- * is observed to be NR_ACKED after gap-ack info is processed, this implies
- * that particular TSN is reneged
-*/
-#define SCTP_DATAGRAM_NR_ACKED 10020
-#define SCTP_DATAGRAM_NR_MARKED 20005
#define SCTP_DATAGRAM_MARKED 20010
#define SCTP_FORWARD_TSN_SKIP 30010
diff --git a/sys/netinet/sctp_indata.c b/sys/netinet/sctp_indata.c
index e1194c8..13b95ba 100644
--- a/sys/netinet/sctp_indata.c
+++ b/sys/netinet/sctp_indata.c
@@ -4917,14 +4917,6 @@ done_with_it:
if (tp1 != NULL) {
/* Peer revoked all dg's marked or acked */
TAILQ_FOREACH(tp1, &asoc->sent_queue, sctp_next) {
- /*
- * EY- maybe check only if it is nr_acked
- * nr_marked may not be possible
- */
- if ((tp1->sent == SCTP_DATAGRAM_NR_ACKED) ||
- (tp1->sent == SCTP_DATAGRAM_NR_MARKED)) {
- continue;
- }
if (tp1->sent == SCTP_DATAGRAM_ACKED) {
tp1->sent = SCTP_DATAGRAM_SENT;
if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FLIGHT_LOGGING_ENABLE) {
OpenPOWER on IntegriCloud