Displaying 2 results from an estimated 2 matches for "ipproto_sctp".
2004 Oct 20
3
iproute2-2.6.9-041019 compiling error
While compiling the new release i´ll get this error:
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include
-DRESOLVE_HOSTNAMES -c -o ipxfrm.o ipxfrm.c
ipxfrm.c: In function `xfrm_selector_print'':
ipxfrm.c:395: error: `IPPROTO_SCTP'' undeclared (first use in this function)
ipxfrm.c:395: error: (Each undeclared identifier is reported only once
ipxfrm.c:395: error: for each function it appears in.)
ipxfrm.c: In function `xfrm_selector_upspec_parse'':
ipxfrm.c:790: error: `IPPROTO_SCTP'' undeclared (first...
2014 Feb 10
0
[PATCH] Basic SCTP support for OpenSSH client and server
...+++
11 files changed, 144 insertions(+), 15 deletions(-)
diff --git a/configure.ac b/configure.ac
index a350a2a..42438b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2867,6 +2867,33 @@ if test "x$PAM_MSG" = "xyes" ; then
])
fi
+# Check for SCTP support
+AC_CHECK_DECL([IPPROTO_SCTP], [have_sctp=yes], , [
+ #include <netinet/in.h>
+ #include <netinet/sctp.h>
+])
+
+SCTP_MSG="$have_sctp"
+AC_ARG_WITH([sctp],
+ [ --with-sctp Enable SCTP support ],
+ [
+ if test "x$withval" != "xno" ; then
+ SCTP_MSG="yes"
+ els...