Skip to content

sctp: add support for some msg_control options from RFC6458

Xin Long linux-sctp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sctp: add support for PR-SCTP Information for sendmsginclude/net/sctp/structs.h include/uapi/linux/sctp.h net/sctp/socket.c+46 -11 reply
2/3sctp: add support for SCTP_DSTADDRV4/6 Information for sendmsginclude/net/sctp/structs.h include/uapi/linux/sctp.h net/sctp/socket.c+84 -04 replies
3/3sctp: add support for snd flag SCTP_SENDALL process in sendmsginclude/uapi/linux/sctp.h net/sctp/socket.c+33 -41 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMarcelo Ricardo Leitner
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] sctp: add support for some msg_control options from RFC6458

This patchset is to add support for 3 msg_control options described in RFC6458:

5.3.7. SCTP PR-SCTP Information Structure (SCTP_PRINFO) 5.3.9. SCTP Destination IPv4 Address Structure (SCTP_DSTADDRV4) 5.3.10. SCTP Destination IPv6 Address Structure (SCTP_DSTADDRV6)

one send flag described in RFC6458:

SCTP_SENDALL: This flag, if set, will cause a one-to-many style socket to send the message to all associations that are currently established on this socket. For the one-to- one style socket, this flag has no effect.

Note there is another msg_control option:

5.3.8. SCTP AUTH Information Structure (SCTP_AUTHINFO)

It's a little complicated, I will post it in another patchset after this.

Xin Long (3):
sctp: add support for PR-SCTP Information for sendmsg
sctp: add support for SCTP_DSTADDRV4/6 Information for sendmsg
sctp: add support for snd flag SCTP_SENDALL process in sendmsg

 include/net/sctp/structs.h |   2 +
 include/uapi/linux/sctp.h  |  23 ++++++++
 net/sctp/socket.c          | 143 +++++++++++++++++++++++++++++++++++++++++++--
 3 files changed, 163 insertions(+), 5 deletions(-)
Signature · 1 line
2.1.0