This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Interface friendly names for AF_INET6


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: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]