Class: Nl::Linux::Nftables::SubMessages::ObjData::Quota

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

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::QuotaAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#bytes ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#consumed ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flags ⇒ Integer

Known flags are defined in Flags::QuotaFlags.

Returns:

  • (Integer)

See Also:



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

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