Class: Nl::Linux::Tc::Messages::DoDeltfilterRequest

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 =
45
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:



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

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

#family ⇒ Integer

Returns:

  • (Integer)


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

def family; fixed_header.family; end

#handle ⇒ Integer

Returns:

  • (Integer)


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

def handle; fixed_header.handle; end

#ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ifindex; fixed_header.ifindex; end

#info ⇒ Integer

Returns:

  • (Integer)


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

def info; fixed_header.info; end

#kind ⇒ String

Returns:

  • (String)

See Also:



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

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

#parent ⇒ Integer

Returns:

  • (Integer)


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

def parent; fixed_header.parent; end