This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


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

Re: Problem with 2 IPs



This is the output...

$ ./ls_netdev.exe
OS Version: Windows NT 5.0 Build 2195 Service Pack 2
Querying devices using ioctl
lo: family=TCP/IP (0) addr=127.0.0.1
eth0: family=TCP/IP (0) addr=10.10.3.100
ppp0: family=TCP/IP (0) addr=195.110.159.61
Querying devices using internal function
dwAddr=64030a0a
dwIndex=16777219
dwMask=000000ff
dwBCastAddr=00000001
dwReasmSize=65535
dwAddr=0100007f
dwIndex=1
dwMask=000000ff
dwBCastAddr=00000001
dwReasmSize=65535
dwAddr=0eb8a8c0
dwIndex=16777219
dwMask=00ffffff
dwBCastAddr=00000001
dwReasmSize=65535
dwAddr=3d9f6ec3
dwIndex=201326596
dwMask=ffffffff
dwBCastAddr=00000001
dwReasmSize=65535
wszName=
dwIndex=1
dwType=24
bDescr=MS TCP Loopback interface
wszName=
dwIndex=16777219
dwType=6
bDescr=FE575 Ethernet Adapter
wszName=
dwIndex=201326596
dwType=23
bDescr=WAN (PPP/SLIP) Interface
eth0: family=TCP/IP (0) addr=10.10.3.100
lo: family=TCP/IP (0) addr=127.0.0.1
eth1: family=TCP/IP (0) addr=192.168.184.14
ppp0: family=TCP/IP (0) addr=195.110.159.61

/G

PS: I am downloading all the source code from the xc directory...
as well as i got all the winsup/cygwin
can you tell me how to build the Xwin, and cygwin dll out of this huge tree
of code?


----- Original Message -----
From: "Alexander Gottwald" <alexander.gottwald@informatik.tu-chemnitz.de>
Cc: <cygwin-xfree@sources.redhat.com>
Sent: Monday, October 22, 2001 3:21 PM
Subject: Re: Problem with 2 IPs


> On Mon, 22 Oct 2001, Giorgio wrote:
> > This will get the IF table and the IP address table... ok.
> > But in *ordered* fashion! (3rd arg of GetIpAddrTable set to TRUE)
> > When you set this flag to FALSE, the Win API return the IP address
> > in the order they have been "logically" (NOT cronologically)  inserted
> > (this does not affect the loopback device which is listed as the last
IP).
> > Yet, in the structure returned by the Win API there is a field (the 6th)
> > that I think to be the "real" order including the loopback device (but
> > this one should be useless for this purpose).
>
> Any IP should get an own interface and X should find the correct IP.
>
> can you please check again with ls_netdev? I updated it and it now uses
> the modified code.
>
> bye
> ago
> --
>  Alexander.Gottwald@informatik.tu-chemnitz.de
>  http://www.gotti.org           ICQ: 126018723
>  phone: +49 3725 349 80 80 mobile: +49 172 7854017
>



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