Class: Nl::Linux::Tc::SubMessages::OptionsMsg::Ets

Inherits:
SubMessage
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/tc.rb

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::EtsAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#nbands ⇒ Integer

Returns:

  • (Integer)

See Also:



11681
# File 'nl-linux/generated/nl/linux/tc.rb', line 11681

def nbands; attributes[:"nbands"]&.value; end

#nstrict ⇒ Integer

Returns:

  • (Integer)

See Also:



11685
# File 'nl-linux/generated/nl/linux/tc.rb', line 11685

def nstrict; attributes[:"nstrict"]&.value; end

#priomap ⇒ AttributeSets::EtsAttrs



11697
# File 'nl-linux/generated/nl/linux/tc.rb', line 11697

def priomap; attributes[:"priomap"]&.value; end

#priomap_band ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



11701
# File 'nl-linux/generated/nl/linux/tc.rb', line 11701

def priomap_band; attributes[:"priomap_band"].map(&:value); end

#quanta ⇒ AttributeSets::EtsAttrs



11689
# File 'nl-linux/generated/nl/linux/tc.rb', line 11689

def quanta; attributes[:"quanta"]&.value; end

#quanta_band ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



11693
# File 'nl-linux/generated/nl/linux/tc.rb', line 11693

def quanta_band; attributes[:"quanta_band"].map(&:value); end