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: Difference in behaviour between getifaddrs() and ioctl(SIOCGIFCONF)


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


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