diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-03-05 20:44:20 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-07 10:55:29 -0500 |
commit | 4910280503f3af2857d5aa77e35b22d93a8960a8 (patch) | |
tree | 68a902b5dcfd1b1e8a9b5ba97581666b8c58652b /include/uapi/linux/sctp.h | |
parent | 2c0dbaa0c43d04d8d6daf52adb724c5789676b15 (diff) | |
download | op-kernel-dev-4910280503f3af2857d5aa77e35b22d93a8960a8.zip op-kernel-dev-4910280503f3af2857d5aa77e35b22d93a8960a8.tar.gz |
sctp: add support for snd flag SCTP_SENDALL process in sendmsg
This patch is to add support for snd flag SCTP_SENDALL process
in sendmsg, as described in section 5.3.4 of RFC6458.
With this flag, you can send the same data to all the asocs of
this sk once.
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/uapi/linux/sctp.h')
-rw-r--r-- | include/uapi/linux/sctp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index a1bc350..e94b6d2 100644 --- a/include/uapi/linux/sctp.h +++ b/include/uapi/linux/sctp.h @@ -284,6 +284,8 @@ enum sctp_sinfo_flags { SCTP_ADDR_OVER = (1 << 1), /* Override the primary destination. */ SCTP_ABORT = (1 << 2), /* Send an ABORT message to the peer. */ SCTP_SACK_IMMEDIATELY = (1 << 3), /* SACK should be sent without delay. */ + /* 2 bits here have been used by SCTP_PR_SCTP_MASK */ + SCTP_SENDALL = (1 << 6), SCTP_NOTIFICATION = MSG_NOTIFICATION, /* Next message is not user msg but notification. */ SCTP_EOF = MSG_FIN, /* Initiate graceful shutdown process. */ }; |