[PATCH] Allow getaddrinfo() to accept SCTP socket types in hints
Sridhar Samudrala
sri@us.ibm.com
Wed Oct 18 21:40:00 GMT 2006
On Wed, 2006-10-18 at 12:32 -0700, Ulrich Drepper wrote:
> Sridhar Samudrala wrote:
> > SCTP has been supported in linux kernel for quite some time and the
> > 2 styles of SCTP sockets are defined in the following SCTP sockets API
> > extension draft.
>
> Last time I asked I was told to not even think about adding the sctp
> functionality which currently resides in libsctp. Therefore I'm also
> reluctant to add this patch especially since the cost to existing
> programs is nonzero. Suddenly all programs which don't specify a
> protocol in the getaddrinfo call also get the sctp reply. And those are
> not really useful unless the entire SCTP API is available.
The SCTP API is currently available to the users via libsctp in
lksctp-tools package and is included in all the major linux
distributions including RHEL, SLES, Fedora etc.
So SCTP API is available to users although not via glibc.
This problem was reported by netperf maintainer when adding
SCTP support.
Thanks
Sridhar
More information about the Libc-alpha
mailing list