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 10/03/2016 15:03, Corinna Vinschen wrote:
On Mar 10 12:10, Marco Atzeri wrote:
I am trying to put a small interface info tool
to debug some hangs reported on openmpi.

The aim is to produce something like

{9F4F7FD2-5E44-4796-ABE0-0785CF76C11E} AF_INET6 (23)
         flags: up running multicast
         address: <fe80::9953:b1f5:a643:4497%15>
         Local Area Connection
{9F4F7FD2-5E44-4796-ABE0-0785CF76C11E} AF_INET (2)
         flags: up broadcast running multicast
         address: <>
         Local Area Connection

I am using getifaddrs to obtain all the AF_INET and AF_INET6
interface, however I can only obtain the friendly name of the
AF_INET using

On my pc I see 20 interface, 10 for each type, however
only 7 couples shares the same "ifa_name" the others
3+3 shows different ones.

Btw., don't use the friendly names to distinguish interfaces.  Only the
real, GUID-like interface name is a valid, unique identifier under


That I know, however If I should advise a user to disable by control panel a virtual interface I can not use the

  "Local Area Connection"
should work ...

Problem reports:
Unsubscribe info:

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