Sha256: 8863d796a0c14402d106a17a8c5bcbc31a7bc3395648f5ee27c23d7f9be04c9e

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

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.1 lib/pio/open_flow13/set_ip_ttl.rb