|
@@ -31,6 +31,9 @@ struct genl_info;
|
|
|
* do additional, common, filtering and return an error
|
|
* do additional, common, filtering and return an error
|
|
|
* @post_doit: called after an operation's doit callback, it may
|
|
* @post_doit: called after an operation's doit callback, it may
|
|
|
* undo operations done by pre_doit, for example release locks
|
|
* undo operations done by pre_doit, for example release locks
|
|
|
|
|
+ * @mcast_bind: a socket bound to the given multicast group (which
|
|
|
|
|
+ * is given as the offset into the groups array)
|
|
|
|
|
+ * @mcast_unbind: a socket was unbound from the given multicast group
|
|
|
* @attrbuf: buffer to store parsed attributes
|
|
* @attrbuf: buffer to store parsed attributes
|
|
|
* @family_list: family list
|
|
* @family_list: family list
|
|
|
* @mcgrps: multicast groups used by this family (private)
|
|
* @mcgrps: multicast groups used by this family (private)
|
|
@@ -53,6 +56,8 @@ struct genl_family {
|
|
|
void (*post_doit)(const struct genl_ops *ops,
|
|
void (*post_doit)(const struct genl_ops *ops,
|
|
|
struct sk_buff *skb,
|
|
struct sk_buff *skb,
|
|
|
struct genl_info *info);
|
|
struct genl_info *info);
|
|
|
|
|
+ int (*mcast_bind)(int group);
|
|
|
|
|
+ void (*mcast_unbind)(int group);
|
|
|
struct nlattr ** attrbuf; /* private */
|
|
struct nlattr ** attrbuf; /* private */
|
|
|
const struct genl_ops * ops; /* private */
|
|
const struct genl_ops * ops; /* private */
|
|
|
const struct genl_multicast_group *mcgrps; /* private */
|
|
const struct genl_multicast_group *mcgrps; /* private */
|