[Click] User and Kernel communication

Eddie Kohler kohler at cs.ucla.edu
Sun Mar 26 02:40:15 EST 2006


Yes.  Click calls these ioctls LLRPCs; see etc/samplellrpc.

Eddie


Ramanathan Palaniappan wrote:
> Hi,
> 
> Can i use "ioctl" style function calls from a user program to communicate
> with the click kernel module ?
> 
> Thanks,
> Ramanathan
> 
> On 3/24/06, Beyers Cronje <bcronje at gmail.com> wrote:
> 
>>Hi Ramanathan,
>>
>>To communicate from click kernel to userlevel use ToHost or
>>ToHostSniffers. Comms from userlevel to click kernel is slighty more complex
>>and can be established with FromHost element
>>http://www.read.cs.ucla.edu/click/elements/fromhost or via read/write
>>handlers depending on what info you want to communcate.
>>
>>There might be other ways but I'm not familiar with them.
>>
>>Beyers
>>
>>
>>On 3/24/06, Ramanathan Palaniappan <ramwisc at gmail.com> wrote:
>>
>>
>>>Hi,
>>
>>I am writing a click element that periodically, has to process packets and
>>cluster them into separate groups based on some metric. The clustering
>>code
>>is already available but the problem is that it makes heavy use of C++ STL
>>
>>libraries and hence, is unusable within the kernel. I am planning to have
>>the clustering module as it is in user space and I am trying to establish
>>communication between click in kernel mode and the clustering module (in
>>user space).  The data transfer has to take place in both the directions.
>>What is the best way to do it ? Any suggestions would be greatly
>>appreciated.
>>
>>Thanks,
>>Ramanathan
>>_______________________________________________
>>click mailing list
>>click at amsterdam.lcs.mit.edu
>>https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
>>
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list