Class: Nl::Linux::Nftables::Messages::DumpGetruleResetRequest

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

Overview

Get / dump rules and reset stateful expressions.

Constant Summary collapse

TYPE =
2585
FIXED_HEADER =
Structs::Nfgenmsg
ATTRIBUTE_SET =
AttributeSets::RuleAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[table chain handle])

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 ⇒ String

name of the chain containing the rule

Returns:

  • (String)

See Also:



5526
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5526

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

#handle ⇒ Integer

numeric handle of the rule

Returns:

  • (Integer)

See Also:



5531
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5531

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


5510
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5510

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


5516
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5516

def res_id; fixed_header.res_id; end

#table ⇒ String

name of the table containing the rule

Returns:

  • (String)

See Also:



5521
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5521

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

#version ⇒ Integer

Returns:

  • (Integer)


5513
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5513

def version; fixed_header.version; end