chiark / gitweb /
core: socket options fix SCTP_NODELAY
authorSusant Sahani <ssahani@gmail.com>
Thu, 31 Dec 2015 06:35:57 +0000 (12:05 +0530)
committerSven Eden <yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:15 +0000 (15:22 +0200)
SCTP_NODELAY is diffrent to TCP_NODELAY.
Apply proper options in case of SCTP.

src/basic/missing.h

index a9871f680ac596d88a068ac6e0ace4d79faea611..af071bd37b7e873695e24e2bd00f4b643812e238 100644 (file)
 #define NETLINK_LIST_MEMBERSHIPS 9
 #endif
 
+#ifndef SOL_SCTP
+#define SOL_SCTP 132
+#endif
+
 #if !HAVE_DECL_PIVOT_ROOT
 static inline int pivot_root(const char *new_root, const char *put_old) {
         return syscall(SYS_pivot_root, new_root, put_old);