Class: Nl::Linux::Tc::Messages::DoGettfilterRequest

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

Overview

Get / dump tc filter information.

Constant Summary collapse

TYPE =
46
FIXED_HEADER =
Structs::Tcmsg
ATTRIBUTE_SET =
AttributeSets::Attrs
ATTRIBUTES =
Ractor.make_shareable(%i[kind 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:



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

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

#family ⇒ Integer

Returns:

  • (Integer)


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

def family; fixed_header.family; end

#handle ⇒ Integer

Returns:

  • (Integer)


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

def handle; fixed_header.handle; end

#ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ifindex; fixed_header.ifindex; end

#info ⇒ Integer

Returns:

  • (Integer)


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

def info; fixed_header.info; end

#kind ⇒ String

Returns:

  • (String)

See Also:



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

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

#parent ⇒ Integer

Returns:

  • (Integer)


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

def parent; fixed_header.parent; end