Searched refs:speed (Results 1 - 4 of 4) sorted by relevance
/systemd/src/udev/net/ |
H A D | ethtool-util.c | 93 int ethtool_set_speed(int *fd, const char *ifname, unsigned int speed, Duplex duplex) { argument 103 if (speed == 0 && duplex == _DUP_INVALID) 118 if (ethtool_cmd_speed(&ecmd) != speed) { 119 ethtool_cmd_speed_set(&ecmd, speed);
|
H A D | ethtool-util.h | 44 int ethtool_set_speed(int *fd, const char *ifname, unsigned int speed, Duplex duplex);
|
H A D | link-config.h | 70 size_t speed; member in struct:link_config
|
H A D | link-config.c | 181 if (link->mtu > UINT_MAX || link->speed > UINT_MAX) 390 r = ethtool_set_speed(&ctx->ethtool_fd, old_name, config->speed / 1024, config->duplex); 392 log_warning_errno(r, "Could not set speed or duplex of %s to %zu Mbps (%s): %m", 393 old_name, config->speed / 1024,
|
Completed in 13 milliseconds