Class: Nl::Linux::Ethtool::AttributeSets::Rss

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

Defined Under Namespace

Classes: Attribute, Context, FlowHash, Header, Hfunc, Hkey, Indir, InputXfrm, StartContext

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#context ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flow_hash ⇒ AttributeSets::Flow

Returns:

See Also:



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

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

#header ⇒ AttributeSets::Header

Returns:

See Also:



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

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

#hfunc ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#hkey ⇒ String

Returns:

See Also:



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

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

#indir ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



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

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

#input_xfrm ⇒ Integer

Known flags are defined in Flags::InputXfrm.

Returns:

  • (Integer)

See Also:



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

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

#start_context ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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