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>
This commit is contained in:

committed by
David S. Miller

parent
a92ce1a42d
commit
78098117f8
@@ -267,6 +267,9 @@ struct sctp_chunk *sctp_make_strreset_req(
|
||||
bool out, bool in);
|
||||
struct sctp_chunk *sctp_make_strreset_tsnreq(
|
||||
const struct sctp_association *asoc);
|
||||
struct sctp_chunk *sctp_make_strreset_addstrm(
|
||||
const struct sctp_association *asoc,
|
||||
__u16 out, __u16 in);
|
||||
void sctp_chunk_assign_tsn(struct sctp_chunk *);
|
||||
void sctp_chunk_assign_ssn(struct sctp_chunk *);
|
||||
|
||||
|
Reference in New Issue
Block a user