Class: Nl::Linux::Nftables::Messages::DumpGetflowtableReply

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

Overview

Get / dump flow tables.

Constant Summary collapse

TYPE =
2582
FIXED_HEADER =
Structs::Nfgenmsg
ATTRIBUTE_SET =
AttributeSets::FlowtableAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[table name hook use handle 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

#flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#handle ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#hook ⇒ AttributeSets::FlowtableHookAttrs



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

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

#name ⇒ String

Returns:

  • (String)

See Also:



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#table ⇒ String

Returns:

  • (String)

See Also:



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

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

#use ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end