Class: Nl::Linux::Tc::Messages::DoDelchainRequest

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

Overview

Get / dump tc chain information.

Constant Summary collapse

TYPE =
101
FIXED_HEADER =
Structs::Tcmsg
ATTRIBUTE_SET =
AttributeSets::Attrs
ATTRIBUTES =
Ractor.make_shareable(%i[chain])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#chain ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#family ⇒ Integer

Returns:

  • (Integer)


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

def family; fixed_header.family; end

#handle ⇒ Integer

Returns:

  • (Integer)


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

def handle; fixed_header.handle; end

#ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ifindex; fixed_header.ifindex; end

#info ⇒ Integer

Returns:

  • (Integer)


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

def info; fixed_header.info; end

#parent ⇒ Integer

Returns:

  • (Integer)


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

def parent; fixed_header.parent; end