X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=ieqndlvMBF/EnnYJ
	P/oW8qsgVzmbaJgpLR4y4sOvw8MkEpWLak2ooDj5QeOMeKL1B6EXGnbmh5R4nefi
	8n9ePNI6WXUk4n0dSmGwhvdI/J2/z+ucPw8qDLWBkX4uuhyJ8YfH+2wkGDK/14z1
	CsHT+dDI4A3jbcYWfkM3mwPy8dk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=q2/XNHaW6JHVNtwXtO6qyl
	VThdI=; b=Tr90U9OxZPumHQ7pkKMjlbiSauWQXq+69W7qGmgDFkhYH9/cJcRaVe
	wZ4lfqVaYEDo5KEaM2gxRnlw5bDgdt2+lY6As7YfNUEdKrpZxIr4nZ465dSSe2v9
	2JHxft3uFl2hhRaDCgxaMFUk/9t5mnrOxS+FnuDFJwZNtpxoJEVGM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FILL_THIS_FORM_SHORT autolearn=ham version=3.3.2 spammy=fe80, Hx-languages-length:1113, Network, Area
X-HELO: mail-wm0-f45.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:subject:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-transfer-encoding;        bh=P0FI2Qo3p+vrubb8NrQ2vK0O/4EftFcP0GjWwOsM8kQ=;        b=LsPMsGwjatEp0Yoy45lXXoHZpF9hQVC7Xgesy7xVQ5chP+nrtFAf5DZwDaxM8+hz7u         HP8Y2L2zTprCFfatPSBPDlJJzyoltMdIASQ0wmfV9oBTOEEcFnqlCP3wvdGZKBcOpnBf         5mNSNcyURcA/q7UjMBAdo3SnmuuGjDLcM+UyYJVbQmqvUEWdhRXAp4W/qdaESrb4JjkH         9BnesVGW8/91q4t5qjHdJSE+HqjgMbXKyiWkYlJ28xoHCU3MeswLwhdQARBrtAgDgLww         l7/Aue2sh1l49rHj+QGci5tKwDYORp9YqDk9rAuhi4EYm9J5cqKM7cxbADl/QXNy+Ehp         eHjA==
X-Gm-Message-State: AOPr4FX3H8v83RA6Kn6YXsE75ZKE0VekOR4PeGCenxM5KsS8PYQHiMo7lnGKfFGOseKFJQ==
X-Received: by 10.28.31.73 with SMTP id f70mr4475824wmf.77.1463151608788;        Fri, 13 May 2016 08:00:08 -0700 (PDT)
Subject: Re: Interface friendly names for AF_INET6
To: cygwin@cygwin.com
References: <56E15638.5080906@gmail.com> <20160310133223.GB27354@calimero.vinschen.de> <20160310134903.GC27354@calimero.vinschen.de> <56E184F2.1050703@gmail.com> <20160310174131.GA19326@calimero.vinschen.de>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <56c2e582-0ef5-b313-cfdf-35d84620ea2c@gmail.com>
Date: Fri, 13 May 2016 17:00:03 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <20160310174131.GA19326@calimero.vinschen.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 10/03/2016 18:41, Corinna Vinschen wrote:
>>
>> I assume the ifall structures are not visible outside cygwin internal,
>> correct ?
>>
>> If so a ifall_data pointer should cover my current trial.
>
> Try the latest snapshot.  The ifa_data member now contains a pointer
> to a struct ifa_hwdata which is defined in <ifaddrs.h>.
>
>
> Thanks,
> Corinna
>

Hi Corinna,

thanks for it

$ ./get-interface-64.exe
internal_name:  {EC2ABB5C-42A8-431D-A133-8F4BE0F309AF}
  flags:         AF_INET6 up multicast
  address:       fe80::a479:1393:b7d0:fb25%18
  friendly_name: Local Area Connection 2

internal_name:  {EC2ABB5C-42A8-431D-A133-8F4BE0F309AF}
  flags:         AF_INET  up broadcast multicast
  address:       169.254.251.37
  friendly_name: Local Area Connection 2

internal_name:  {9213DBB8-80C6-4316-AA7A-EBF8AD7661E1}
  flags:         AF_INET6 up multicast
  address:       fe80::8c29:45f0:47fa:536%24
  friendly_name: Wireless Network Connection 3

internal_name:  {9213DBB8-80C6-4316-AA7A-EBF8AD7661E1}
  flags:         AF_INET  up broadcast multicast
  address:       169.254.5.54
  friendly_name: Wireless Network Connection 3
...

Regards
Marco

--
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

