struct tapi_ethtool_report

Overview

Structure for storing parsed data from ethtool output More…

#include <tapi_ethtool.h>

struct tapi_ethtool_report {
    // fields

    tapi_ethtool_cmd cmd;
    bool err_out;
    te_string err_data;
    te_errno err_code;
    tapi_ethtool_if_props if_props;
    te_kvpair_h stats;
    tapi_ethtool_pause pause;
    tapi_ethtool_ring ring;
    union tapi_ethtool_report::@82 data;
};

Detailed Documentation

Structure for storing parsed data from ethtool output

Fields

tapi_ethtool_cmd cmd

Ethtool command

bool err_out

true if something was printed to stderr

te_string err_data

Text printed to stderr

te_errno err_code

Error code determined from parsing stderr output

tapi_ethtool_if_props if_props

Interface properties printed when no command is supplied

te_kvpair_h stats

Interface statistics

tapi_ethtool_pause pause

Pause parameters

unnamed-union data

Parsed data