Class: Nl::Linux::Nftables::SubMessages::ExprOps::Payload

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

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::ExprPayloadAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#base ⇒ Integer

payload base

Known enum values are defined in Enums::PayloadBase.

Returns:

  • (Integer)

See Also:



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

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

#csum_flags ⇒ Integer

checksum flags

Returns:

  • (Integer)

See Also:



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

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

#csum_offset ⇒ Integer

checksum offset relative to base

Returns:

  • (Integer)

See Also:



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

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

#csum_type ⇒ Integer

checksum type

Returns:

  • (Integer)

See Also:



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

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

#dreg ⇒ Integer

destination register to load data into

Known enum values are defined in Enums::Registers.

Returns:

  • (Integer)

See Also:



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

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

#len ⇒ Integer

payload length

Returns:

  • (Integer)

See Also:



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

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

#offset ⇒ Integer

payload offset relative to base

Returns:

  • (Integer)

See Also:



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

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

#sreg ⇒ Integer

source register to load data from

Known enum values are defined in Enums::Registers.

Returns:

  • (Integer)

See Also:



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

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