Hi, I have been experimenting with SCTP protocol. I feld to compile one example from


but there is problem with SCTP_SENDALL through compiling in my Ubuntu with kelner 2.6.24-17-generic.

#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

#include <netinet/sctp.h>

/* send it back out to all associations */

bzero(&sinfo, sizeof(sinfo));
sinfo.sinfo_flags |= SCTP_SENDALL;

sctp_send(sockfd, buf, nread,// (struct sockaddr *) &client_addr, 1,
&sinfo, 0);

Notice by autor of example:
The SCTP_SENDALL flag has been introduced only recently into SCTP and is not in current kernels (up to, but it should make it into the 2.6.22 kernels.

My error:
‘SCTP_SENDALL’ undeclared (first use in this function)

Is possible to use this flag anyway in Ubuntu??

Thanks Tom