History

sctp: add get and set sockopt for reconf_enable

This patchset is to add SCTP_RECONFIG_SUPPORTED sockopt, it would set and get asoc reconf_enable value when asoc_id is set, or it would set and get ep reconf_enalbe value if asoc_id is 0. It is also to add sysctl interface for users to set the default value for reconf_enable. After this patch, stream reconf will work.

Xin Long committed 9 years ago

Commit c0d8bab1 parent 11ae76e3 files · +89 −0Browse files

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

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t