summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo.h
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2010-04-26 20:38:57 +0200
committerDavid Sommerseth <davids@redhat.com>2010-04-26 20:38:57 +0200
commitd3fd6b84f461a4d7ffbf3f3eae37381150b69e82 (patch)
tree4de791e5b791b50fe42056443b6dbfae2c3a29f1 /python-ethtool/etherinfo.h
parentbfdcac6b16806416a6c0295fcfad5d820595d88c (diff)
downloadpython-ethtool-d3fd6b84f461a4d7ffbf3f3eae37381150b69e82.tar.gz
python-ethtool-d3fd6b84f461a4d7ffbf3f3eae37381150b69e82.tar.xz
python-ethtool-d3fd6b84f461a4d7ffbf3f3eae37381150b69e82.zip
Rewritten ethtool to make use of libnl instead of accessing NETLINK directly
Diffstat (limited to 'python-ethtool/etherinfo.h')
-rw-r--r--python-ethtool/etherinfo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/python-ethtool/etherinfo.h b/python-ethtool/etherinfo.h
index 996bd45..bda5185 100644
--- a/python-ethtool/etherinfo.h
+++ b/python-ethtool/etherinfo.h
@@ -18,8 +18,7 @@
#define _ETHERINFO_H
struct etherinfo {
- int index;
- int type;
+ int index;
char *device;
char *hwaddress;
char *ipv4_address;
@@ -27,7 +26,6 @@ struct etherinfo {
char *ipv4_broadcast;
char *ipv6_address;
int ipv6_netmask;
- struct etherinfo *next;
};
struct etherinfo *get_etherinfo();