summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_sysctl.h
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2014-08-03 18:12:55 +0000
committertuexen <tuexen@FreeBSD.org>2014-08-03 18:12:55 +0000
commitff18393ff054f8f8f4779a04e260ff6549b44e78 (patch)
tree88dfe8df411bcdde9f67d745992545bd2736f499 /sys/netinet/sctp_sysctl.h
parent2399792c1722d8038876b8e9561d850e5c8719cc (diff)
downloadFreeBSD-src-ff18393ff054f8f8f4779a04e260ff6549b44e78.zip
FreeBSD-src-ff18393ff054f8f8f4779a04e260ff6549b44e78.tar.gz
Add support for the SCTP_PKTDROP_SUPPORTED socket option and
the corresponding sysctl variable. The default is off, since the specification is not an RFC yet. MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctp_sysctl.h')
-rw-r--r--sys/netinet/sctp_sysctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet/sctp_sysctl.h b/sys/netinet/sctp_sysctl.h
index 3f16279..741d031 100644
--- a/sys/netinet/sctp_sysctl.h
+++ b/sys/netinet/sctp_sysctl.h
@@ -47,6 +47,7 @@ struct sctp_sysctl {
uint32_t sctp_ecn_enable;
uint32_t sctp_pr_enable;
uint32_t sctp_nrsack_enable;
+ uint32_t sctp_pktdrop_enable;
uint32_t sctp_fr_max_burst_default;
uint32_t sctp_strict_sacks;
uint32_t sctp_peer_chunk_oh;
@@ -166,6 +167,11 @@ struct sctp_sysctl {
#define SCTPCTL_NRSACK_ENABLE_MAX 1
#define SCTPCTL_NRSACK_ENABLE_DEFAULT 0
+/* pktdrop_enable: Enable SCTP Packet Drop Reports */
+#define SCTPCTL_PKTDROP_ENABLE_DESC "Enable SCTP PKTDROP"
+#define SCTPCTL_PKTDROP_ENABLE_MIN 0
+#define SCTPCTL_PKTDROP_ENABLE_MAX 1
+#define SCTPCTL_PKTDROP_ENABLE_DEFAULT 0
/* strict_sacks: Enable SCTP Strict SACK checking */
#define SCTPCTL_STRICT_SACKS_DESC "Enable SCTP Strict SACK checking"
OpenPOWER on IntegriCloud