public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Interface friendly names for AF_INET6
Date: Fri, 20 May 2016 16:45:00 -0000	[thread overview]
Message-ID: <20160520164522.GE22065@calimero.vinschen.de> (raw)
In-Reply-To: <56c2e582-0ef5-b313-cfdf-35d84620ea2c@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1518 bytes --]

On May 13 17:00, Marco Atzeri wrote:
> 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
> ...

Glad it works as desired.


Thanks for your feedback,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-05-20 16:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 11:10 Marco Atzeri
2016-03-10 13:32 ` Corinna Vinschen
2016-03-10 13:49   ` Corinna Vinschen
2016-03-10 14:30     ` Marco Atzeri
2016-03-10 17:41       ` Corinna Vinschen
2016-05-13 15:00         ` Marco Atzeri
2016-05-20 16:45           ` Corinna Vinschen [this message]
2016-03-10 14:03 ` Corinna Vinschen
2016-03-10 14:35   ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160520164522.GE22065@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).