summaryrefslogtreecommitdiffstats
path: root/python-ethtool/netlink.c
Commit message (Collapse)AuthorAgeFilesLines
* Reduce the NETLINK pointer complexityDavid Sommerseth2013-12-171-22/+35
| | | | | | | | | | | | Make the NETLINK connection pointer and user counter local global variables inside netlink.c only. Where NETLINK calls via libnl is required, rather use get_nlc() to get a NETLINK connection. This also prepares the next step, to get rid of the struct etherinfo_obj_data wrapper. Signed-off-by: David Sommerseth <davids@redhat.com>
* Split out generic NETLINK functions from etherinfo.c to netlink.cDavid Sommerseth2013-12-101-0/+113
Primarily just to clean up the code Signed-off-by: David Sommerseth <davids@redhat.com>