Difference in behaviour between getifaddrs() and ioctl(SIOCGIFCONF)

Matthias Andree matthias.andree@gmx.de
Thu Dec 2 20:09:00 GMT 2010


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



More information about the Cygwin mailing list