Skip to contentSkip to conversation

net headers: cleanup dcbnl.h

PATCH Applied Chris Leech 3 participants 5 messages Feb 27, 2009 – Mar 1, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 net headers: cleanup dcbnl.h

1) add an include for <linux/types.h>
2) change dcbmsg.dcb_family from unsigned char to __u8 to be more consistent with use of kernel types

---

 include/linux/dcbnl.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
include/linux/dcbnl.h +3 -1
index b0ef274..7d2e100 100644
@@ -20,10 +20,12 @@
 #ifndef __LINUX_DCBNL_H__
 #define __LINUX_DCBNL_H__
 
+#include <linux/types.h>
+
 #define DCB_PROTO_VERSION 1
 
 struct dcbmsg {
-	unsigned char      dcb_family;
+	__u8               dcb_family;
 	__u8               cmd;
 	__u16              dcb_pad;
 };
#1 lore raw

PATCH 2/2 net headers: export dcbnl.h

The DCB netlink interface is required for building the userspace tools available at e1000.sourceforge.net

---

 include/linux/Kbuild |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/Kbuild +1 -0
index b97cdc5..106c3ba 100644
@@ -52,6 +52,7 @@ header-y += const.h
 header-y += cgroupstats.h
 header-y += cramfs_fs.h
 header-y += cycx_cfm.h
+header-y += dcbnl.h
 header-y += dlmconstants.h
 header-y += dlm_device.h
 header-y += dlm_netlink.h