From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8003 invoked by alias); 12 May 2003 10:13:39 -0000 Mailing-List: contact ecos-cvs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Post: List-Help: , Sender: ecos-cvs-owner@sources.redhat.com List-Subscribe: Received: (qmail 7978 invoked by uid 9341); 12 May 2003 10:13:39 -0000 Date: Mon, 12 May 2003 10:13:00 -0000 Message-ID: <20030512101339.7974.qmail@sources.redhat.com> From: asl@sources.redhat.com To: ecos-cvs@sources.redhat.com Subject: ecos-opt/net/net/common/current ChangeLog incl ... X-SW-Source: 2003/txt/msg00855.txt.bz2 List-Id: CVSROOT: /cvs/ecos Module name: ecos-opt Changes by: asl@sourceware.org 2003-05-12 10:13:38 Modified files: net/net/common/current: ChangeLog net/net/common/current/include/net: netdb.h net/net/common/current/src: getaddrinfo.c ifaddrs.c ipv6_routing_thread.c network_support.c tftp_client.c tftp_server.c net/net/common/current/tests: addr_test.c ga_server_test.c Log message: * src/ifaddrs.c (getifaddrs): Fill in flags, netmask and broadcast addresses, for both IPv4 and IPv6 and enabled. * src/ipv6_routing_thread.c (ipv6_start_routing_thread): Only start the thread once. * src/getaddrinfo.c (getaddrinfo): Correctly return TCP when it is! * tests/addr_test.c (net_test): Added a test which uses protocol TCP * src/tftp_client.c (tftp_get): If we timeout on the first block, try other addresses for the server if we have any. * src/network_support.c (init_all_network_interfaces): After router solicitation has given us an address, wait a couple of seconds for duplicate address detection to do its work. While DAD is active, we cannot use the new address. * src/tftp_client.c (tftp_client_put): Fixed compiler warning. * src/getaddrinfo.c (getnameinfo): Fixed some endian issues with port numbers and a typo. Added an interface to the DNS client for reverse lookups. * tests/addr_test.c (net_test): Added tests for getnameinfo. Fixed some memory leaks. * src/getaddrinfo.c (getaddrinfo): Virtually a re-write to interface to the DNS client. * include/net/netdb.h: const correctness.