Re: Using netlink for kernel -> userspace communication

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

 



Tan, Chiang Kang  (Chiang.Tan@xxxxxxxxxxxxxxx) wrote:
> Hi all,
> 	Actually I have this problem, which is more fundamental really. I 
> wanted to create a new message to send to the userspace. However everytime
> I try to do so, using netlink_unicast, 0 bytes is sent. The listening
> userspace application (using recvmsg) confirms that 0 bytes is received,
> so I think a message IS sent from the kernel, but I don't understand why
> I'm unable to send the entire message properly. Below is the code

Perhaps, it can help you :

	http://www.linux.it/~belch/kernelzone/knetlog-stat-patch.diff

Have a nice day,

				- Christophe (clucas@xxxxxxxxxxxxx)

--
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