summaryrefslogtreecommitdiff
path: root/include/netlink/genl
diff options
context:
space:
mode:
Diffstat (limited to 'include/netlink/genl')
-rw-r--r--include/netlink/genl/ctrl.h3
-rw-r--r--include/netlink/genl/family.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/include/netlink/genl/ctrl.h b/include/netlink/genl/ctrl.h
index 1ae62f4..26a0a99 100644
--- a/include/netlink/genl/ctrl.h
+++ b/include/netlink/genl/ctrl.h
@@ -29,6 +29,9 @@ extern struct genl_family * genl_ctrl_search_by_name(struct nl_cache *,
const char *);
extern int genl_ctrl_resolve(struct nl_sock *,
const char *);
+extern int genl_ctrl_resolve_grp(struct nl_sock *sk,
+ const char *family,
+ const char *grp);
#ifdef __cplusplus
}
diff --git a/include/netlink/genl/family.h b/include/netlink/genl/family.h
index bdce09d..777c16e 100644
--- a/include/netlink/genl/family.h
+++ b/include/netlink/genl/family.h
@@ -39,6 +39,7 @@ struct genl_family
uint32_t gf_maxattr;
struct nl_list_head gf_ops;
+ struct nl_list_head gf_mc_grps;
};
@@ -47,6 +48,9 @@ extern void genl_family_put(struct genl_family *);
extern int genl_family_add_op(struct genl_family *,
int, int);
+extern int genl_family_add_grp(struct genl_family *,
+ uint32_t , const char *);
+
/**
* @name Attributes