Files
kernel_arpi/include/uapi/linux
Geir Ola Vaagland 63b949382c net: sctp: implement rfc6458, 5.3.4. SCTP_SNDINFO cmsg support
This patch implements section 5.3.4. of RFC6458, that is, support
for 'SCTP Send Information Structure' (SCTP_SNDINFO) which can be
placed into ancillary data cmsghdr structure for sendmsg() calls.

The sctp_sndinfo structure is defined as per RFC as below ...

  struct sctp_sndinfo {
    uint16_t snd_sid;
    uint16_t snd_flags;
    uint32_t snd_ppid;
    uint32_t snd_context;
    sctp_assoc_t snd_assoc_id;
  };

... and supplied under cmsg_level IPPROTO_SCTP, cmsg_type
SCTP_SNDINFO, while cmsg_data[] contains struct sctp_sndinfo.
An sctp_sndinfo item always corresponds to the data in msg_iov.

Joint work with Daniel Borkmann.

Signed-off-by: Geir Ola Vaagland <geirola@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-16 14:40:03 -07:00
..
2014-05-08 12:43:03 -04:00
2014-03-20 14:55:18 +01:00
2014-04-22 21:27:57 -04:00
2014-04-01 17:08:43 +02:00
2014-04-28 16:43:44 +02:00
2014-05-14 10:04:34 +01:00
2014-03-04 13:51:06 -05:00
2014-06-13 10:53:49 -04:00
2014-03-21 14:21:13 -04:00
2014-04-25 10:08:48 -07:00
2014-04-24 16:16:33 -07:00
2014-04-26 12:13:24 -04:00
2014-03-07 08:12:37 +01:00