1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-23 11:51:05 +02:00

libnl-tiny: sync genetlink.h with the kernel header

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15513 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-04-30 14:38:25 +00:00
parent 75891cb99c
commit ab32f3a49c

View File

@ -1,6 +1,7 @@
#ifndef __LINUX_GENERIC_NETLINK_H #ifndef __LINUX_GENERIC_NETLINK_H
#define __LINUX_GENERIC_NETLINK_H #define __LINUX_GENERIC_NETLINK_H
#include <linux/types.h>
#include <linux/netlink.h> #include <linux/netlink.h>
#define GENL_NAMSIZ 16 /* length of family name */ #define GENL_NAMSIZ 16 /* length of family name */
@ -39,6 +40,9 @@ enum {
CTRL_CMD_NEWOPS, CTRL_CMD_NEWOPS,
CTRL_CMD_DELOPS, CTRL_CMD_DELOPS,
CTRL_CMD_GETOPS, CTRL_CMD_GETOPS,
CTRL_CMD_NEWMCAST_GRP,
CTRL_CMD_DELMCAST_GRP,
CTRL_CMD_GETMCAST_GRP, /* unused */
__CTRL_CMD_MAX, __CTRL_CMD_MAX,
}; };
@ -52,6 +56,7 @@ enum {
CTRL_ATTR_HDRSIZE, CTRL_ATTR_HDRSIZE,
CTRL_ATTR_MAXATTR, CTRL_ATTR_MAXATTR,
CTRL_ATTR_OPS, CTRL_ATTR_OPS,
CTRL_ATTR_MCAST_GROUPS,
__CTRL_ATTR_MAX, __CTRL_ATTR_MAX,
}; };
@ -66,4 +71,13 @@ enum {
#define CTRL_ATTR_OP_MAX (__CTRL_ATTR_OP_MAX - 1) #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 */ #endif /* __LINUX_GENERIC_NETLINK_H */