Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 11:38:28 +0200
From:      Niels Heinen <niels.heinen@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Copy data from kernel to user space memory
Message-ID:  <dea572790409230238858640@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm working on a kernel module that I want to use to copy packet
data, obtained trough the phil hooks, to user space memory.

The module buffers packets and currently copies it into user memory
when its system call interface is used.  At the moment my user space 
application is the one that allocates the memory. I want the memory 
to be allocated by the module in order to make things more efficient.

I'd really appriciate it if someone could explain how this should be done

Thanks in advance,

Niels



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dea572790409230238858640>