diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-08-13 15:50:16 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-08-13 15:50:16 +0000 |
commit | 4feb6f37e37b7cf04c00e2f473133d2c84cbd98d (patch) | |
tree | 56ba1ab2cd151e00d9e583b0403a82e964e640c6 /sys/netinet/sctp.h | |
parent | 4227b97b79226844909bda500b069a47161ac749 (diff) | |
download | FreeBSD-src-4feb6f37e37b7cf04c00e2f473133d2c84cbd98d.zip FreeBSD-src-4feb6f37e37b7cf04c00e2f473133d2c84cbd98d.tar.gz |
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.
MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctp.h')
-rw-r--r-- | sys/netinet/sctp.h | 2 |
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 |