public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* question on Netlink Socket
@ 2007-07-12 22:07 Jing Huang
  0 siblings, 0 replies; only message in thread
From: Jing Huang @ 2007-07-12 22:07 UTC (permalink / raw)
  To: linux-newbie

Is netlink socket can be used to replace any IOCTL, or it is mostly
for networking application?

I am thinking of using netlink socket as the management interface for
a driver I am working on. However, after some reading, my concern is I
will need to add a new netlink socket protocol type to the kernel
header file netlink.h. In that file, the maximum number of netlink
socket protocol type is limited to 32 with only about 16 left. So If
everybody is using netlink socket as a IOCTL replacement this number
can run out very quickly. I didn't see any mechanism to share the same
protocol type among different driver or kernel modules. Maybe I am
missing something. Can anyone clarify this? Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-12 22:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12 22:07 question on Netlink Socket Jing Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox