netlink nlmsg_type interpretation

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

 



Hi everyone
I've read (in the man page netlink (7)) that the nlmsg_type must be one of the types : NLMSG_NOOP, NLMSG_ERROR, NLMSG_DONE but It was written (int the Linux journal http://www.linuxjournal.com/node/7356/print) that the nlmsg_type is a user specified tag and it's opaque to the netlink core the man page is dated 1999 and the Linux journal article is dated 2005 ..is the man page out dated or the article isn't right ? can i use nlmsg_type as a user defined tag ? and in case that the nlmsg_type is really a user defined tag where should i check if the received message is a multipart one or this header is the last one (this is checked via the NLMSG_DONE whcih must set in nlmsg_type)
Thanks previously
MHD.


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