netlink sockets

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

 



Hi guys,

I am working on a kernel module which needs to transfer information
between user space and the kernel. I was referring to a linux journal
article (http://www.linuxjournal.com/article/7356).

I am using netlink_unicast to copy a series of strings (<=80bytes) to
user space. I am stuck after a few calls. The code I used is almost
similar to that in the linux journal article. The user space program
will wait at recvmsg for the message.

Is there anything that I am suppose to do but it was not mentioned in
the article?

Many thanks for any advices!
-- 
cheers,
jonathan khoo

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