summaryrefslogtreecommitdiffstats
path: root/include/net/sctp
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2018-03-05 20:44:18 +0800
committerDavid S. Miller <davem@davemloft.net>2018-03-07 10:55:29 -0500
commited63afb8a318f6b3558d76afba7809daee4f28e5 (patch)
tree15f0e055a67fa53ab73711c95b25c2483bcca5a3 /include/net/sctp
parent5c3d0fd4b2c047cedb1cbdad6e2d6bc9abfec256 (diff)
downloadlinux-0-day-ed63afb8a318f6b3558d76afba7809daee4f28e5.tar.gz
linux-0-day-ed63afb8a318f6b3558d76afba7809daee4f28e5.tar.xz
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>
Diffstat (limited to 'include/net/sctp')
-rw-r--r--include/net/sctp/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 03e92dda1813b..d40a2a329888e 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -2112,6 +2112,7 @@ struct sctp_cmsgs {
struct sctp_initmsg *init;
struct sctp_sndrcvinfo *srinfo;
struct sctp_sndinfo *sinfo;
+ struct sctp_prinfo *prinfo;
};
/* Structure for tracking memory objects */