Class: Nl::Linux::OvsPacket::Messages::DoExecuteRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::OvsPacket::Messages::DoExecuteRequest
- Defined in:
- nl-linux/generated/nl/linux/ovs_packet.rb
Overview
Apply actions to a packet.
Constant Summary collapse
- TYPE =
3- FIXED_HEADER =
Structs::OvsHeader
- ATTRIBUTE_SET =
AttributeSets::Packet
- ATTRIBUTES =
Ractor.make_shareable(%i[packet key actions probe mru hash upcall_pid])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#actions ⇒ String
Nested OVS_ACTION_ATTR_* attributes.
- #dp_ifindex ⇒ Integer
-
#hash ⇒ Integer
Packet hash, low 32 bits are skb hash, upper bits are flags.
-
#key ⇒ String
Nested OVS_KEY_ATTR_* attributes, extracted flow key.
-
#mru ⇒ Integer
Maximum received IP fragment size.
-
#packet ⇒ String
Packet data, from the start of the Ethernet header.
-
#probe ⇒ Integer
Packet operation is a feature probe, error logging suppressed.
-
#upcall_pid ⇒ Integer
Netlink PID to use for upcalls during EXECUTE processing.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#actions ⇒ String
Nested OVS_ACTION_ATTR_* attributes. Defined as binary for the same reason as key.
266 |
# File 'nl-linux/generated/nl/linux/ovs_packet.rb', line 266 def actions; attributes[:"actions"]&.value; end |
#dp_ifindex ⇒ Integer
248 |
# File 'nl-linux/generated/nl/linux/ovs_packet.rb', line 248 def dp_ifindex; fixed_header.dp_ifindex; end |
#hash ⇒ Integer
Packet hash, low 32 bits are skb hash, upper bits are flags.
281 |
# File 'nl-linux/generated/nl/linux/ovs_packet.rb', line 281 def hash; attributes[:"hash"]&.value; end |
#key ⇒ String
Nested OVS_KEY_ATTR_* attributes, extracted flow key. Defined as binary because the key attribute-set belongs to the ovs_flow family spec; cross-spec references are not supported.
260 |
# File 'nl-linux/generated/nl/linux/ovs_packet.rb', line 260 def key; attributes[:"key"]&.value; end |
#mru ⇒ Integer
Maximum received IP fragment size.
276 |
# File 'nl-linux/generated/nl/linux/ovs_packet.rb', line 276 def mru; attributes[:"mru"]&.value; end |
#packet ⇒ String
Packet data, from the start of the Ethernet header.
253 |
# File 'nl-linux/generated/nl/linux/ovs_packet.rb', line 253 def packet; attributes[:"packet"]&.value; end |
#probe ⇒ Integer
Packet operation is a feature probe, error logging suppressed.
271 |
# File 'nl-linux/generated/nl/linux/ovs_packet.rb', line 271 def probe; attributes[:"probe"]&.value; end |
#upcall_pid ⇒ Integer
Netlink PID to use for upcalls during EXECUTE processing.
286 |
# File 'nl-linux/generated/nl/linux/ovs_packet.rb', line 286 def upcall_pid; attributes[:"upcall_pid"]&.value; end |