X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4CF7FCFF.2040801@gmx.de> Date: Thu, 02 Dec 2010 21:09:35 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Difference in behaviour between getifaddrs() and ioctl(SIOCGIFCONF) References: <20101202114036 DOT GG30913 AT calimero DOT vinschen DOT de> <20101202133251 DOT GL30913 AT calimero DOT vinschen DOT de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Am 02.12.2010 18:54, schrieb Jason Curl: > Linux getifaddrs(): > * eth0 -> AF_INET > * eth0 -> AF_INET6 > > Cygwin getifaddrs(): > * {xxx} -> AF_INET6 > * {xxx}:1 -> AF_INET > > This is another reason why I think it could be architecturally simpler to just > have multiple records and to drop the interface indices all together of the form > ":1". Is there anything that mandates Linux/Solaris behaviour? Else you might as well argue with BSD which doesn't have these :N extensions. -- Matthias Andree -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple