Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | genl: modify genl_ctrl_resolve and friends to allow for module auto-loading | Neil Horman | 2012-06-03 | 1 | -0/+3 |
| | | | | | | | | | | | | Generic netlink has the ability to autoload modules in response to a request for a family. Currently libnl uses a GETFAMILY call with the NLM_F_DUMP flag to list all the available families, but doing so neglects the possibility of an autoloaded module. This patch modifies the genl code to probe the kernel for a specific family rather than dumping a list of all the currenlty available ones, making autoload work properly. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> CC: Thomas Graf <tgraf@redhat.com> | ||||
* | genl: Support registration of families without depending on caches | Thomas Graf | 2012-06-01 | 1 | -4/+83 |
| | | | | | | | | | | | | Introduces the functions genl_register_family() and genl_unregister_family() to register a Generic Netlink family which does not implement a cachable type. API users can direct received messages into genl_handle_msg() which will validate the messages and call the callback functions defined in the commands definition. See test/test-genl.c for an example on how to use it. | ||||
* | tests: fix test programs to compile again | Thomas Graf | 2012-04-21 | 1 | -8/+8 |
| | |||||
* | test updates | Thomas Graf | 2008-08-20 | 1 | -39/+19 |
| | |||||
* | Initial import | Thomas Graf | 2007-09-14 | 1 | -0/+56 |