Class: Nl::Linux::Nftables::SubMessages::ExprOps::Nat

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

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::ExprNatAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#family ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flags ⇒ Integer

Known flags are defined in Flags::NatRangeFlags.

Returns:

  • (Integer)

See Also:



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

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

#reg_addr_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#reg_addr_min ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#reg_proto_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#reg_proto_min ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#type ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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