network interface names

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Apr 21 20:42:00 GMT 2006


On Apr 21 13:49, Ian wrote:
> How does cygwin's eth(whatever) relate to the windows interface names?

Grab the Cygwin sources, unpack and have a look into the file
winsup/cygwin/net.cc, functions get_2k_ifconf, get_nt_ifconf and
get_95_ifconf.  It's basically just enumerating as the interfaces
come along, using either direct registry access or the GetIpAddrTable
function.  Should be pretty simple to read.


Corinna

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list