Class: Nl::Linux::OvsPacket::AsyncOperations

Inherits:
Object
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/ovs_packet.rb

Instance Method Summary collapse

Instance Method Details

#do_execute(**args) ⇒ Nl::Async::Future<void>

Apply actions to a packet.

Parameters:

  • args (Hash)

Options Hash (**args):

  • dp_ifindex (Integer)
  • packet (String) —

    Packet data, from the start of the Ethernet header.

  • 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.

  • actions (String) —

    Nested OVS_ACTION_ATTR_* attributes. Defined as binary for the same reason as key.

  • probe (Integer) —

    Packet operation is a feature probe, error logging suppressed.

  • mru (Integer) —

    Maximum received IP fragment size.

  • hash (Integer) —

    Packet hash, low 32 bits are skb hash, upper bits are flags.

  • upcall_pid (Integer) —

    Netlink PID to use for upcalls during EXECUTE processing.

Returns:

See Also:



439
440
441
# File 'nl-linux/generated/nl/linux/ovs_packet.rb', line 439

def do_execute(**args)
  @exchange.call(:"do", Messages::DoExecuteRequest, nil, args)
end