Sha256: 56dc7c1aa8a4a23e8862af657bf1dd8649f782e89016046475cb47b34f0dd564

Contents?: true

Size: 563 Bytes

Versions: 1

Compression:

Stored size: 563 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.2 lib/pio/open_flow13/port32.rb