Copy data from kernel to user space memory

From: Niels Heinen (niels.heinen_at_gmail.com)
Date: 09/23/04

  • Next message: Andrey Simonenko: "Re: Copy data from kernel to user space memory"
    Date: Thu, 23 Sep 2004 11:38:28 +0200
    To: freebsd-hackers@freebsd.org
    
    

    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
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Andrey Simonenko: "Re: Copy data from kernel to user space memory"

    Relevant Pages