* Regarding netlink connector documentation code.
@ 2011-07-28 20:39 mindentropy
0 siblings, 0 replies; only message in thread
From: mindentropy @ 2011-07-28 20:39 UTC (permalink / raw)
To: kernelnewbies
Hi,
In the example of the netlink connector code can somebody clarify if the
coding is not right?
The buf here
(http://lxr.linux.no/#linux+v3.0/Documentation/connector/ucon.c#L114) is 1024
which will be cn_msg. In the nlmsghdr the buf is
128(http://lxr.linux.no/#linux+v3.0/Documentation/connector/ucon.c#L65).
Should the nlmsghdr be atleast bigger than the cn_msg? I understand the
payload len being 0 and this being just an example with hardcoded values.
Thanks.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-28 20:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-28 20:39 Regarding netlink connector documentation code mindentropy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.