Skip to contentSkip to conversation

Update generic netlink header

PATCH New jamal 1 participant 1 message Dec 6, 2006

Subsystems (2)
lore
Share & tools
lore

jamal

author
#0 lore raw

PATCH 1/1 Update generic netlink header

Stepehen,

Didnt hear back from you, please apply this one; needed for the next patches.

cheers,
jamal

[GENL] Update generic netlink header

The header file needs to be uptodate with recent changes to allow for forward compatibility

---
commit 515370c958be14b417e20611258eecbe9fda2382
tree 5d81c1d7a50592a18c50948a65faf3b85cefd9a7
parent ae665a522bd46bea44c5ea84c89c8b1731954170
author Jamal Hadi Salim <[email protected]> Wed, 06 Dec 2006 11:32:37 -0500 committer Jamal Hadi Salim <[email protected]> Wed, 06 Dec 2006 11:32:37 -0500

 include/linux/genetlink.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
include/linux/genetlink.h +3 -3
index 9049dc6..f7a9377 100644
@@ -17,6 +17,9 @@ struct genlmsghdr {
 #define GENL_HDRLEN	NLMSG_ALIGN(sizeof(struct genlmsghdr))
 
 #define GENL_ADMIN_PERM		0x01
+#define GENL_CMD_CAP_DO		0x02
+#define GENL_CMD_CAP_DUMP	0x04
+#define GENL_CMD_CAP_HASPOL	0x08
 
 /*
  * List of reserved static generic netlink identifiers:
@@ -58,9 +61,6 @@ enum {
 	CTRL_ATTR_OP_UNSPEC,
 	CTRL_ATTR_OP_ID,
 	CTRL_ATTR_OP_FLAGS,
-	CTRL_ATTR_OP_POLICY,
-	CTRL_ATTR_OP_DOIT,
-	CTRL_ATTR_OP_DUMPIT,
 	__CTRL_ATTR_OP_MAX,
 };