From e1971e4774a6ebb5ed33a09bdd60afa2c0534b6f Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Fri, 5 Feb 2010 09:54:11 -0800 Subject: Initial commit. --- src/ethtool-util.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/ethtool-util.h (limited to 'src/ethtool-util.h') 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 + * Licensed under the GNU General Public license, version 2. + */ +#ifndef ETHTOOL_UTIL_H__ +#define ETHTOOL_UTIL_H__ + +#include + +#include +#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 -- cgit v1.2.3