netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [IPROUTE2 PATCH][GENETLINK]  Update generic netlink header
@ 2006-12-06 17:08 jamal
  0 siblings, 0 replies; only message in thread
From: jamal @ 2006-12-06 17:08 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 104 bytes --]

Stepehen,

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

cheers,
jamal

[-- Attachment #2: genl-p2 --]
[-- Type: text/plain, Size: 1205 bytes --]

[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 <hadi@cyberus.ca>

---
commit 515370c958be14b417e20611258eecbe9fda2382
tree 5d81c1d7a50592a18c50948a65faf3b85cefd9a7
parent ae665a522bd46bea44c5ea84c89c8b1731954170
author Jamal Hadi Salim <hadi@cyberus.ca> Wed, 06 Dec 2006 11:32:37 -0500
committer Jamal Hadi Salim <hadi@cyberus.ca> 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,
 };
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-06 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-06 17:08 [IPROUTE2 PATCH][GENETLINK] Update generic netlink header jamal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).