diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-08-22 20:08:50 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-08-22 20:08:50 +0000 |
commit | 5a4252e3c473170a493004da8e482390b54ddedd (patch) | |
tree | 300a64dfd6390b1eb5172ba04ae10a5d561e40cf /sys/netinet/sctp_sysctl.h | |
parent | 94e8309da0a98cd328fb5723308f6b1faaf4af51 (diff) | |
download | FreeBSD-src-5a4252e3c473170a493004da8e482390b54ddedd.zip FreeBSD-src-5a4252e3c473170a493004da8e482390b54ddedd.tar.gz |
MFC r269481:
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.
Diffstat (limited to 'sys/netinet/sctp_sysctl.h')
-rw-r--r-- | sys/netinet/sctp_sysctl.h | 6 |
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" |