Class: Nl::Linux::Nftables::AttributeSets::ExprTproxyAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Nftables::AttributeSets::ExprTproxyAttrs
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Defined Under Namespace
Classes: Attribute, Family, RegAddr, RegPort
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
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.
3784 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3784 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
3790 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3790 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#family ⇒ Integer
3769 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3769 def family; self[:"family"]&.value; end |
#reg_addr ⇒ Integer
3773 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3773 def reg_addr; self[:"reg_addr"]&.value; end |
#reg_port ⇒ Integer
3777 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3777 def reg_port; self[:"reg_port"]&.value; end |