Class: Nl::Linux::Ethtool::AttributeSets::Mm

Inherits:
AttributeSet show all
Defined in:
nl-linux/generated/nl/linux/ethtool.rb

Defined Under Namespace

Classes: Attribute, Header, MaxVerifyTime, PmacEnabled, RxMinFragSize, Stats, TxActive, TxEnabled, TxMinFragSize, VerifyEnabled, VerifyStatus, VerifyTime

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



1170
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1170

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



1176
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1176

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#header ⇒ AttributeSets::Header

Returns:

See Also:



1123
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1123

def header; self[:"header"]&.value; end

#max_verify_time ⇒ Integer

Returns:

  • (Integer)

See Also:



1159
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1159

def max_verify_time; self[:"max_verify_time"]&.value; end

#pmac_enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



1127
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1127

def pmac_enabled; self[:"pmac_enabled"]&.value; end

#rx_min_frag_size ⇒ Integer

Returns:

  • (Integer)

See Also:



1143
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1143

def rx_min_frag_size; self[:"rx_min_frag_size"]&.value; end

#stats ⇒ AttributeSets::MmStat

Returns:

See Also:



1163
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1163

def stats; self[:"stats"]&.value; end

#tx_active ⇒ Integer

Returns:

  • (Integer)

See Also:



1135
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1135

def tx_active; self[:"tx_active"]&.value; end

#tx_enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



1131
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1131

def tx_enabled; self[:"tx_enabled"]&.value; end

#tx_min_frag_size ⇒ Integer

Returns:

  • (Integer)

See Also:



1139
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1139

def tx_min_frag_size; self[:"tx_min_frag_size"]&.value; end

#verify_enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



1147
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1147

def verify_enabled; self[:"verify_enabled"]&.value; end

#verify_status ⇒ Integer

Returns:

  • (Integer)

See Also:



1151
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1151

def verify_status; self[:"verify_status"]&.value; end

#verify_time ⇒ Integer

Returns:

  • (Integer)

See Also:



1155
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1155

def verify_time; self[:"verify_time"]&.value; end