genl_ctrl_resolve failure

Thomas Graf tgraf at infradead.org
Sat Apr 21 03:56:56 EDT 2012


On Fri, Apr 20, 2012 at 01:48:12PM -0700, Ali Ranjbar wrote:
> For this test genl-ctrl-list to work properly, shouldn't there be a kernel
> module who is listening for this? In other words, should I run this command
> after I have loaded  and insmod the kernel part of my code? This library
> is in user space, after all right, whereas the netlink related code is in
> the kernel.

The kernel part is called controller and is built into the generic
netlink module. The generic netlink module is always built into the
kernel.

It is the very same module/interface you use to resolve a generic
netlink family name to its identifier from userspace.



More information about the libnl mailing list