get_feature


Description:

[ Version ( deprecated = true , deprecated_since = "1.26" , since = "1.14" ) ]
public Ternary get_feature (string optname)

Warning: get_feature is deprecated since 1.26.

Gets and offload feature setting.

Note:

use option_get_boolean instead.

Returns nm_ternary_default if the feature is not set.

Note that optname must be a valid name for a feature, according to ethtool_optname_is_feature.

Parameters:

this

the SettingEthtool

optname

option name of the offload feature to get

Returns:

a Ternary value indicating whether the offload feature is enabled, disabled, or left untouched.




2022 vala-language.org