Class: Nl::Linux::Nftables::SubMessages::ExprOps::Counter
- Inherits:
-
SubMessage
- Object
- SubMessage
- Nl::Linux::Nftables::SubMessages::ExprOps::Counter
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Constant Summary collapse
- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::ExprCounterAttrs
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#bytes ⇒ Integer
Number of bytes.
-
#packets ⇒ Integer
Number of packets.
Methods included from StructuredPayload
Instance Method Details
#bytes ⇒ Integer
Number of bytes
4177 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4177 def bytes; attributes[:"bytes"]&.value; end |
#packets ⇒ Integer
Number of packets
4182 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4182 def packets; attributes[:"packets"]&.value; end |