Sha256: 2892f3fc1ba82a749af45fe4ea65f9877c459f7f94ae6e50d6014ac87309b6e6

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

# frozen_string_literal: true

require 'pio/open_flow/action'

module Pio
  module OpenFlow13
    # Sets IP TTL
    class SetIpTtl < OpenFlow::Action
      action_header action_type: 23, action_length: 8
      uint8 :ttl
      string :padding, length: 3

      def initialize(ttl)
        super(ttl: ttl)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.2 lib/pio/open_flow13/set_ip_ttl.rb