Sha256: eaaba58d2857b5b78471e3a27ab76a875ac3bbd28de14f771ef50a0c3d6a1138
Contents?: true
Size: 680 Bytes
Versions: 11
Compression:
Stored size: 680 Bytes
Contents
require 'pio' data_dump = [ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xac, 0x5d, 0x10, 0x31, 0x37, 0x79, 0x08, 0x06, 0x00, 0x01, 0x08, 0x00, 0x06, 0x04, 0x00, 0x01, 0xac, 0x5d, 0x10, 0x31, 0x37, 0x79, 0xc0, 0xa8, 0x02, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc0, 0xa8, 0x02, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ].pack('C*') packet_in = Pio::PacketIn.new( transaction_id: 0, buffer_id: 0xffffff00, in_port: 1, reason: :no_match, data: data_dump ) packet_in.to_binary # => Packet-In message in binary format.
Version data entries
11 entries across 11 versions & 1 rubygems