move library packages to package/libs/
[openwrt/svn-archive/archive.git] / package / libs / libnl / patches / 160-update_includes_for_iw.patch
1 --- a/include/linux/genetlink.h
2 +++ b/include/linux/genetlink.h
3 @@ -39,6 +39,9 @@ enum {
4 CTRL_CMD_NEWOPS,
5 CTRL_CMD_DELOPS,
6 CTRL_CMD_GETOPS,
7 + CTRL_CMD_NEWMCAST_GRP,
8 + CTRL_CMD_DELMCAST_GRP,
9 + CTRL_CMD_GETMCAST_GRP, /* unused */
10 __CTRL_CMD_MAX,
11 };
12
13 @@ -52,6 +55,7 @@ enum {
14 CTRL_ATTR_HDRSIZE,
15 CTRL_ATTR_MAXATTR,
16 CTRL_ATTR_OPS,
17 + CTRL_ATTR_MCAST_GROUPS,
18 __CTRL_ATTR_MAX,
19 };
20
21 @@ -66,4 +70,13 @@ enum {
22
23 #define CTRL_ATTR_OP_MAX (__CTRL_ATTR_OP_MAX - 1)
24
25 +enum {
26 + CTRL_ATTR_MCAST_GRP_UNSPEC,
27 + CTRL_ATTR_MCAST_GRP_NAME,
28 + CTRL_ATTR_MCAST_GRP_ID,
29 + __CTRL_ATTR_MCAST_GRP_MAX,
30 +};
31 +
32 +#define CTRL_ATTR_MCAST_GRP_MAX (__CTRL_ATTR_MCAST_GRP_MAX - 1)
33 +
34 #endif /* __LINUX_GENERIC_NETLINK_H */