Class: Nl::Linux::Tc::SubMessages::OptionsMsg::Basic

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

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::BasicAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#act ⇒ Array<AttributeSets::ActAttrs>



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

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

#classid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ematches ⇒ AttributeSets::EmatchAttrs



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

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

#pcnt ⇒ Structs::TcBasicPcnt



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

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

#police ⇒ AttributeSets::PoliceAttrs



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

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