History

sctp: add sockopt SCTP_AUTH_DEACTIVATE_KEY

This patch is to add sockopt SCTP_AUTH_DEACTIVATE_KEY, as described in section 8.3.4 of RFC6458. This set option indicates that the application will no longer send user messages using the indicated key identifier. Note that RFC requires that only deactivated keys that are no longer used by an association can be deleted, but for the backward compatibility, it is not to check deactivated when deleting or replacing one sh_key.

Xin Long committed 8 years ago

Commit 601590e1 parent 3ff547c4 files · +81 −9Browse files

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

Unified · Split

include/uapi/linux/sctp.h+1−0
@@ -99,6 +99,7 @@ typedef __s32 sctp_assoc_t; · 98 unmodified lines
9999 #define SCTP_RECVRCVINFO 32
100100 #define SCTP_RECVNXTINFO 33
101101 #define SCTP_DEFAULT_SNDINFO 34
102+#define SCTP_AUTH_DEACTIVATE_KEY 35
102103
103104 /* Internal Socket Options. Some of the sctp library functions are
104105 * implemented using these socket options.

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