top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Linux: Adding SCTP_SENDALL support

0 votes
393 views

I'd like to add SCTP_SENDALL support to the kernel and lksctp-tools to port a FreeBSD project to Linux. Does anyone have pointers on where to get started or who to talk to about this? Is there any reason it's not already implemented besides just no one doing the work yet?

posted Nov 20, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

SCTP_SENDALL is also an api from rfc6458, I think it's just not yet done in Linux.
I guess you have to do some adjustments in sctp_sendmsg, considering there is no sctp_iterator_work unlike in BSD.
I don't think we need to add some things in lkscp-tools to support this, as long as we update uapi sctp.h in our system.

answer Nov 20, 2016 by Parveen
Similar Questions
+4 votes

Are the values in /proc/sys/net/sctp/sctp_[rw]mem honored? Or are they overridden by those in /proc/sys/net/core/[rw]mem_*

Furthermore, the kernel documentation states that sctp_wmem has no effect, but makes no such mention for sctp_mem and sctp_rmem.

+1 vote

It is found that IP X haven't replied heartbeat Ack to IP A but our client will not try another path B->Y. Would you advise how B->Y path can be enable?

lksctp client IP info:
Primary IP: A
Secondary IP: B

Server primary IP: X
Server secondary IP: Y

0 votes

I'm adding experimental support for UDP encapsulation of SCTP packets. I got most of if working well. However, I noticed a NULL pointer dereference in sctp_packet_transmit as I assumed that packet->transport->asoc weren't NULL so I tried to access tunneling information that I store in packet->transport->asoc->ep->base.

In what circumstances is assoc NULL in sctp_packet_transmit?

...