lib/pio/open_flow13/decrement_ip_ttl.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require 'pio/open_flow/action'

module Pio
  module OpenFlow13
    # Decrements IP TTL
    class DecrementIpTtl < OpenFlow::Action
      action_header action_type: 24, action_length: 8
      string :padding, length: 4

      def initialize
        super({})
      end
    end
  end
end