[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201308260126.06626.vapier@gentoo.org>
Date: Mon, 26 Aug 2013 01:26:04 -0400
From: Mike Frysinger <vapier@...too.org>
To: libc-alpha@...rceware.org
Cc: Cong Wang <amwang@...hat.com>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Thomas Backlund <tmb@...eia.org>,
YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>,
"Carlos O'Donell" <carlos@...hat.com>
Subject: Re: [GLIBC Patch v2] inet: avoid redefinition of some structs in kernel
On Thursday 15 August 2013 05:28:11 Cong Wang wrote:
> From: Carlos O'Donell <carlos@...hat.com>
>
> - Synchronize linux's `include/uapi/linux/in6.h'
> with glibc's `inet/netinet/in.h'.
> - Synchronize glibc's `inet/netinet/in.h with linux's
> `include/uapi/linux/in6.h'.
> - Allow including the headers in either other.
> - First header included defines the structures and macros.
>
> Notes:
> - You want netinet/in.h to include bits/in.h as early as possible,
> but it needs in_addr so define in_addr early.
> - You want bits/in.h included as early as possible so you can use
> the linux specific code to define __USE_KERNEL_DEFS based on
> the _UAPI_* macro definition and use those to cull in.h.
> - glibc was missing IPPROTO_MH, added here.
can we get something better documented here in a central location ? having
the names laid out in a git commit message and in a few leaf headers does not
lend itself to being easily discoverable.
-mike
Download attachment "signature.asc " of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists