From 18a74157a6048c4ff7156b9f45ca9e19c114dc4f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 14 May 2008 17:55:57 +0000 Subject: * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite, and SCTP. --- sysdeps/posix/getaddrinfo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps/posix') 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 @@ -116,6 +116,10 @@ static const struct gaih_typeproto gaih_inet_typeproto[] = #endif #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, "" } -- cgit 1.4.1