Searched refs:duplex (Results 1 - 5 of 5) sorted by relevance

/systemd/src/udev/net/
H A Dethtool-util.c37 DEFINE_STRING_TABLE_LOOKUP(duplex, Duplex);
38 DEFINE_CONFIG_PARSE_ENUM(config_parse_duplex, duplex, Duplex, "Failed to parse duplex setting");
93 int ethtool_set_speed(int *fd, const char *ifname, unsigned int speed, Duplex duplex) { argument
103 if (speed == 0 && duplex == _DUP_INVALID)
123 switch (duplex) {
125 if (ecmd.duplex != DUPLEX_HALF) {
126 ecmd.duplex = DUPLEX_HALF;
131 if (ecmd.duplex != DUPLEX_FULL) {
132 ecmd.duplex
[all...]
H A Dethtool-util.h44 int ethtool_set_speed(int *fd, const char *ifname, unsigned int speed, Duplex duplex);
H A Dlink-config.h71 Duplex duplex; member in struct:link_config
H A Dlink-config.c170 link->duplex = _DUP_INVALID;
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",
394 duplex_to_string(config->duplex));
/systemd/src/network/
H A Dtest-network-tables.c17 test_table(duplex, DUP);

Completed in 22 milliseconds