LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Location of ip_vs.h

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Location of ip_vs.h
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Tue, 6 May 2003 23:06:47 +0800 (CST)

Hi,

On Tue, 6 May 2003, Jeremy Kerr wrote:

> Hi all,
> 
> I'm having a problem with header files - feedbackd requires libipvs.h, which 
> in turn requires ip_vs.h. The problem is that the location of this file 
> depends on how people are installing the kernel patch:
> 
> With the single kernel patch, the file ends up in /usr/src/linux/include/net/
> 
> With the tarball (and instructions provided), the file ends up in 
> /usr/src/linux/net/ipv4/.
> 
> I've also noticed that all of the tarball ipvs kernel source files have the 
> following:
> 
> #include "ip_vs.h"
> /* #include <net/ip_vs.h> */
> 
> Which would seem to indicate that the location of these headers has changed 
> (to /net/ipv4) previously. Where should I be looking for them? Is it okay to 

It is recommended to use the single kernel patch and look for ip_vs.h
under the linux/include/net/ directory.

> get the file installed to include/net and then use the second form of include 
> (<net/ipvs.h>) ? If so, I'll write up a quick patch..
> 

In the ipvs-1.0.8 tar ball, the Makefile under the top directory can help 
apply the patches and copy the files to the kernel source by the command 
"make patchkernel" and "make installsource", which I often use to make the 
single kernel patch.

Regards,

Wensong

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