R: Userspace <-> communication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Have you tried to use netfilter hooks?
 
sp0nge

________________________________

Da: kernelnewbies-bounce@xxxxxxxxxxxx per conto di Jinesh K J
Inviato: mer 11/10/2006 14.58
A: Jesper Juhl
Cc: kernelnewbies
Oggetto: Re: Userspace <-> communication



On 10/11/06, Jesper Juhl <jesper.juhl@xxxxxxxxx> wrote:
> You asked for ways that userspace and kernelspace can communicate and
> syscalls is one such way.
>

This is my requirement. I need to capture the data from an NIC.
Instead of pushing it into the network stack, I'll make it to store
them in a kernel ring buffer. From that buffer, a user space
application will read the raw packet, do the necessary processing and
send it back. As you can see I'm looking towards to transfer chunks of
data to and from userspace.

So, which method does suit well here?

Jinesh.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/

--
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux