netdev
[Top] [All Lists]

Re: /usr/src/linux/Documentation/networking/ifenslave.c

To: Mads Martin Jørgensen <mmj@xxxxxxx>
Subject: Re: /usr/src/linux/Documentation/networking/ifenslave.c
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 16 Jul 2003 05:42:55 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20030716092354.GC24077@xxxxxxx>
References: <20030716092354.GC24077@xxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 16 Jul 2003 11:23:54 +0200
Mads Martin Jørgensen <mmj@xxxxxxx> wrote:

> $SUBJECT is a userspace tool, but includes kernel headers. This small
> obvious patch against 2.6.0-test1 should fix it.

This patch is absolutely senseless, you eliminate two such includes

> -#include <linux/if.h>
> -#include <linux/if_arp.h>
> +#include <net/if_arp.h>

but three more still remain.

>  #include <linux/if_ether.h>
>  #include <linux/if_bonding.h>
>  #include <linux/sockios.h>

This whole anti-kernel-headers-in-userspace thing is a
total shamans dance and not founded in reality.

Quick, answer this as fast as you can, where in the glibc headers can
you get at the PFKEY and XFRM_NETLINK interface definitions to
configure IPSEC stuff in the kernel?

BZZT, time is up, and I know you have no answer :-)

That is why all of this is rediculious.


<Prev in Thread] Current Thread [Next in Thread>