Class: Nl::Linux::Tc::AttributeSets::HtbAttrs

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

Defined Under Namespace

Classes: Attribute, Ceil64, Ctab, DirectQlen, Init, Offload, Pad, Parms, Rate64, Rtab

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#ceil64 ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ctab ⇒ String

Returns:

  • (String)

See Also:



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

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

#direct_qlen ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#init ⇒ Structs::TcHtbGlob

Returns:

See Also:



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

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

#offload ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#parms ⇒ Structs::TcHtbOpt

Returns:

See Also:



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

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

#rate64 ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rtab ⇒ String

Returns:

  • (String)

See Also:



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

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