summaryrefslogtreecommitdiff
path: root/src/ethtool-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ethtool-util.h')
-rw-r--r--src/ethtool-util.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ethtool-util.h b/src/ethtool-util.h
new file mode 100644
index 0000000..a724343
--- /dev/null
+++ b/src/ethtool-util.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2006 Dell, Inc.
+ * by Matt Domsch <Matt_Domsch@dell.com>
+ * Licensed under the GNU General Public license, version 2.
+ */
+#ifndef ETHTOOL_UTIL_H__
+#define ETHTOOL_UTIL_H__
+
+#include <pci/pci.h>
+
+#include <limits.h>
+#if ULONG_MAX > 0xffffffff
+typedef unsigned long u64;
+#else
+typedef unsigned long long u64;
+#endif
+
+#include "ethtool-copy.h"
+
+int ethtool_get_info(const char *devname, struct ethtool_drvinfo *drvinfo);
+
+#endif