summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'python-ethtool/etherinfo_struct.h')
-rw-r--r--python-ethtool/etherinfo_struct.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/python-ethtool/etherinfo_struct.h b/python-ethtool/etherinfo_struct.h
index 6d2da36..31c71c0 100644
--- a/python-ethtool/etherinfo_struct.h
+++ b/python-ethtool/etherinfo_struct.h
@@ -56,9 +56,6 @@ extern PyTypeObject ethtool_netlink_ip_address_Type;
*
*/
struct etherinfo_obj_data {
- struct nl_sock **nlc; /**< Contains NETLINK connection info (global) */
- unsigned int *nlc_users; /**< Resource counter for the NETLINK connection (global) */
- unsigned short nlc_active; /**< Is this instance using NETLINK? */
struct etherinfo *ethinfo; /**< Contains info about our current interface */
};
@@ -69,6 +66,7 @@ struct etherinfo_obj_data {
typedef struct {
PyObject_HEAD
struct etherinfo_obj_data *data; /* IPv4 and IPv6 address information, only one element used */
+ unsigned short nlc_active; /**< Is this instance using NETLINK? */
} etherinfo_py;