This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: network interface names
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 21 Apr 2006 22:39:20 +0200
- Subject: Re: network interface names
- References: <44491B3E.5090506@nrl.navy.mil>
- Reply-to: cygwin at cygwin dot com
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/