diff options
author | Tom Gundersen <teg@jklm.no> | 2014-02-21 16:54:00 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-02-21 21:00:39 +0100 |
commit | 847a8a5fed4d265dfa659917515c6f9bd1b8d5c4 (patch) | |
tree | a66310a760d1ea59a366113d4ce5d35cd3f0c014 /src/udev/net/ethtool-util.h | |
parent | a0eb2a751c6f3e9c233772cd9af8e8ee1504d27a (diff) |
udev - link-setup - expose ID_NET_DRIVER
This is the same as shown by 'ethtool -i <ifname>', and is sometimes
set even though DRIVER is not.
Diffstat (limited to 'src/udev/net/ethtool-util.h')
-rw-r--r-- | src/udev/net/ethtool-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/net/ethtool-util.h b/src/udev/net/ethtool-util.h index c8638f22ec..f44de5076a 100644 --- a/src/udev/net/ethtool-util.h +++ b/src/udev/net/ethtool-util.h @@ -42,6 +42,7 @@ typedef enum WakeOnLan { int ethtool_connect(int *ret); +int ethtool_get_driver(int fd, const char *ifname, char **ret); int ethtool_set_speed(int fd, const char *ifname, unsigned int speed, Duplex duplex); int ethtool_set_wol(int fd, const char *ifname, WakeOnLan wol); |