12 #ifndef NETLINK_GENL_CTRL_H_ 13 #define NETLINK_GENL_CTRL_H_ 15 #include <netlink/netlink.h> 16 #include <netlink/cache.h> 17 #include <netlink/addr.h> 25 extern struct nl_cache * genl_ctrl_alloc_cache(
struct nl_handle *);
struct genl_family * genl_ctrl_search_by_name(struct nl_cache *, const char *)
Look up generic netlink family by family name in the provided cache.
int genl_ctrl_resolve(struct nl_handle *, const char *)
Resolve generic netlink family name to its identifier.
struct genl_family * genl_ctrl_search(struct nl_cache *, int)
Look up generic netlink family by id in the provided cache.