Class: Nl::Linux::Nftables::Messages::DoBatchBeginRequest

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

Overview

Start a batch of operations

Constant Summary collapse

TYPE =
16
FIXED_HEADER =
Structs::Nfgenmsg
ATTRIBUTE_SET =
AttributeSets::BatchAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[genid])

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

#genid ⇒ Integer

generation ID for this changeset

Returns:

  • (Integer)

See Also:



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end