Class: Nl::Linux::Tc::AttributeSets::FlowerKeyMplsOptAttrs

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

Defined Under Namespace

Classes: Attribute, LseBos, LseDepth, LseLabel, LseTc, LseTtl

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#lse_bos ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lse_depth ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lse_label ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lse_tc ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lse_ttl ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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