Re: sk buffer to user space

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

 





On 12/21/06, vimal.raj <vimal.raj@xxxxxxxxxxxxxxxxxx> wrote:

Hi kernel experts,

        I'm a newbie to linux kernel.
I need to take the sk buffer and directly pass to the
application which is in the user space.

How can i do it (my project want to read data packets from driver and give
it to application without the help of socket mechanism.)  I saw that there
is a system call  skb_copy_datagram_iovec() which can be used to send skb to
userspace. Can i use it? Can anyone please help me by giving a procedure to
implement this...
you can use SOCK_PACKET option in socket system call, but i think its an obsolete way of doing,
just fyi.

Bye,
Krishna.

--
BLOG: http://gnubie.blogspot.com/
WEB  : http://freeshell.in/~krish


[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