Writing Data from Kernel Space to User Space.

Writing Data from Kernel Space to User Space.

Post by Ramesh » Fri, 01 Feb 2002 15:37:16



Hello All.

I am required to write some data from
Kernel Space to User Space, (write
some data from within a NIC Driver to
a user application).

The write would be basically for every 'x' frames
received on the NIC Card. The user application
needs to capture the data and update a few fields in a
structure in the kernel address space, This would be
read by the Driver and processed.

Kindly let me know how to go about achieving this.

Thanks & Regards.

Ramesh

 
 
 

1. Writing data from Kernel to a data file in user space

HI...

Could you please help me with this. I wrote a driver to screen IP
packets. Now I need to collect some data and put them in a file so that
I can do the analysis on them later.

I've tried with a simple file writing technique, my driver can't open
it. I'm using Solaris 2.6 but later I'll move my application to Solaris
2.8 for IPv6.

Thanks for noticing my problem.

Hadee

2. y2k APAR IX81293 installp problems

3. Help: Problem accessing a massive RAID array (partition table problem)

4. How do I install mixers???

5. exchange data from user space to kernel space

6. Congress making it difficult for computer professionals

7. Kernel space to user space

8. kernel space access to user space functions

9. Kernel space <-> User space

10. User space to kernel space addr translation?

11. user-space <-> kernel-space