LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: howto create sockets in kernel?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: howto create sockets in kernel?
From: Horms <horms@xxxxxxxxxxxx>
Date: Sun, 11 May 2003 14:33:04 +0900
On Sat, May 10, 2003 at 09:32:15PM -0700, Gujjar Vikas wrote:
> Hello
> 
> I am working on a graduation project to create a linux
> virtual server with tcp connection switching. I plan
> to implement varied alogrithms for balancing the load,
> and measure their performance... I am stuck at
> implementaion.. I cant open a socket connection in an
> kernel module.. can anyone help me with this??

Yes, this can be done. Take a look in ip_vs_sync.c in
the lvs tree for an example of how to do this.

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