Class: Nl::Linux::Nftables::SubMessages::ExprOps::Range

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

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::RangeAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#from_data ⇒ AttributeSets::DataAttrs

data range from



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

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

#op ⇒ Integer

cmp operation

Known enum values are defined in Enums::RangeOps.

Returns:

  • (Integer)

See Also:



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

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

#sreg ⇒ Integer

source register of data to compare

Known enum values are defined in Enums::Registers.

Returns:

  • (Integer)

See Also:



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

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

#to_data ⇒ AttributeSets::DataAttrs

data range to



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

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