1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite,

and SCTP.
This commit is contained in:
Ulrich Drepper
2008-05-14 17:55:57 +00:00
parent 372bfcac73
commit 18a74157a6
3 changed files with 10 additions and 3 deletions

View File

@ -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, "" }