summaryrefslogtreecommitdiffstats
path: root/include/net/sctp
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2018-03-05 13:44:19 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-07 16:55:29 +0100
commit2c0dbaa0c43d04d8d6daf52adb724c5789676b15 (patch)
tree25131ece7f234a780ca62789f1028c96fa73e06c /include/net/sctp
parentsctp: add support for PR-SCTP Information for sendmsg (diff)
downloadlinux-2c0dbaa0c43d04d8d6daf52adb724c5789676b15.tar.xz
linux-2c0dbaa0c43d04d8d6daf52adb724c5789676b15.zip
sctp: add support for SCTP_DSTADDRV4/6 Information for sendmsg
This patch is to add support for Destination IPv4/6 Address options for sendmsg, as described in section 5.3.9/10 of RFC6458. With this option, you can provide more than one destination addrs to sendmsg when creating asoc, like sctp_connectx. 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 d40a2a329888..ec6e46b7e119 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -2113,6 +2113,7 @@ struct sctp_cmsgs {
struct sctp_sndrcvinfo *srinfo;
struct sctp_sndinfo *sinfo;
struct sctp_prinfo *prinfo;
+ struct msghdr *addrs_msg;
};
/* Structure for tracking memory objects */