Sha256: db7997a858704c0b1e4e5e1e174fa418e950ff5c974f360f44285192e61b8622

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

# frozen_string_literal: true

require 'pio/open_flow/message'
require 'pio/open_flow10/match10'
require 'pio/open_flow10/stats_type'

module Pio
  module OpenFlow10
    # OpenFlow 1.0 FlowStats messages
    module FlowStats
      # OpenFlow 1.0 Flow Stats Request message
      class Request < OpenFlow::Message
        open_flow_header version: 1, type: 16, length: 56

        stats_type :stats_type, value: -> { :flow }
        uint16 :flags
        match10 :match
        uint8 :table_id, initial_value: 0xff
        string :padding, length: 1
        hide :padding
        port16 :out_port, initial_value: -> { :none }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.2 lib/pio/open_flow10/flow_stats/request.rb