libnl 3.0
Ethtool

Functions

int rtnl_ethtool_parse (struct rtnl_link *link, struct nlattr *attr)
void rtnl_ethtool_dump_details (struct rtnl_link *link, struct nl_dump_params *p)
char * rtnl_ethtool_supported2str (int supported, char *buf, size_t len)
uint32_t rtnl_ethtool_get_supported (struct rtnl_link *link)
uint32_t rtnl_ethtool_get_advertising (struct rtnl_link *link)
char * rtnl_ethtool_connector2str (int connector, char *buf, size_t len)
int rtnl_ethtool_str2connector (const char *name)
char * rtnl_ethtool_transceiver2str (int xcvr, char *buf, size_t len)
int rtnl_ethtool_str2transceiver (const char *name)