This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Allow getaddrinfo() to accept SCTP socket types in hints
- From: Sridhar Samudrala <sri at us dot ibm dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libc-alpha at sourceware dot org, lksctp-developers at lists dot sourceforge dot net, rick dot jones2 at hp dot com
- Date: Wed, 18 Oct 2006 14:35:49 -0700
- Subject: Re: [PATCH] Allow getaddrinfo() to accept SCTP socket types in hints
- References: <1161129272.21091.7.camel@w-sridhar2.beaverton.ibm.com> <4536813D.6030005@redhat.com>
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