Class: Nl::Linux::Nftables::AttributeSets::ExprPayloadAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Nftables::AttributeSets::ExprPayloadAttrs
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
nf_tables payload expression netlink attributes
Defined Under Namespace
Classes: Attribute, Base, CsumFlags, CsumOffset, CsumType, Dreg, Len, Offset, Sreg
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
-
#base ⇒ Integer
payload base.
-
#csum_flags ⇒ Integer
checksum flags.
-
#csum_offset ⇒ Integer
checksum offset relative to base.
-
#csum_type ⇒ Integer
checksum type.
-
#dreg ⇒ Integer
destination register to load data into.
-
#len ⇒ Integer
payload length.
-
#offset ⇒ Integer
payload offset relative to base.
-
#sreg ⇒ Integer
source register to load data from.
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
3617 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3617 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
3623 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3623 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#base ⇒ Integer
payload base
Known enum values are defined in Enums::PayloadBase.
3578 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3578 def base; self[:"base"]&.value; end |
#csum_flags ⇒ Integer
checksum flags
3610 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3610 def csum_flags; self[:"csum_flags"]&.value; end |
#csum_offset ⇒ Integer
checksum offset relative to base
3605 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3605 def csum_offset; self[:"csum_offset"]&.value; end |
#csum_type ⇒ Integer
checksum type
3600 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3600 def csum_type; self[:"csum_type"]&.value; end |
#dreg ⇒ Integer
destination register to load data into
Known enum values are defined in Enums::Registers.
3571 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3571 def dreg; self[:"dreg"]&.value; end |
#len ⇒ Integer
payload length
3588 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3588 def len; self[:"len"]&.value; end |
#offset ⇒ Integer
payload offset relative to base
3583 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3583 def offset; self[:"offset"]&.value; end |
#sreg ⇒ Integer
source register to load data from
Known enum values are defined in Enums::Registers.
3595 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3595 def sreg; self[:"sreg"]&.value; end |