Class: Nl::Linux::Nftables::Messages::DoGetflowtableReply

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:



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

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

#handle ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#hook ⇒ AttributeSets::FlowtableHookAttrs



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

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

#name ⇒ String

Returns:

  • (String)

See Also:



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#table ⇒ String

Returns:

  • (String)

See Also:



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

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

#use ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end