Re: what is net-pf-17?

Richard Guy Briggs (rgb@conscoop.ottawa.on.ca)
Fri, 6 Aug 1999 13:02:56 -0400 (EDT)


-----BEGIN PGP SIGNED MESSAGE-----

> >I know that one is kernel-internal and one is userspace. Thanks for
> >pointing out its renaming, I was not aware of this. Why is this
> >information not combined and put in /usr/include/net/socket.h where
> >both domains can see it? It is shared information.
>
> The /usr/include/net directory is not shared between kernel and libc
> on modern systems.
>
> It would be possible to split those definitions out into a new
> <linux/something> header from where both linux/socket.h and
> bits/socket.h could use them, but that would introduce extra
> versioning interdependencies between kernel and libc, and to be
> honest it doesn't hurt all that much to maintain two copies.

It doesn't hurt, except when I find it is already defined in one place
as 15 (kernel) and in the other place as 18 (userland) and the only
way I figure it out is to start instrumenting things to find out what
values it picked up for various macros only to discover that the same
macro has a completely different value in the kernel scope than it
does in userland scope...sigh.

> p.

slainte mhath, RGB
- --
The first Ottawa Linux Symposium was a huge success! <ottawalinuxsymposium.org>
This SunRayce was a wet one! DroughtRelief_99? -- <www.sunrayce.com/sunrayce/>
Richard Guy Briggs -- PGP key available Auto-Free Ottawa! Canada
<http://www.conscoop.ottawa.on.ca/rgb/> </www.flora.org/afo/>
Prevent Internet Wiretapping! -- FreeS/WAN:<www.xs4all.nl/~freeswan>
Thanks for voting Green! -- <green.ca> Marillion:<www.marillion.co.uk>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBN6sVPd+sBuIhFagtAQE6tAQAjt5BcJdzOsg8ba09iOLEfmOJiERquMAo
jorQ95Cq/rJLlDWE3fTysXDYAnw7oz7JQbEpp08jj90FbtRpmroK6ArqlzxUSoDP
ZnarmSI0ZbF9dfuQPnSZojc+WeDvwymnORlsOd9KIQwfKSs/jsTUN179vAUK/XqJ
duzKBKv1tB8=
=yc+C
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/