Sha256: 82c90a878f69b21af0ae71f409aeb3453f93295edcf30363c7855f82cf5142b4

Contents?: true

Size: 326 Bytes

Versions: 5

Compression:

Stored size: 326 Bytes

Contents

require 'pio/open_flow/action'

module Pio
  module OpenFlow10
    # An action to strip the 802.1q header.
    class StripVlanHeader < OpenFlow::Action
      action_header action_type: 3, action_length: 8
      string :padding, length: 4
      hide :padding

      def initialize
        super({})
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pio-0.30.1 lib/pio/open_flow10/strip_vlan_header.rb
pio-0.30.0 lib/pio/open_flow10/strip_vlan_header.rb
pio-0.29.0 lib/pio/open_flow10/strip_vlan_header.rb
pio-0.28.1 lib/pio/open_flow10/strip_vlan_header.rb
pio-0.28.0 lib/pio/open_flow10/strip_vlan_header.rb