diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-05-14 17:55:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-05-14 17:55:57 +0000 |
commit | 18a74157a6048c4ff7156b9f45ca9e19c114dc4f (patch) | |
tree | 156ae1d1027e585cef0b1d2902cd42acbda7fb46 /sysdeps | |
parent | 372bfcac7303b226cfb376ff6a4bdda0eab09419 (diff) | |
download | glibc-18a74157a6048c4ff7156b9f45ca9e19c114dc4f.tar.gz glibc-18a74157a6048c4ff7156b9f45ca9e19c114dc4f.tar.xz glibc-18a74157a6048c4ff7156b9f45ca9e19c114dc4f.zip |
* sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite,
and SCTP.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 7548ddf6f0..0ae43938f8 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -117,6 +117,10 @@ static const struct gaih_typeproto gaih_inet_typeproto[] = #ifdef IPPROTO_UDPLITE { SOCK_DGRAM, IPPROTO_UDPLITE, 0, false, "udplite" }, #endif +#ifdef IPPROTO_SCTP + { SOCK_STREAM, IPPROTO_SCTP, 0, false, "sctp" }, + { SOCK_SEQPACKET, IPPROTO_SCTP, 0, false, "sctp" }, +#endif { SOCK_RAW, 0, GAI_PROTO_PROTOANY|GAI_PROTO_NOSERVICE, true, "raw" }, { 0, 0, 0, false, "" } }; |