]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: add support for PR-SCTP Information for sendmsg
authorXin Long <lucien.xin@gmail.com>
Mon, 5 Mar 2018 12:44:18 +0000 (20:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Mar 2018 15:55:29 +0000 (10:55 -0500)
commit906274df391f8717f6ba69b92ddda692aef79efa
tree15f0e055a67fa53ab73711c95b25c2483bcca5a3
parent72b7114118d53069f3b16ad08432669f986d7f55
sctp: add support for PR-SCTP Information for sendmsg

This patch is to add support for PR-SCTP Information for sendmsg,
as described in section 5.3.7 of RFC6458.

With this option, you can specify pr_policy and pr_value for user
data in sendmsg.

It's also a necessary send info for sctp_sendv.

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/net/sctp/structs.h
include/uapi/linux/sctp.h
net/sctp/socket.c