Subject: [IPROUTE2 PATCH][GENETLINK] Update generic netlink header

From: jamal <[email-masked]>
Date: Wed, 06 Dec 2006 12:08:24 -0500

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

Signed-off-by: J Hadi Salim <[email-masked]>

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

 include/linux/genetlink.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/genetlink.h b/include/linux/genetlink.h
index 9049dc6..f7a9377 100644
--- a/include/linux/genetlink.h
+++ b/include/linux/genetlink.h
@@ -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,
 };