Class: Nl::Linux::Tc::Messages::DumpGettfilterRequest

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[chain dump_flags])

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:



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

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

#dump_flags ⇒ Nl::Bitfield32



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

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

#family ⇒ Integer

Returns:

  • (Integer)


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

def family; fixed_header.family; end

#handle ⇒ Integer

Returns:

  • (Integer)


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

def handle; fixed_header.handle; end

#ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ifindex; fixed_header.ifindex; end

#info ⇒ Integer

Returns:

  • (Integer)


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

def info; fixed_header.info; end

#parent ⇒ Integer

Returns:

  • (Integer)


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

def parent; fixed_header.parent; end