Class: Nl::Linux::Nftables::SubMessages::ExprOps::Cmp

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

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::ExprCmpAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#data ⇒ AttributeSets::DataAttrs



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

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

#op ⇒ Integer

Known enum values are defined in Enums::CmpOps.

Returns:

  • (Integer)

See Also:



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

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

#sreg ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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