From: Vlad Yasevich > On 06/20/2014 12:24 PM, David Laight wrote: > > If MSG_MORE is set then buffer sends as if Nagle were enabled. > > The first data chunk is still sent on its own, but subsequent chunks > > will be bundled and full packets sent. > > Full MSG_MORE support would require a timeout (preferably configurable > > per-socket) to send the last chunk(s), instead of sending them > > when there is nothing outstanding. > > > > Instead of using 1 and 2, can you define them as flags please Will do.... It is worth inverting nagle/nodelay bit; so that: 0 => SCTP_NODELAY 1 => Nagle (default) 2 => MSG_MORE 4 => reserved for corked That would require working out where the structure is initialised (in order to default to Nagle). David -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html