diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-07-18 15:47:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-18 15:47:52 -0700 |
commit | 2dbba6f773d1e1e4c78f03b0dbf19790d9017693 (patch) | |
tree | 19535af46e79a0af756275f751d7b0080b72001d /include/linux/genetlink.h | |
parent | 84659eb529b33572bb3f8c94e0978bd5d084bc7e (diff) | |
download | blackbird-op-linux-2dbba6f773d1e1e4c78f03b0dbf19790d9017693.tar.gz blackbird-op-linux-2dbba6f773d1e1e4c78f03b0dbf19790d9017693.zip |
[GENETLINK]: Dynamic multicast groups.
Introduce API to dynamically register and unregister multicast groups.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Patrick McHardy <kaber@trash.net>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/genetlink.h')
-rw-r--r-- | include/linux/genetlink.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/genetlink.h b/include/linux/genetlink.h index f7a93770e1be..7da02c93002b 100644 --- a/include/linux/genetlink.h +++ b/include/linux/genetlink.h @@ -39,6 +39,9 @@ enum { CTRL_CMD_NEWOPS, CTRL_CMD_DELOPS, CTRL_CMD_GETOPS, + CTRL_CMD_NEWMCAST_GRP, + CTRL_CMD_DELMCAST_GRP, + CTRL_CMD_GETMCAST_GRP, /* unused */ __CTRL_CMD_MAX, }; @@ -52,6 +55,7 @@ enum { CTRL_ATTR_HDRSIZE, CTRL_ATTR_MAXATTR, CTRL_ATTR_OPS, + CTRL_ATTR_MCAST_GROUPS, __CTRL_ATTR_MAX, }; @@ -66,4 +70,13 @@ enum { #define CTRL_ATTR_OP_MAX (__CTRL_ATTR_OP_MAX - 1) +enum { + CTRL_ATTR_MCAST_GRP_UNSPEC, + CTRL_ATTR_MCAST_GRP_NAME, + CTRL_ATTR_MCAST_GRP_ID, + __CTRL_ATTR_MCAST_GRP_MAX, +}; + +#define CTRL_ATTR_MCAST_GRP_MAX (__CTRL_ATTR_MCAST_GRP_MAX - 1) + #endif /* __LINUX_GENERIC_NETLINK_H */ |