Class: Nl::Linux::Nftables::SubMessages::ExprOps::Lookup

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

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::ExprLookupAttrs

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

Returns:

  • (Integer)

See Also:



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

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

#flags ⇒ Integer

Known flags are defined in Flags::LookupFlags.

Returns:

  • (Integer)

See Also:



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

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

#set ⇒ String

Name of set to use

Returns:

  • (String)

See Also:



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

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

#set_id ⇒ Integer

ID of set to use

Returns:

  • (Integer)

See Also:



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

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

#sreg ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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