sctp: add support for generating stream reconf add incoming/outgoing streams request...
authorXin Long <lucien.xin@gmail.com>
Wed, 8 Feb 2017 17:18:19 +0000 (01:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Feb 2017 21:57:38 +0000 (16:57 -0500)
commit78098117f8bfad4f2104c3f7b6b69071af95a246
tree44a7411a635afc5a239240458938c667dbff2ade
parenta92ce1a42dde1caaee4afae67531e3e7acecf6e4
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>
include/linux/sctp.h
include/net/sctp/sm.h
net/sctp/sm_make_chunk.c