mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
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>
This commit is contained in:
parent
5c3d0fd4b2
commit
ed63afb8a3
3 changed files with 46 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue