|
wimax-tools
1.4.4
|
#include <asm/errno.h>#include <netlink/genl/genl.h>#include <netlink/genl/family.h>#include <netlink/genl/ctrl.h>#include <netlink/msg.h>#include <netlink/attr.h>#include "internal.h"Functions | |
| int | nl_get_multicast_groups (struct nl_handle *handle, const char *family, void(*cbf)(void *, const char *, int), void *priv) |
| Enumerates the list of available multicast groups for a family. More... | |
| int | genl_ctrl_get_version (struct nl_handle *nlh, const char *name) |
| int genl_ctrl_get_version | ( | struct nl_handle * | nlh, |
| const char * | name | ||
| ) |
| int nl_get_multicast_groups | ( | struct nl_handle * | handle, |
| const char * | family, | ||
| void(*)(void *, const char *, int) | cbf, | ||
| void * | priv | ||
| ) |
Enumerates the list of available multicast groups for a family.
| handle | netlink handle to use for querying the list |
| family | name of family to query for multicast groups |
| cbf | callback function to call with each multicast group's information. |
| priv | pointer to pass to the callback function |
Returns: 0 if ok, < 0 errno code on error.
Enumerates the multicast groups available for a generic netlink family and calls the callback with the arguments of each.
1.8.5