[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IPv6 structs on MacOS X

From: Bruno Haible
Subject: IPv6 structs on MacOS X
Date: Wed, 15 Sep 2010 20:52:20 +0200
User-agent: KMail/1.9.9

Justin Clift wrote:
> If you can figure a way to address this OSX specific thing in gnulib at
> the same time, that would be nifty:
>    http://www.redhat.com/archives/libvir-list/2010-September/msg00248.html

This message talks about the unportability of a field 's6_addr32' in
'struct in6_addr'. Sure this is unportable: POSIX [1] specifies only the
presence of 's6_addr'.

I don't see why gnulib should support this: An application can perfectly
access the 16 bytes of the s6_addr[] array. Why would it need to access a
specific part of it in a special way?


[1] http://www.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]