diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-02-09 01:18:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-09 16:57:38 -0500 |
commit | 78098117f8bfad4f2104c3f7b6b69071af95a246 (patch) | |
tree | 44a7411a635afc5a239240458938c667dbff2ade /include/linux/sctp.h | |
parent | a92ce1a42dde1caaee4afae67531e3e7acecf6e4 (diff) |
sctp: add support for generating stream reconf add incoming/outgoing streams request chunk
This patch is to define Add Incoming/Outgoing Streams Request
Parameter described in rfc6525 section 4.5 and 4.6. They can
be in one same chunk trunk as rfc6525 section 3.1-7 describes,
so make them in one function.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sctp.h')
-rw-r--r-- | include/linux/sctp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h index 71c0d41d9a59..b055788de0cf 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h @@ -742,4 +742,11 @@ struct sctp_strreset_tsnreq { __u32 request_seq; }; +struct sctp_strreset_addstrm { + sctp_paramhdr_t param_hdr; + __u32 request_seq; + __u16 number_of_streams; + __u16 reserved; +}; + #endif /* __LINUX_SCTP_H__ */ |