Class: Nl::Linux::Tc::AttributeSets::ActIfeAttrs

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

Defined Under Namespace

Classes: Attribute, Dmac, Metalst, Pad, Parms, Smac, Tm, Type

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#dmac ⇒ String

Returns:

  • (String)

See Also:



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

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

#metalst ⇒ String

Returns:

  • (String)

See Also:



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

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

#parms ⇒ String

Returns:

  • (String)

See Also:



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

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

#smac ⇒ String

Returns:

  • (String)

See Also:



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

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

#tm ⇒ Structs::TcfT

Returns:

See Also:



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

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

#type ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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