Class: Nl::Linux::Nftables::SubMessages::ObjData::Counter

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

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::CounterAttrs

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:



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

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

#packets ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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