Class: Nl::Linux::Conntrack::AttributeSets::NatAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Conntrack::AttributeSets::NatAttrs
- Defined in:
- nl-linux/generated/nl/linux/conntrack.rb
Defined Under Namespace
Classes: Attribute, NatProto, NatV4Maxip, NatV4Minip, NatV6Maxip, NatV6Minip
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
- #nat_proto ⇒ AttributeSets::NatProtoAttrs
- #nat_v4_maxip ⇒ Integer
- #nat_v4_minip ⇒ Integer
- #nat_v6_maxip ⇒ String
- #nat_v6_minip ⇒ String
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.
953 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 953 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
959 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 959 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#nat_proto ⇒ AttributeSets::NatProtoAttrs
946 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 946 def nat_proto; self[:"nat_proto"]&.value; end |
#nat_v4_maxip ⇒ Integer
934 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 934 def nat_v4_maxip; self[:"nat_v4_maxip"]&.value; end |
#nat_v4_minip ⇒ Integer
930 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 930 def nat_v4_minip; self[:"nat_v4_minip"]&.value; end |
#nat_v6_maxip ⇒ String
942 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 942 def nat_v6_maxip; self[:"nat_v6_maxip"]&.value; end |
#nat_v6_minip ⇒ String
938 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 938 def nat_v6_minip; self[:"nat_v6_minip"]&.value; end |