Class: Nl::Linux::Nftables::SubMessages::ExprOps::Numgen

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

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::NumgenAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#dreg ⇒ Integer

destination register

Known enum values are defined in Enums::Registers.

Returns:

  • (Integer)

See Also:



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

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

#modulus ⇒ Integer

maximum counter value

Returns:

  • (Integer)

See Also:



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

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

#offset ⇒ Integer

offset to be added to the counter

Returns:

  • (Integer)

See Also:



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

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

#type ⇒ Integer

operation type

Known enum values are defined in Enums::NumgenTypes.

Returns:

  • (Integer)

See Also:



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

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