summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-04-30 14:38:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-04-30 14:38:25 +0000
commitb736ff1fdf23f8aeb9ccc7667994f00d2dc7bdeb (patch)
treea0ca17cea0064a55f995f1768568c4b899032ee9 /package
parente3fc6c9b885b54856aefeca95d04af7d67287c4b (diff)
downloadmtk-20170518-b736ff1fdf23f8aeb9ccc7667994f00d2dc7bdeb.zip
mtk-20170518-b736ff1fdf23f8aeb9ccc7667994f00d2dc7bdeb.tar.gz
mtk-20170518-b736ff1fdf23f8aeb9ccc7667994f00d2dc7bdeb.tar.bz2
libnl-tiny: sync genetlink.h with the kernel header
SVN-Revision: 15513
Diffstat (limited to 'package')
-rw-r--r--package/libnl-tiny/src/include/linux/genetlink.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libnl-tiny/src/include/linux/genetlink.h b/package/libnl-tiny/src/include/linux/genetlink.h
index f7a9377..b834ef6 100644
--- a/package/libnl-tiny/src/include/linux/genetlink.h
+++ b/package/libnl-tiny/src/include/linux/genetlink.h
@@ -1,6 +1,7 @@
#ifndef __LINUX_GENERIC_NETLINK_H
#define __LINUX_GENERIC_NETLINK_H
+#include <linux/types.h>
#include <linux/netlink.h>
#define GENL_NAMSIZ 16 /* length of family name */
@@ -39,6 +40,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 +56,7 @@ enum {
CTRL_ATTR_HDRSIZE,
CTRL_ATTR_MAXATTR,
CTRL_ATTR_OPS,
+ CTRL_ATTR_MCAST_GROUPS,
__CTRL_ATTR_MAX,
};
@@ -66,4 +71,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 */