summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo_obj.c
Commit message (Collapse)AuthorAgeFilesLines
* Completed implementing the new Python get_interface_info() function.David Sommerseth2009-09-071-10/+64
| | | | | | | | | | | | | | | | | | It will return a list of Python etherinfo objects. These objects have the following properties: .device - Device name .mac_address - Hardware address .ipv4_address .ipv4_netmask .ipv4_broadcast .ipv6_address .ipv6_netmask In addition, it will produce a human readable output if these objects are treated as strings. It will not be possible to modify any of the properties in these objects.
* First cut at a python etherinfo class in C. Does nothing useful yet.David Sommerseth2009-09-041-0/+121