]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: introduce sctp_chunk_stream_no
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Tue, 3 Oct 2017 22:20:12 +0000 (19:20 -0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Oct 2017 23:27:28 +0000 (16:27 -0700)
commitb9e9be00930266477b0ccc441ae3e40d701da17b
tree98a30357e60d4ec650318fd2c333636cfad8ef21
parentebe85f5c144768937861c6f20c1b98b1749049f5
sctp: introduce sctp_chunk_stream_no

Add a helper to fetch the stream number from a given chunk.

Tested-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h