This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Question for Corinna (was Re: Novice Question)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 1 Jul 2009 17:42:50 +0200
- Subject: Re: Question for Corinna (was Re: Novice Question)
- References: <loom.20090628T061132-540@post.gmane.org> <4A47AE0C.2020406@dronecode.org.uk> <4a47c674.29578c0a.7016.4a66@mx.google.com> <4A47D354.6060704@dronecode.org.uk> <4a488ba9.1f538c0a.1d28.ffff917c@mx.google.com> <4A48A0D8.4090300@dronecode.org.uk> <20090629145050.GF19123@ednor.casa.cgf.cx>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
On Jun 29 10:50, Christopher Faylor wrote:
> On Mon, Jun 29, 2009 at 12:09:12PM +0100, Jon TURNEY wrote:
> >Andy wrote:
> >> /opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
> >> os/access.c
> >> (gdb) p *ifr
> >> $1 = {ifa_next = 0x1447798, ifa_name = 0x14474c4
> >> "{B8B51884-C69A-4592-B65D-89ABB3DCF18D}", ifa_flags = 69635,
> >> ifa_addr = 0x14474f0, ifa_netmask = 0x14475f0, ifa_dstaddr = 0x0, ifa_data
> >> = 0x0}
> >
> >:-)
> >
> >It seems that the (new for Cygwin 1.7) getifaddr() function can return
> >interfaces with IFF_BROADCAST & IFF_UP set, but no broadcast address, which
> >the X server assumes never happens
>
> I was going to say that this sounds wrong but I see interfaces on my
> linux box which have no broadcast addresses but still have IFF_BROADCAST
> set.
>
> Corinna, what do you think?
Thanks for nudging me by PM. I didn't notice this question, sorry.
As for the broadcast address, you *have* to expect that an interface
is broadcast capable and the ifa_broadaddr pointer is NULL. This
is at least true for all IPv6 entries. For IPv4 that shouldn't occur
under Cygwin.
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://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/