From: Susant Sahani Date: Thu, 31 Dec 2015 06:35:57 +0000 (+0530) Subject: core: socket options fix SCTP_NODELAY X-Git-Tag: v229.1~1^2~75 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=48c58760469983eae011281623a6204d8b581d2f;p=elogind.git core: socket options fix SCTP_NODELAY SCTP_NODELAY is diffrent to TCP_NODELAY. Apply proper options in case of SCTP. --- diff --git a/src/basic/missing.h b/src/basic/missing.h index a9871f680..af071bd37 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -133,6 +133,10 @@ #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);