Class: Nl::Linux::OvsFlow::AttributeSets::CheckPktLenAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::OvsFlow::AttributeSets::CheckPktLenAttrs
- Defined in:
- nl-linux/generated/nl/linux/ovs_flow.rb
Defined Under Namespace
Classes: ActionsIfGreater, ActionsIfLessEqual, Attribute, PktLen
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
- #actions_if_greater ⇒ AttributeSets::ActionAttrs
- #actions_if_less_equal ⇒ AttributeSets::ActionAttrs
- #pkt_len ⇒ Integer
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.
1929 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1929 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
1935 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1935 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#actions_if_greater ⇒ AttributeSets::ActionAttrs
1918 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1918 def actions_if_greater; self[:"actions_if_greater"]&.value; end |
#actions_if_less_equal ⇒ AttributeSets::ActionAttrs
1922 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1922 def actions_if_less_equal; self[:"actions_if_less_equal"]&.value; end |
#pkt_len ⇒ Integer
1914 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1914 def pkt_len; self[:"pkt_len"]&.value; end |