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: network interface names


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/


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