Class: Nl::Linux::Ethtool::AttributeSets::Plca

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

Defined Under Namespace

Classes: Attribute, BurstCnt, BurstTmr, Enabled, Header, NodeCnt, NodeId, Status, ToTmr, Version

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#burst_cnt ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#burst_tmr ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header

Returns:

See Also:



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

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

#node_cnt ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#node_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#status ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#to_tmr ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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