diff options
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/genetlink.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/genetlink.h b/include/net/genetlink.h index 38620da4aa7a..3ed31e5a445b 100644 --- a/include/net/genetlink.h +++ b/include/net/genetlink.h | |||
| @@ -31,6 +31,9 @@ struct genl_info; | |||
| 31 | * do additional, common, filtering and return an error | 31 | * do additional, common, filtering and return an error |
| 32 | * @post_doit: called after an operation's doit callback, it may | 32 | * @post_doit: called after an operation's doit callback, it may |
| 33 | * undo operations done by pre_doit, for example release locks | 33 | * undo operations done by pre_doit, for example release locks |
| 34 | * @mcast_bind: a socket bound to the given multicast group (which | ||
| 35 | * is given as the offset into the groups array) | ||
| 36 | * @mcast_unbind: a socket was unbound from the given multicast group | ||
| 34 | * @attrbuf: buffer to store parsed attributes | 37 | * @attrbuf: buffer to store parsed attributes |
| 35 | * @family_list: family list | 38 | * @family_list: family list |
| 36 | * @mcgrps: multicast groups used by this family (private) | 39 | * @mcgrps: multicast groups used by this family (private) |
| @@ -53,6 +56,8 @@ struct genl_family { | |||
| 53 | void (*post_doit)(const struct genl_ops *ops, | 56 | void (*post_doit)(const struct genl_ops *ops, |
| 54 | struct sk_buff *skb, | 57 | struct sk_buff *skb, |
| 55 | struct genl_info *info); | 58 | struct genl_info *info); |
| 59 | int (*mcast_bind)(int group); | ||
| 60 | void (*mcast_unbind)(int group); | ||
| 56 | struct nlattr ** attrbuf; /* private */ | 61 | struct nlattr ** attrbuf; /* private */ |
| 57 | const struct genl_ops * ops; /* private */ | 62 | const struct genl_ops * ops; /* private */ |
| 58 | const struct genl_multicast_group *mcgrps; /* private */ | 63 | const struct genl_multicast_group *mcgrps; /* private */ |
