struct tapi_ethtool_opt

Overview

Command line options for ethtool More…

#include <tapi_ethtool.h>

struct tapi_ethtool_opt {
    // fields

    tapi_ethtool_cmd cmd;
    int timeout_ms;
    bool stats;
    const char* if_name;
    tapi_ethtool_eeprom_dump_args eeprom_dump;
    tapi_ethtool_dump_module_eeprom_args dump_module_eeprom;
    struct tapi_ethtool_opt::@84 args;
};

Detailed Documentation

Command line options for ethtool

Fields

tapi_ethtool_cmd cmd

Ethtool command

int timeout_ms

Command execution timeout in milliseconds

bool stats

Request to include statistics in show command output

const char* if_name

Interface name

tapi_ethtool_eeprom_dump_args eeprom_dump

EEPROM dump arguments

tapi_ethtool_dump_module_eeprom_args dump_module_eeprom

Module EEPROM dump arguments

unnamed-struct args

Command-specific arguments