Skip to content

Commit

Permalink
* sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite,
Browse files Browse the repository at this point in the history
	and SCTP.
  • Loading branch information
Ulrich Drepper committed May 14, 2008
1 parent 372bfca commit 18a7415
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
2008-05-14 Ulrich Drepper <drepper@redhat.com>

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

* nss/getent.c (ahosts_keys_int): Handle all known socket types.

Expand Down
5 changes: 4 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GNU C Library NEWS -- history of user-visible changes. 2008-5-12
GNU C Library NEWS -- history of user-visible changes. 2008-5-14
Copyright (C) 1992-2007, 2008 Free Software Foundation, Inc.
See the end for copying conditions.

Expand All @@ -12,6 +12,9 @@ Version 2.9

* TLS descriptors for LD and GD on x86 and x86-64.
Implemented by Alexandre Oliva.

* getaddrinfo now handles DCCP and UDPlite.
Implemented by Ulrich Drepper.

Version 2.8

Expand Down
4 changes: 4 additions & 0 deletions sysdeps/posix/getaddrinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, "" }
Expand Down

0 comments on commit 18a7415

Please sign in to comment.