Sha256: 2765eb36e35e5de316a59a4e7d476f49dafe07fb866cf89b93d03e05266cb661

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true

require 'pio/open_flow/action'
require 'pio/type/ip_address'

module Pio
  module OpenFlow10
    # An action to modify the IPv4 source address of a packet.
    class SetSourceIpAddress < OpenFlow::Action
      action_header action_type: 6, action_length: 8
      ip_address :ip_address

      def initialize(ip_address)
        super ip_address: ip_address
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.2 lib/pio/open_flow10/set_source_ip_address.rb