History

sctp: add SCTP_PR_STREAM_STATUS sockopt for prsctp

Before when implementing sctp prsctp, SCTP_PR_STREAM_STATUS wasn't added, as it needs to save abandoned_(un)sent for every stream. After sctp stream reconf is added in sctp, assoc has structure sctp_stream_out to save per stream info. This patch is to add SCTP_PR_STREAM_STATUS by putting the prsctp per stream statistics into sctp_stream_out. v1->v2: fix an indent issue.

Xin Long committed 9 years ago

Commit d229d481 parent cdccf745 files · +84 −2Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/sctp.h+1−0
@@ -115,6 +115,7 @@ typedef __s32 sctp_assoc_t; · 114 unmodified lines
115115 #define SCTP_PR_SUPPORTED 113
116116 #define SCTP_DEFAULT_PRINFO 114
117117 #define SCTP_PR_ASSOC_STATUS 115
118+#define SCTP_PR_STREAM_STATUS 116
118119 #define SCTP_RECONFIG_SUPPORTED 117
119120 #define SCTP_ENABLE_STREAM_RESET 118
120121 #define SCTP_RESET_STREAMS 119