mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
sctp: add stream reconf primitive
This patch is to add a primitive based on sctp primitive frame for sending stream reconf request. It works as the other primitives, and create a SCTP_CMD_REPLY command to send the request chunk out. sctp_primitive_RECONF would be the api to send a reconf request chunk. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7b9438de0c
commit
7a090b0452
6 changed files with 41 additions and 1 deletions
|
@ -114,9 +114,10 @@ typedef enum {
|
|||
SCTP_PRIMITIVE_SEND,
|
||||
SCTP_PRIMITIVE_REQUESTHEARTBEAT,
|
||||
SCTP_PRIMITIVE_ASCONF,
|
||||
SCTP_PRIMITIVE_RECONF,
|
||||
} sctp_event_primitive_t;
|
||||
|
||||
#define SCTP_EVENT_PRIMITIVE_MAX SCTP_PRIMITIVE_ASCONF
|
||||
#define SCTP_EVENT_PRIMITIVE_MAX SCTP_PRIMITIVE_RECONF
|
||||
#define SCTP_NUM_PRIMITIVE_TYPES (SCTP_EVENT_PRIMITIVE_MAX + 1)
|
||||
|
||||
/* We define here a utility type for manipulating subtypes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue