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.
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -115,6 +115,7 @@ typedef __s32 sctp_assoc_t; · 114 unmodified lines | ||
| 115 | 115 | #define SCTP_PR_SUPPORTED 113 |
| 116 | 116 | #define SCTP_DEFAULT_PRINFO 114 |
| 117 | 117 | #define SCTP_PR_ASSOC_STATUS 115 |
| 118 | +#define SCTP_PR_STREAM_STATUS 116 | |
| 118 | 119 | #define SCTP_RECONFIG_SUPPORTED 117 |
| 119 | 120 | #define SCTP_ENABLE_STREAM_RESET 118 |
| 120 | 121 | #define SCTP_RESET_STREAMS 119 |