Sha256: 35b4534ec651fce3e469851495882f907df19090b689ef8db33d7165c5aafae7

Contents?: true

Size: 532 Bytes

Versions: 9

Compression:

Stored size: 532 Bytes

Contents

require 'pio/open_flow/port'

module Pio
  module OpenFlow13
    # Port numbering (32bit).
    class Port32 < OpenFlow::Port
      port_size_in_bytes 32

      max_port_number 0xffffffff00

      reserved_ports(in_port: 0xfffffff8,
                     table: 0xfffffff9,
                     normal: 0xfffffffa,
                     flood: 0xfffffffb,
                     all: 0xfffffffc,
                     controller: 0xfffffffd,
                     local: 0xfffffffe,
                     any: 0xffffffff)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pio-0.30.1 lib/pio/open_flow13/port32.rb
pio-0.30.0 lib/pio/open_flow13/port32.rb
pio-0.29.0 lib/pio/open_flow13/port32.rb
pio-0.28.1 lib/pio/open_flow13/port32.rb
pio-0.28.0 lib/pio/open_flow13/port32.rb
pio-0.27.2 lib/pio/open_flow13/port32.rb
pio-0.27.1 lib/pio/open_flow13/port32.rb
pio-0.27.0 lib/pio/open_flow13/port32.rb
pio-0.26.0 lib/pio/open_flow13/port32.rb