Re: Solaris 2.6 and Linux

Alan Cox (
Mon, 29 Sep 1997 19:56:01 +0100 (BST)

> Heck, I'd settle for a *sane* /usr/include/netinet and /usr/include/net
> on Linux without the mbuf's. It is possible but it'd mean using BSD
> include files/header styles (which is too much to expect of a lot of
> Linux die-hards here). Everything is different and different to every

Not really. The POSIX 1003.1g work will settle almost all of that for good.
the glibc headers are very very close to the current draft and correctly
define things as void * and sa_family_t where needed.

In the IPv6 world there are sensible defined drafts for the interfaces
and header macros that should ensure the "BSD is the only unix" historical
accident for IPv4 - which basically gave us no formal definition of the
socket API and IPv4 interfaces will never re-occur. Hopefully anyway.

With glibc all the user include interfaces are seperated totally from kernel
space too, which means things like "BSD this" "BSD unusual macro blah" etc
can be added quite easily - Talk to Ulrich Drepper about those. Providing
it doesnt conflict with posix and single unix Im sure he'd be delighted to
have a real bsdhead like yourself pointing things out he may not have right.