Re: what is net-pf-17?

Philip Blundell (pb@nexus.co.uk)
Fri, 06 Aug 1999 17:06:45 +0100


>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.

p.

-
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/