summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp.h
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2014-08-22 20:26:20 +0000
committertuexen <tuexen@FreeBSD.org>2014-08-22 20:26:20 +0000
commit9db28b75f0aec8ddfe352de0c5b8e13dd51c5cb1 (patch)
tree64ab7500bf3f6439dd3918dce4d107163abc3e86 /sys/netinet/sctp.h
parentfcd4ba9eaabfa53f01ae9c54fc6bdbfd9a91ffa1 (diff)
downloadFreeBSD-src-9db28b75f0aec8ddfe352de0c5b8e13dd51c5cb1.zip
FreeBSD-src-9db28b75f0aec8ddfe352de0c5b8e13dd51c5cb1.tar.gz
MFC r269945:
Add support for the SCTP_PR_STREAM_STATUS and SCTP_PR_ASSOC_STATUS socket options. This includes managing the correspoing stat counters. Add the SCTP_DETAILED_STR_STATS kernel option to control per policy counters on every stream. The default is off and only an aggregated counter is available. This is sufficient for the RTCWeb usecase.
Diffstat (limited to 'sys/netinet/sctp.h')
-rw-r--r--sys/netinet/sctp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/sctp.h b/sys/netinet/sctp.h
index c2497a7..9b795ed 100644
--- a/sys/netinet/sctp.h
+++ b/sys/netinet/sctp.h
@@ -140,6 +140,8 @@ struct sctp_paramhdr {
#define SCTP_GET_ASSOC_NUMBER 0x00000104 /* ro */
#define SCTP_GET_ASSOC_ID_LIST 0x00000105 /* ro */
#define SCTP_TIMEOUTS 0x00000106
+#define SCTP_PR_STREAM_STATUS 0x00000107
+#define SCTP_PR_ASSOC_STATUS 0x00000108
/*
* user socket options: BSD implementation specific
OpenPOWER on IntegriCloud